Optimal Programming of In-situ Tests and Inspections for Existing Buildings