lbl-srg / obc

OpenBuildingControl - Performance Evaluation, Specification, Deployment and Verification of Building Control Sequences
http://obc.lbl.gov
26 stars 14 forks source link

Issue92 case study full hvac #104

Closed karthikeyad-pnnl closed 2 years ago

karthikeyad-pnnl commented 2 years ago

@mwetter: Hi Michael,

I committed some additional changes to resolve the simulation errors we observed. This should hopefully take care of them all.

Thanks, Karthik

mwetter commented 2 years ago

@karthikeyad-pnnl : Do you need these files:

A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/DRYCOLD.TMY (8760)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/DRYCOLD.mos (8800)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_AK_Fairbanks.702610_TMY2.mos.html (8800)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_AK_Fairbanks.Intl.AP.702610_TMY3.epw (8768)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_AK_Fairbanks.Intl.AP.702610_TMY3.mos (8800)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw (8768)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos (8800)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_GA_Atlanta-Hartsfield-Jackson.Intl.AP.722190_TMY3.mos.html (8803)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_GA_Atlanta-Hartsfield.Jackson.Intl.AP.722190_TMY3.epw (8768)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_GA_Atlanta-Hartsfield.Jackson.Intl.AP.722190_TMY3.mos (8800)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw (8768)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos (8800)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.mos (8800)
A examples/case_study_4_fullHVAC/SystemModel/Resources/weatherdata/step_test.epw (8768)

If not, can you please remove them from the PR so they don't increase the repository size.

Please also note https://github.com/lbl-srg/obc/pull/104/files#diff-3dbb14210c0fc181de96a48f4807fdf2cfb2e13807a6a69670a3f60483b38696R75 which should be Chicago, not Buffalo.

karthikeyad-pnnl commented 2 years ago

@mwetter: Hi Michael,

I uploaded the changed boiler plant control sequences after the latest CDL updates. I have also changed all weather file references to use the weather data from the Buildings library, and then removed all the weather files from the OBC repo. I was able to run the boiler plant simulation from SystemModel.BoilerPlant.Validation.Systemand resolved most of the translation errors in pedantic mode, except for errors related to the fluid ports being public and being neither input nor output. I would like your guidance on resolving the same. The simulation runs to completion when pedantic mode is disabled.

Thanks, Karthik

mwetter commented 2 years ago

@karthikeyad-pnnl : I get many errors when running the tests. Can you please resolve them and then we can focus on the ones regarding the fluid ports. To test the code, I run

git checkout -b karthikeyad-pnnl-issue92_caseStudyFullHVAC issue92_caseStudyFullHVAC
git pull https://github.com/karthikeyad-pnnl/obc.git issue92_caseStudyFullHVAC
cd case_study_4_fullHVAC

and then

$ ./install.sh
... [output not shown]

$ export MODELICAPATH= [see output of install.sh command]
$ export PYTHONPATH= [see output of install.sh command]

and then

$ cd SystemModel
SystemModel$ ../bin/runUnitTests.py -n 20 -b 
Number of models   : 54
          blocks   : 56
          functions: 0
Using 20 of 48 processors to run unit tests for dymola.
Generated 46 regression tests.

*** Warning: File not found in 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Submodels/BoilerPlantControls/SetPoints/Validation/HotWaterSupplyTemperatureReset.mos");'.

*** Error: Simulation failed for 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Validation/System.mos");'.
*** Warning: Unspecified initial conditions in 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Validation/System.mos");'.

*** Error: Model check failed for 'SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Generic.Validation.PlantDisable'.
*** Error: Simulation failed for 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Submodels/BoilerPlantControls/Generic/Validation/PlantDisable.mos");'.
*** Error: Model check failed for 'SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.SetPoints.Subsequences.Validation.Change'.
*** Error: Simulation failed for 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Submodels/BoilerPlantControls/Staging/SetPoints/Subsequences/Validation/Change.mos");'.
*** Warning: File not found in 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Submodels/BoilerPlantControls/BypassValve/Validation/BypassValvePosition.mos");'.

*** Error: Model check failed for 'SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.Generic.Validation.ChangeStatus'.
*** Error: Simulation failed for 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Submodels/BoilerPlantControls/Pumps/Generic/Validation/ChangeStatus.mos");'.
*** Error: Model check failed for 'SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.PrimaryPumps.Subsequences.Validation.EnableLag_headered'.
*** Error: Simulation failed for 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Submodels/BoilerPlantControls/Pumps/PrimaryPumps/Subsequences/Validation/EnableLag_headered.mos");'.
*** Warning: Invalid connect statements in 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Submodels/BoilerPlantControls/Pumps/PrimaryPumps/Subsequences/Validation/EnableLag_headered.mos");'.

Number of models that failed check                           : 4
Number of models that failed to simulate                     : 5
Check or simulation failed, see failed-simulator-dymola.log for more details about the failed models.
*** Error: IOError while reading /tmp/tmp-SystemModel-3-mep1bszz/SystemModel/SystemModel.BoilerPlant.Validation.System.mat generated by BoilerPlant/Validation/System.mos.
File /tmp/tmp-SystemModel-3-mep1bszz/SystemModel/SystemModel.BoilerPlant.Validation.System.mat does not exist.

*** Error: IOError while reading /tmp/tmp-SystemModel-4-b2zhkjfr/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Generic.Validation.PlantDisable.mat generated by BoilerPlant/Submodels/BoilerPlantControls/Generic/Validation/PlantDisable.mos.
File /tmp/tmp-SystemModel-4-b2zhkjfr/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Generic.Validation.PlantDisable.mat does not exist.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Generic_Validation_PlantEnable.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Generic_Validation_PlantEnable.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Generic_Subsequences_Validation_HWIsoVal.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Generic_Subsequences_Validation_HWIsoVal.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_Generic_Validation_Speed_remoteDp.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_Generic_Validation_Speed_remoteDp.txt.
*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/Generic/Validation/Speed_localDp.mos uses hotPumSpe.pumSpe.f1 which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.Generic.Validation.Speed_localDp.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/Generic/Validation/Speed_localDp.mos uses hotPumSpe.pumSpe.f2 which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.Generic.Validation.Speed_localDp.mat.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_Generic_Validation_Speed_localDp.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_Generic_Validation_Speed_localDp.txt.
*** Error: IOError while reading /tmp/tmp-SystemModel-9-y5og2mwn/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.Generic.Validation.ChangeStatus.mat generated by BoilerPlant/Submodels/BoilerPlantControls/Pumps/Generic/Validation/ChangeStatus.mos.
File /tmp/tmp-SystemModel-9-y5og2mwn/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.Generic.Validation.ChangeStatus.mat does not exist.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/SecondaryPumps/Validation/Controller.mos uses secPumCon.yPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.SecondaryPumps.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/SecondaryPumps/Validation/Controller.mos uses secPumCon1.yPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.SecondaryPumps.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/SecondaryPumps/Validation/Controller.mos uses secPumCon2.yPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.SecondaryPumps.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/SecondaryPumps/Validation/Controller.mos uses secPumCon2.yPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.SecondaryPumps.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/SecondaryPumps/Validation/Controller.mos uses secPumCon3.yPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.SecondaryPumps.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Pumps/SecondaryPumps/Validation/Controller.mos uses secPumCon3.yPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.SecondaryPumps.Validation.Controller.mat.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Validation_Controller.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Validation_Controller.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Subsequences_Validation_EnableLag_flowrate.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Subsequences_Validation_EnableLag_flowrate.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Subsequences_Validation_EnableLag_pumpSpeed.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Subsequences_Validation_EnableLag_pumpSpeed.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Subsequences_Validation_EnableLead.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_SecondaryPumps_Subsequences_Validation_EnableLead.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Validation_Controller.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Validation_Controller.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_Speed_temperature.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_Speed_temperature.txt.
*** Error: IOError while reading /tmp/tmp-SystemModel-16-07owv44a/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.PrimaryPumps.Subsequences.Validation.EnableLag_headered.mat generated by BoilerPlant/Submodels/BoilerPlantControls/Pumps/PrimaryPumps/Subsequences/Validation/EnableLag_headered.mos.
File /tmp/tmp-SystemModel-16-07owv44a/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Pumps.PrimaryPumps.Subsequences.Validation.EnableLag_headered.mat does not exist.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_EnableLead_dedicated.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_EnableLead_dedicated.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_Speed_flow.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_Speed_flow.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_EnableLead_headered.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Pumps_PrimaryPumps_Subsequences_Validation_EnableLead_headered.txt.
*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Validation/Controller.mos uses controller.yPriPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Validation/Controller.mos uses controller1.yPriPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Validation/Controller.mos uses controller1.ySecPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Validation/Controller.mos uses controller2.yPriPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Validation.Controller.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Validation/Controller.mos uses controller2.ySecPumSpe[1] which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Validation.Controller.mat.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Validation_Controller.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Validation_Controller.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Validation_SetpointController.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Validation_SetpointController.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_FailsafeCondition.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_FailsafeCondition.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Configurator.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Configurator.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_BoilerIndices.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_BoilerIndices.txt.
*** Error: IOError while reading /tmp/tmp-SystemModel-5-ytvpwmdu/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.SetPoints.Subsequences.Validation.Change.mat generated by BoilerPlant/Submodels/BoilerPlantControls/Staging/SetPoints/Subsequences/Validation/Change.mos.
File /tmp/tmp-SystemModel-5-ytvpwmdu/SystemModel/SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.SetPoints.Subsequences.Validation.Change.mat does not exist.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_EfficiencyCondition.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_EfficiencyCondition.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_CapacityRequirement.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_CapacityRequirement.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Capacities.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Capacities.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Down.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Down.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Status.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Status.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Up.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_SetPoints_Subsequences_Validation_Up.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Validation_Down.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Validation_Down.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Validation_Up.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Validation_Up.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_DisableBoiler.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_DisableBoiler.txt.
*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Staging/Processes/Subsequences/Validation/NextBoiler.mos uses nexBoi.uInPro which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.Processes.Subsequences.Validation.NextBoiler.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Staging/Processes/Subsequences/Validation/NextBoiler.mos uses nexBoi1.uInPro which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.Processes.Subsequences.Validation.NextBoiler.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Staging/Processes/Subsequences/Validation/NextBoiler.mos uses nexBoi2.uInPro which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.Processes.Subsequences.Validation.NextBoiler.mat.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_NextBoiler.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_NextBoiler.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_ResetMinBypass.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_ResetMinBypass.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_EnableBoiler.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_EnableBoiler.txt.
*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Staging/Processes/Subsequences/Validation/HWIsoVal.mos uses enaHotIsoVal.uStaCha which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.Processes.Subsequences.Validation.HWIsoVal.mat.

*** Warning: BoilerPlant/Submodels/BoilerPlantControls/Staging/Processes/Subsequences/Validation/HWIsoVal.mos uses disHotIsoVal.uStaCha which does not exist in SystemModel.BoilerPlant.Submodels.BoilerPlantControls.Staging.Processes.Subsequences.Validation.HWIsoVal.mat.

*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_HWIsoVal.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_HWIsoVal.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_ResetHotWaterSupplyTemperature.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_Staging_Processes_Subsequences_Validation_ResetHotWaterSupplyTemperature.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Validation_CondensationControl.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Validation_CondensationControl.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Validation_HotWaterSupplyTemperatureReset.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Validation_HotWaterSupplyTemperatureReset.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Validation_MinimumFlowSetPoint.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Validation_MinimumFlowSetPoint.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Subsequences_Validation_PumpSpeedLimits.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Subsequences_Validation_PumpSpeedLimits.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Subsequences_Validation_ProportionalRegulator.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_SetPoints_Subsequences_Validation_ProportionalRegulator.txt.
*** Warning: Reference file SystemModel_BoilerPlant_Submodels_BoilerPlantControls_BypassValve_Validation_BypassValvePosition.txt does not yet exist.
*** Error: Did not write new reference file /home/mwetter/proj/doe/obc/lbl-srg/obc/examples/case_study_4_fullHVAC/SystemModel/Resources/ReferenceResults/Dymola/SystemModel_BoilerPlant_Submodels_BoilerPlantControls_BypassValve_Validation_BypassValvePosition.txt.
Comparison files output by funnel are stored in the directory 'funnel_comp' of size 0.3 MB.
Run 'python -c "import buildingspy.development.regressiontest as t; t.Tester(tool=\"dymola\").report()"'
to access a summary of the comparison results.

Number of models with unspecified initial conditions         : 1

Number of models with invalid connect statements             : 1

Number of models with file not found                         : 2

Script that runs unit tests had 22 warnings and 52 errors.

See 'simulator-dymola.log' for details.
Execution time = 107.206 s
karthikeyad-pnnl commented 2 years ago

@mwetter : I have updated the models to resolve the issues you had identified during unit tests, except for the errors caused by interfaces. Attaching the unit test results after changes here. Also attaching error report for one model that failed.

Regression tests are only run for the following package:
  SystemModel.BoilerPlant
*** Error: Simulation failed for 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Validation/System.mos");'.
*** Warning: Unspecified initial conditions in 'RunScript("Resources/Scripts/Dymola/BoilerPlant/Validation/System.mos");'.

*** Error: IOError while reading /tmp/tmp-SystemModel-0-dabfvc52/SystemModel/SystemModel.BoilerPlant.Validation.System.mat generated by BoilerPlant$File /tmp/tmp-SystemModel-0-dabfvc52/SystemModel/SystemModel.BoilerPlant.Validation.System.mat does not exist.

Comparison files output by funnel are stored in the directory 'funnel_comp' of size 4.6 MB.
Run 'python -c "import buildingspy.development.regressiontest as t; t.Tester(tool=\"dymola\").report()"'
to access a summary of the comparison results.

Script that runs unit tests had 1 warnings and 2 errors.

failed-simulator-dymola.log

karthikeyad-pnnl commented 2 years ago

@mwetter: Submitted PR #118 to merge final unit test file