Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001993/0.001994, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002459/0.002459, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.91 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.68, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2352/0.9153, allocations: 201.9 MB / 1.214 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.9266, allocations: 6.455 MB / 1.22 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.9279, allocations: 31.81 kB / 1.22 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.9298, allocations: 0.6337 MB / 1.221 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.936, allocations: 2.525 MB / 1.223 GB, free: 14.45 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.001828/0.9378, allocations: 0.656 MB / 1.224 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005855/0.9437, allocations: 4.838 MB / 1.229 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.9452, allocations: 0.9554 MB / 1.23 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.9477, allocations: 1.078 MB / 1.231 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.9502, allocations: 1.141 MB / 1.232 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.9504, allocations: 68 kB / 1.232 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005843/0.9563, allocations: 2.735 MB / 1.234 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.9571, allocations: 474.6 kB / 1.235 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.9583, allocations: 0.6728 MB / 1.236 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005203/0.9635, allocations: 2.89 MB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.9635, allocations: 0 / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9635, allocations: 3.938 kB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.9635, allocations: 4 kB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004236/0.9678, allocations: 1.757 MB / 1.24 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9678, allocations: 15.98 kB / 1.24 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.9702, allocations: 350.1 kB / 1.24 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.9716, allocations: 0.8428 MB / 1.241 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/0.9717, allocations: 70.02 kB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.9719, allocations: 108 kB / 1.241 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.974, allocations: 1.187 MB / 1.243 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.974, allocations: 4 kB / 1.243 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.9741, allocations: 51.98 kB / 1.243 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/0.9742, allocations: 66 kB / 1.243 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.9763, allocations: 1.242 MB / 1.244 GB, free: 9.07 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008951/0.9852, allocations: 5.073 MB / 1.249 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.9877, allocations: 1.153 MB / 1.25 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.9889, allocations: 0.5029 MB / 1.251 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-05/0.989, allocations: 24.78 kB / 1.251 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.9902, allocations: 484.2 kB / 1.251 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 4.689e-06/0.9902, allocations: 0 / 1.251 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.00344/0.9937, allocations: 1.161 MB / 1.252 GB, free: 132 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.9938, allocations: 60.06 kB / 1.252 GB, free: 60 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.586/1.58, allocations: 0.5732 MB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001935/1.58, allocations: 41.27 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/1.58, allocations: 460.1 kB / 1.253 GB, free: 235 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/1.581, allocations: 271.9 kB / 1.253 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/1.581, allocations: 126.9 kB / 1.254 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.581, allocations: 385.5 kB / 1.254 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/1.582, allocations: 334.9 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/1.582, allocations: 446.5 kB / 1.255 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.584, allocations: 0.8319 MB / 1.256 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.584, allocations: 0.6562 kB / 1.256 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001762/1.585, allocations: 0.9339 MB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.585, allocations: 5.531 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.585, allocations: 3.594 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/1.585, allocations: 10.02 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/1.586, allocations: 155.4 kB / 1.257 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.586, allocations: 6.906 kB / 1.257 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.587, allocations: 160.4 kB / 1.257 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/1.587, allocations: 28 kB / 1.257 GB, free: 233.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005796/1.588, allocations: 334.8 kB / 1.257 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/1.588, allocations: 80.95 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/1.588, allocations: 112.8 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.588, allocations: 7.906 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.588, allocations: 1.469 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/1.59, allocations: 1.09 MB / 1.258 GB, free: 232.1 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/1.594, allocations: 2.301 MB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.594, allocations: 1.984 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/1.595, allocations: 175.8 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/1.595, allocations: 3.859 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/1.595, allocations: 20.09 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/1.595, allocations: 7.062 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.595, allocations: 0.875 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.597, allocations: 1.353 MB / 1.262 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/1.597, allocations: 248.1 kB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.598, allocations: 17.17 kB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/1.598, allocations: 107.2 kB / 1.263 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.599, allocations: 42.81 kB / 1.263 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.654e-05/1.599, allocations: 23.23 kB / 1.263 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007308/1.599, allocations: 415.9 kB / 1.263 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.599, allocations: 0 / 1.263 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001538/1.601, allocations: 366.1 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003283/1.601, allocations: 186.5 kB / 1.263 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.603, allocations: 0.796 MB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.603, allocations: 1.031 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007585/1.604, allocations: 428.2 kB / 1.265 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.606, allocations: 0.5613 MB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/1.61, allocations: 2.634 MB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/1.611, allocations: 1.138 MB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00118/1.612, allocations: 273.3 kB / 1.269 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.612, allocations: 72.55 kB / 1.269 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.612, allocations: 0 / 1.269 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03012/1.642, allocations: 18.25 MB / 1.287 GB, free: 218.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches