Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 212.8 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 66.95 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3797, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.328/0.7077, allocations: 262.8 MB / 1.54 GB, free: 4.184 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02816/0.7358, allocations: 15.88 MB / 1.555 GB, free: 4.266 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004285/0.7401, allocations: 107.2 kB / 1.555 GB, free: 4.16 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.746, allocations: 1.795 MB / 1.557 GB, free: 2.355 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01976/0.7658, allocations: 6.735 MB / 1.564 GB, free: 11.59 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009996/0.7758, allocations: 3.008 MB / 1.567 GB, free: 8.586 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01331/0.7891, allocations: 7.814 MB / 1.574 GB, free: 0.75 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00426/0.7933, allocations: 1.943 MB / 1.576 GB, free: 14.75 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008732/0.8021, allocations: 2.916 MB / 1.579 GB, free: 11.82 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006986/0.8091, allocations: 2.742 MB / 1.582 GB, free: 9.078 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.8102, allocations: 328 kB / 1.582 GB, free: 8.758 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01375/0.8239, allocations: 5.075 MB / 1.587 GB, free: 3.668 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.8269, allocations: 1.359 MB / 1.588 GB, free: 2.305 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005415/0.8323, allocations: 1.595 MB / 1.59 GB, free: 0.7031 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01769/0.85, allocations: 6.721 MB / 1.596 GB, free: 9.961 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.85, allocations: 0 / 1.596 GB, free: 9.961 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.374e-06/0.85, allocations: 7.938 kB / 1.596 GB, free: 9.953 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000208/0.8502, allocations: 0 / 1.596 GB, free: 9.953 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.0139/0.8641, allocations: 4.147 MB / 1.6 GB, free: 5.75 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.8642, allocations: 12.03 kB / 1.6 GB, free: 5.738 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006965/0.8711, allocations: 0.9307 MB / 1.601 GB, free: 4.805 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005393/0.8765, allocations: 1.83 MB / 1.603 GB, free: 2.926 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.8767, allocations: 197.1 kB / 1.603 GB, free: 2.73 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007986/0.8775, allocations: 264 kB / 1.604 GB, free: 2.473 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9358/1.813, allocations: 3.731 MB / 1.607 GB, free: 317.8 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-05/1.813, allocations: 8.656 kB / 1.607 GB, free: 317.8 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/1.814, allocations: 108.1 kB / 1.607 GB, free: 317.8 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000215/1.814, allocations: 136.4 kB / 1.607 GB, free: 317.8 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007795/1.822, allocations: 3.466 MB / 1.611 GB, free: 316.9 MB / 1.295 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.01891/1.841, allocations: 7.833 MB / 1.618 GB, free: 313.2 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005111/1.846, allocations: 2.932 MB / 1.621 GB, free: 311.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/1.849, allocations: 1.697 MB / 1.623 GB, free: 311.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009627/1.85, allocations: 218.1 kB / 1.623 GB, free: 311.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/1.85, allocations: 72.25 kB / 1.623 GB, free: 311.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=278): time 5.089e-06/1.85, allocations: 0 / 1.623 GB, free: 311.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=278): time 0.007326/1.857, allocations: 3.891 MB / 1.627 GB, free: 309.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.857, allocations: 84.8 kB / 1.627 GB, free: 309.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/1.859, allocations: 1.284 MB / 1.628 GB, free: 309.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/1.86, allocations: 69.48 kB / 1.628 GB, free: 309.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/1.86, allocations: 1.015 MB / 1.629 GB, free: 308.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008545/1.861, allocations: 0.9877 MB / 1.63 GB, free: 307.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005902/1.862, allocations: 412.6 kB / 1.631 GB, free: 307.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/1.862, allocations: 303.2 kB / 1.631 GB, free: 307.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/1.863, allocations: 1.097 MB / 1.632 GB, free: 306.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/1.865, allocations: 1.358 MB / 1.633 GB, free: 306.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.868, allocations: 2.646 MB / 1.636 GB, free: 305 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.868, allocations: 5.719 kB / 1.636 GB, free: 305 MB / 1.295 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004246/1.872, allocations: 2.977 MB / 1.639 GB, free: 302.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.872, allocations: 11.94 kB / 1.639 GB, free: 302.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.872, allocations: 4 kB / 1.639 GB, free: 302.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/1.873, allocations: 16 kB / 1.639 GB, free: 302.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.875, allocations: 0.5115 MB / 1.64 GB, free: 301.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/1.875, allocations: 15.94 kB / 1.64 GB, free: 301.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/1.877, allocations: 181.4 kB / 1.64 GB, free: 301.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.877, allocations: 87.97 kB / 1.64 GB, free: 301.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001286/1.878, allocations: 0.6355 MB / 1.64 GB, free: 301.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006078/1.879, allocations: 238.4 kB / 1.641 GB, free: 300.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/1.883, allocations: 3.103 MB / 1.644 GB, free: 297.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.883, allocations: 28 kB / 1.644 GB, free: 297.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.883, allocations: 3.844 kB / 1.644 GB, free: 297.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003062/1.886, allocations: 2.651 MB / 1.646 GB, free: 295.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008631/1.895, allocations: 5.45 MB / 1.652 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.895, allocations: 0 / 1.652 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.897, allocations: 0.5461 MB / 1.652 GB, free: 289.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/1.897, allocations: 8 kB / 1.652 GB, free: 289.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/1.897, allocations: 59.98 kB / 1.652 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/1.897, allocations: 8 kB / 1.652 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.897, allocations: 0 / 1.652 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005801/1.903, allocations: 4.582 MB / 1.657 GB, free: 284.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.905, allocations: 0.5315 MB / 1.657 GB, free: 284 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.905, allocations: 51.19 kB / 1.657 GB, free: 283.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.907, allocations: 66.81 kB / 1.657 GB, free: 283.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/1.907, allocations: 173.1 kB / 1.657 GB, free: 283.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.907, allocations: 79.98 kB / 1.658 GB, free: 283.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001023/1.908, allocations: 0.8735 MB / 1.658 GB, free: 282.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.908, allocations: 3.938 kB / 1.658 GB, free: 282.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002182/1.911, allocations: 0.9982 MB / 1.659 GB, free: 281.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.0006147/1.911, allocations: 384.6 kB / 1.66 GB, free: 281.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003635/1.915, allocations: 2.61 MB / 1.662 GB, free: 278.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.915, allocations: 3.844 kB / 1.662 GB, free: 278.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.917, allocations: 1.398 MB / 1.664 GB, free: 277.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/1.922, allocations: 1.28 MB / 1.665 GB, free: 276.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008165/1.93, allocations: 6.079 MB / 1.671 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.931, allocations: 1.347 MB / 1.672 GB, free: 268.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002919/1.934, allocations: 0.8232 MB / 1.673 GB, free: 268.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/1.935, allocations: 203.4 kB / 1.673 GB, free: 267.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.193e-06/1.935, allocations: 0 / 1.673 GB, free: 267.9 MB / 1.295 GB Notification: Performance of Templates: time 0.06843/2.003, allocations: 54.27 MB / 1.726 GB, free: 214.8 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.939478812739253]