Domognostics: A novel solution for reducing energy losses in smart buildings