From 150abf50e62fb609a600b3909632a1cc2bbbac6b Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Sun, 12 Apr 2026 17:14:23 -0700 Subject: [PATCH 1/2] Updated omc image to 1.26.3 (maint_11.x) This updates the OpenModelica image --- .travis.yml | 2 +- .../Resources/Scripts/BuildingsPy/conf.yml | 78 +++++++++++++++---- 2 files changed, 62 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce3e976f2a5..0b79125196d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ env: global: - DOCKER_REPONAME=lbnlblum - BUILDINGSPY_VERSION=BuildingsPy@v5.2.0 - - OMC_VERSION=ubuntu-2204-omc:1.24.0-1 + - OMC_VERSION=ubuntu-2404-omc:1.26.3-1 - OPTIMICA_VERSION=travis-ubuntu-2404-optimica:1.66 - DYMOLA_VERSION=travis_ubuntu-2004_dymola:2024xRefresh1-x86_64 - ENERGYPLUS_9_6_0=EnergyPlus-9.6.0-f420c06a69-Linux-Ubuntu20.04-x86_64 diff --git a/Buildings/Resources/Scripts/BuildingsPy/conf.yml b/Buildings/Resources/Scripts/BuildingsPy/conf.yml index 47a9ff4f42b..2dda401605b 100644 --- a/Buildings/Resources/Scripts/BuildingsPy/conf.yml +++ b/Buildings/Resources/Scripts/BuildingsPy/conf.yml @@ -1,3 +1,7 @@ +- model_name: Buildings.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Winter + openmodelica: + comment: 'TimeoutExpired: omc timed out after 300 seconds' + time_out: 600 - model_name: Buildings.Airflow.Multizone.Examples.PressurizationData optimica: comment: High solver tolerance required to avoid time out. @@ -27,14 +31,19 @@ simulate: false - model_name: Buildings.DHC.Examples.Cooling.ElectricChillersDirectETS openmodelica: - comment: simulation terminated by an assertion at initialization - simulate: false + comment: translation failed on travis + translate: false optimica: comment: 'FMUException: Failed to update the events at time: 1.578082E+07.' simulate: false +- model_name: Buildings.DHC.Examples.Steam.SingleBoiler + openmodelica: + comment: Timeout after 600 s + simulate: false - model_name: Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries openmodelica: - comment: 'simulation terminated by an assertion at initialization, Invalid root: (0)^(-1.5), corrected in OMC 1.23.0~dev-206-g00d3636' + comment: 'simulation terminated by an assertion at initialization, Invalid root: + (0)^(-1.5), corrected in OMC 1.23.0~dev-206-g00d3636' simulate: false - model_name: Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop openmodelica: @@ -42,11 +51,13 @@ simulate: false - model_name: Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2 openmodelica: - comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_translate.mos'']'' returned non-zero exit status 2.' + comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_translate.mos'']'' + returned non-zero exit status 2.' translate: false - model_name: Buildings.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl openmodelica: - comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl_translate.mos'']'' returned non-zero exit status 2.' + comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl_translate.mos'']'' + returned non-zero exit status 2.' translate: false - model_name: Buildings.DHC.Loads.Combined.Examples.BuildingTimeSeriesWithETS openmodelica: @@ -66,11 +77,12 @@ simulate: false - model_name: Buildings.DHC.Networks.Examples.Distribution1PipeExample openmodelica: - comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.DHC.Networks.Examples.Distribution1PipeExample_translate.mos'']'' returned non-zero exit status 2.' + comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.DHC.Networks.Examples.Distribution1PipeExample_translate.mos'']'' + returned non-zero exit status 2.' translate: false - model_name: Buildings.DHC.Networks.Examples.Distribution2PipeExample openmodelica: - comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.DHC.Networks.Examples.Distribution2PipeExample_translate.mos'']'' returned non-zero exit status 2.' + comment: translation fails translate: false - model_name: Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage dymola: @@ -80,6 +92,10 @@ simulate: false optimica: time_out: 900 +- model_name: Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerHeatRecoveryGroup + openmodelica: + comment: simulation terminated by an assertion at initialization. + simulate: false - model_name: Buildings.DHC.Plants.Combined.Validation.AllElectricCWStorage optimica: time_out: 600 @@ -131,8 +147,14 @@ comment: Times out after 900 seconds. time_out: 900 optimica: - comment: Fails with 'The rootfinding function failed in an unrecoverable manner.' Since oct-r26446 + comment: Fails with 'The rootfinding function failed in an unrecoverable manner.' + Since oct-r26446 simulate: false +- model_name: Buildings.Examples.VAVReheat.ASHRAE2006 + openmodelica: + comment: 'TimeoutExpired: Command ''[''omc'', ''Buildings.Examples.VAVReheat.ASHRAE2006_simulate.mos'']'' + timed out after 300 seconds' + time_out: 600 - model_name: Buildings.Examples.VAVReheat.Guideline36 openmodelica: comment: Timeout during translation @@ -171,6 +193,16 @@ openmodelica: comment: timed out after 300 seconds simulate: false +- model_name: Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe + openmodelica: + comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe_simulate.mos'']'' + returned non-zero exit status 255.' + simulate: false +- model_name: Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes + openmodelica: + comment: 'CalledProcessError: Command ''[''omc'', ''Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes_simulate.mos'']'' + returned non-zero exit status 255.' + simulate: false - model_name: Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit openmodelica: comment: Assertion due to what looks like wrong results, see https://github.com/lbl-srg/modelica-buildings/issues/3687 @@ -195,20 +227,26 @@ optimica: comment: Timeout after 300 s time_out: 600 +- model_name: Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 + openmodelica: + comment: Translation failed. See https://github.com/OpenModelica/OpenModelica/issues/14791 + translate: false - model_name: Buildings.Fluid.HeatPumps.ModularReversible.Examples.LargeScaleWaterToWater_OneRoomRadiator openmodelica: comment: simulation terminated by an assertion at initialization. simulate: false - model_name: Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.DecouplingMixing openmodelica: - comment: Timeout after 600 s on travis, https://app.travis-ci.com/github/lbl-srg/modelica-buildings/jobs/600714398#L489 + comment: Timeout after 300 s. See also OpenModelica, issue 13341 simulate: false optimica: - comment: 'CVodeError: ''The rootfinding function failed in an unrecoverable manner. At time 32392.196613.''' + comment: 'CVodeError: ''The rootfinding function failed in an unrecoverable manner. + At time 32392.196613.''' simulate: false - model_name: Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.DiversionOpenLoop optimica: - comment: 'The following equation(s) could not be matched to any variable: isEna.u = loa.ctl.cha.pre_u_start, isEna.u = loa1.ctl.cha.pre_u_start' + comment: 'The following equation(s) could not be matched to any variable: isEna.u + = loa.ctl.cha.pre_u_start, isEna.u = loa1.ctl.cha.pre_u_start' translate: false - model_name: Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve openmodelica: @@ -216,15 +254,18 @@ simulate: false - model_name: Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn optimica: - comment: 'The following equation(s) could not be matched to any variable: loaOpe.mode = loaOpe.loa.ctl.cha.pre_u_start...' + comment: 'The following equation(s) could not be matched to any variable: loaOpe.mode + = loaOpe.loa.ctl.cha.pre_u_start...' translate: false - model_name: Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.ThrottleOpenLoop optimica: - comment: 'The following equation(s) could not be matched to any variable: con.mode = loa.ctl.cha.pre_u_start, con.mode = loa1.ctl.cha.pre_u_start' + comment: 'The following equation(s) could not be matched to any variable: con.mode + = loa.ctl.cha.pre_u_start, con.mode = loa1.ctl.cha.pre_u_start' translate: false - model_name: Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.SingleMixingOpenLoop optimica: - comment: 'The following equation(s) could not be matched to any variable: con.mode = loa.ctl.cha.pre_u_start, con.mode = loa1.ctl.cha.pre_u_start' + comment: 'The following equation(s) could not be matched to any variable: con.mode + = loa.ctl.cha.pre_u_start, con.mode = loa1.ctl.cha.pre_u_start' translate: false - model_name: Buildings.Obsolete.Examples.VAVReheat.Validation.Guideline36SteadyState openmodelica: @@ -279,7 +320,8 @@ simulate: false - model_name: Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary openmodelica: - comment: Failed to copy array. Dimension sizes are not equal and destination array is not flexible. + comment: Failed to copy array. Dimension sizes are not equal and destination array + is not flexible. simulate: false - model_name: Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyExteriorWallNoWindow openmodelica: @@ -287,7 +329,8 @@ simulate: false - model_name: Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary openmodelica: - comment: Failed to copy array. Dimension sizes are not equal and destination array is not flexible. + comment: Failed to copy array. Dimension sizes are not equal and destination array + is not flexible. simulate: false - model_name: Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection dymola: @@ -404,7 +447,8 @@ simulate: false - model_name: Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 openmodelica: - comment: Inputs differ by more than threShold. Check output 'satisfied' for when violation(s) happened. Segmentation fault (core dumped) + comment: Inputs differ by more than threShold. Check output 'satisfied' for when + violation(s) happened. Segmentation fault (core dumped) simulate: false - model_name: Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter openmodelica: From 31de3d20bbe2b6278422f3aaf9d72146ef2b4432 Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Tue, 14 Apr 2026 05:52:00 -0700 Subject: [PATCH 2/2] Updated exclude list for OpenModelica --- Buildings/Resources/Scripts/BuildingsPy/conf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Buildings/Resources/Scripts/BuildingsPy/conf.yml b/Buildings/Resources/Scripts/BuildingsPy/conf.yml index 2dda401605b..84efa14b8e8 100644 --- a/Buildings/Resources/Scripts/BuildingsPy/conf.yml +++ b/Buildings/Resources/Scripts/BuildingsPy/conf.yml @@ -422,7 +422,7 @@ - model_name: Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SmallOffice.Guideline36Winter openmodelica: comment: Timeout on travis - time_out: 600 + simulate: false - model_name: Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SmallOffice.IdealHeatingCoolingSpring openmodelica: comment: returned non-zero exit status 255.