Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009641/0.009641, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001822/0.001822, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.729/2.729, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.25 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.109/1.455, allocations: 295.1 MB / 1.376 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02706/1.482, allocations: 17.02 MB / 1.393 GB, free: 5.586 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005041/1.487, allocations: 80.66 kB / 1.393 GB, free: 5.586 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006226/1.493, allocations: 1.973 MB / 1.395 GB, free: 4.992 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01769/1.511, allocations: 6.631 MB / 1.401 GB, free: 2.465 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008659/1.52, allocations: 2.976 MB / 1.404 GB, free: 380 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.531, allocations: 7.721 MB / 1.412 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/1.536, allocations: 2.588 MB / 1.414 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006393/1.542, allocations: 2.853 MB / 1.417 GB, free: 8.785 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00588/1.548, allocations: 2.713 MB / 1.42 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/1.549, allocations: 326.2 kB / 1.42 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/1.564, allocations: 6.189 MB / 1.426 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002537/1.566, allocations: 1.342 MB / 1.427 GB, free: 2.824 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004706/1.571, allocations: 1.881 MB / 1.429 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01682/1.588, allocations: 6.887 MB / 1.436 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.588, allocations: 0 / 1.436 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.236e-06/1.588, allocations: 3.938 kB / 1.436 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002043/1.588, allocations: 3.938 kB / 1.436 GB, free: 11.24 MB / 1.061 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.012/1.6, allocations: 4.135 MB / 1.44 GB, free: 7.035 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.6, allocations: 8.031 kB / 1.44 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006497/1.607, allocations: 0.9055 MB / 1.441 GB, free: 6.117 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/1.611, allocations: 1.924 MB / 1.443 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/1.611, allocations: 193.1 kB / 1.443 GB, free: 3.949 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/1.611, allocations: 256 kB / 1.443 GB, free: 3.699 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005811/1.617, allocations: 3.341 MB / 1.446 GB, free: 264 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/1.617, allocations: 11.98 kB / 1.446 GB, free: 252 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/1.618, allocations: 108 kB / 1.446 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/1.618, allocations: 137 kB / 1.447 GB, free: 4 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006207/1.624, allocations: 3.498 MB / 1.45 GB, free: 12.49 MB / 1.076 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.01764/1.642, allocations: 12.14 MB / 1.462 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005133/1.647, allocations: 3.502 MB / 1.465 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/1.65, allocations: 1.841 MB / 1.467 GB, free: 10.01 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/1.652, allocations: 1.489 MB / 1.469 GB, free: 8.207 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/1.652, allocations: 64.75 kB / 1.469 GB, free: 8.133 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 4.699e-06/1.652, allocations: 0 / 1.469 GB, free: 8.133 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.007169/1.659, allocations: 3.889 MB / 1.472 GB, free: 4.195 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/1.659, allocations: 81.59 kB / 1.472 GB, free: 4.102 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.661, allocations: 1.379 MB / 1.474 GB, free: 2.715 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002567/1.662, allocations: 77.7 kB / 1.474 GB, free: 2.633 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007259/1.662, allocations: 0.9765 MB / 1.475 GB, free: 1.645 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009659/1.663, allocations: 0.9509 MB / 1.476 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000656/1.664, allocations: 408.9 kB / 1.476 GB, free: 280 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.664, allocations: 313 kB / 1.476 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.666, allocations: 1.094 MB / 1.478 GB, free: 14.87 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/1.668, allocations: 1.362 MB / 1.479 GB, free: 13.44 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/1.672, allocations: 2.646 MB / 1.481 GB, free: 10.7 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.672, allocations: 7.938 kB / 1.481 GB, free: 10.69 MB / 1.107 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005301/1.677, allocations: 2.978 MB / 1.484 GB, free: 7.668 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.678, allocations: 8 kB / 1.484 GB, free: 7.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.678, allocations: 4 kB / 1.484 GB, free: 7.656 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/1.678, allocations: 15.98 kB / 1.484 GB, free: 7.641 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/1.68, allocations: 0.5155 MB / 1.485 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.691e-05/1.68, allocations: 16 kB / 1.485 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.682, allocations: 178 kB / 1.485 GB, free: 6.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/1.682, allocations: 83.98 kB / 1.485 GB, free: 6.852 MB / 1.107 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.00131/1.684, allocations: 0.6455 MB / 1.486 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/1.684, allocations: 225.3 kB / 1.486 GB, free: 5.973 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/1.69, allocations: 3.118 MB / 1.489 GB, free: 2.797 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/1.69, allocations: 32 kB / 1.489 GB, free: 2.766 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.69, allocations: 0 / 1.489 GB, free: 2.766 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004093/1.694, allocations: 2.653 MB / 1.492 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.704, allocations: 6.205 MB / 1.498 GB, free: 9.734 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.704, allocations: 7.984 kB / 1.498 GB, free: 9.727 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/1.707, allocations: 0.5423 MB / 1.498 GB, free: 9.184 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/1.707, allocations: 8 kB / 1.498 GB, free: 9.176 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/1.707, allocations: 63.91 kB / 1.498 GB, free: 9.113 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/1.707, allocations: 12 kB / 1.498 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.707, allocations: 0 / 1.498 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00732/1.714, allocations: 4.569 MB / 1.503 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.716, allocations: 0.6071 MB / 1.503 GB, free: 3.82 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/1.716, allocations: 63.92 kB / 1.503 GB, free: 3.758 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.718, allocations: 66.36 kB / 1.504 GB, free: 3.695 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/1.718, allocations: 161.9 kB / 1.504 GB, free: 3.535 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.719, allocations: 79.98 kB / 1.504 GB, free: 3.457 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001388/1.72, allocations: 0.9423 MB / 1.505 GB, free: 2.52 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.51e-07/1.72, allocations: 0 / 1.505 GB, free: 2.52 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002362/1.722, allocations: 0.9823 MB / 1.506 GB, free: 1.535 MB / 1.123 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.0006765/1.723, allocations: 366.6 kB / 1.506 GB, free: 1.164 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004543/1.728, allocations: 2.782 MB / 1.509 GB, free: 14.35 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.728, allocations: 0 / 1.509 GB, free: 14.35 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/1.73, allocations: 1.511 MB / 1.51 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006108/1.736, allocations: 1.344 MB / 1.512 GB, free: 11.52 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.747, allocations: 6.014 MB / 1.517 GB, free: 5.457 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.749, allocations: 1.899 MB / 1.519 GB, free: 3.52 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003078/1.752, allocations: 0.8436 MB / 1.52 GB, free: 2.672 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/1.752, allocations: 203.4 kB / 1.52 GB, free: 2.473 MB / 1.139 GB Notification: Performance of SimCode: time 1.232e-06/1.752, allocations: 0 / 1.52 GB, free: 2.473 MB / 1.139 GB Notification: Performance of Templates: time 0.08215/1.835, allocations: 50.21 MB / 1.569 GB, free: 0.8281 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches