This paper presents an ontology for AFDD (Automated Fault Detection and Diagnostics) of HVAC (Heating, Ventilation, and Air conditioning) systems in buildings called “AFDDOnto”. Presently, the AFDD models are mainly data-centric and often lack semantic information such as contextual information and spatial information; additionally, configuration information, analysis, and results used for model development are lost once developed. This impedes an effective mechanism for tracking changes and updating the model for future developments and use cases. The Proposed ontology can be used for AFDD model development, tracking changes, analytics, visualization, and digital twinning by enabling integration of BIM with BAS/BMS (Building Automation System/Building Management System) concepts and secondly to store AFDD configuration and analytics in the AFDDOnto. Select competency questions are constructed using SPARQL queries to access the proposed knowledge model. The proposed ontology has been tested against different measures using multiple metrics and a case study and further validated using a semi-structured survey of experts. Applied AI engineers, Facility managers, Asset managers, and building owners aiming to develop AFDD models for HVAC systems can benefit from adopting this ontology for HVAC maintenance, including analysis, model development, and knowledge management.