Building energy code enforcement