Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 110.1 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 188.2 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.356/2.356, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.026e-05, allocations: 2.281 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7173/0.7174, allocations: 204.2 MB / 1.254 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.7278, allocations: 6.373 MB / 1.26 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.7292, allocations: 43.81 kB / 1.26 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.7311, allocations: 0.7226 MB / 1.261 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006339/0.7375, allocations: 2.684 MB / 1.264 GB, free: 0.7969 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.7393, allocations: 0.7038 MB / 1.264 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003768/0.7431, allocations: 3.256 MB / 1.267 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.7444, allocations: 1.121 MB / 1.269 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.7469, allocations: 1.218 MB / 1.27 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.749, allocations: 0.9421 MB / 1.271 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.7492, allocations: 112 kB / 1.271 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005193/0.7544, allocations: 2.248 MB / 1.273 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.00236/0.7568, allocations: 2.106 MB / 1.275 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.001048/0.7578, allocations: 1.328 MB / 1.276 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.7583, allocations: 195.5 kB / 1.277 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0004392/0.7587, allocations: 27.88 kB / 1.277 GB, free: 3.488 MB / 0.9825 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(abs(1.0 - zonFlo.rho_default / ((Buildings.Airflow.Multizone.Examples.ZonalFlow.zonFlo.Medium.density(zonFlo.sta_a1_inflow) + Buildings.Airflow.Multizone.Examples.ZonalFlow.zonFlo.Medium.density(zonFlo.sta_a2_inflow)) / 2.0)) < 0.2, "Wrong density. Densities need to match.", AssertionLevel.error)