Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001335/0.001335, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001471/0.001471, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.619/2.619, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 8 kB / 0.8707 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7314, allocations: 153.6 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2666/0.9981, allocations: 239.4 MB / 1.255 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6229/1.621, allocations: 17.12 MB / 1.271 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003852/1.625, allocations: 64.94 kB / 1.271 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005616/1.631, allocations: 1.649 MB / 1.273 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01821/1.649, allocations: 4.944 MB / 1.278 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009256/1.658, allocations: 2.195 MB / 1.28 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01249/1.671, allocations: 4.402 MB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00518/1.676, allocations: 1.942 MB / 1.286 GB, free: 23.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007117/1.683, allocations: 2.27 MB / 1.288 GB, free: 23.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005141/1.688, allocations: 1.715 MB / 1.29 GB, free: 23.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000975/1.689, allocations: 160 kB / 1.29 GB, free: 23.64 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009931/1.699, allocations: 2.428 MB / 1.293 GB, free: 23.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002211/1.701, allocations: 1.046 MB / 1.294 GB, free: 23.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002059/1.703, allocations: 0.6695 MB / 1.294 GB, free: 23.61 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007076/1.711, allocations: 4.073 MB / 1.298 GB, free: 23.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.711, allocations: 0 / 1.298 GB, free: 23.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/1.711, allocations: 0 / 1.298 GB, free: 23.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001196/1.711, allocations: 0 / 1.298 GB, free: 23.3 MB / 1.014 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.008687/1.719, allocations: 3.457 MB / 1.302 GB, free: 21.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.719, allocations: 11.77 kB / 1.302 GB, free: 21.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006217/1.726, allocations: 0.93 MB / 1.303 GB, free: 21.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/1.729, allocations: 1.782 MB / 1.304 GB, free: 21.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.729, allocations: 196.5 kB / 1.304 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/1.73, allocations: 264.9 kB / 1.305 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/1.735, allocations: 3.3 MB / 1.308 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/1.735, allocations: 6.094 kB / 1.308 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/1.735, allocations: 102.4 kB / 1.308 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/1.735, allocations: 138.2 kB / 1.308 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005044/1.74, allocations: 3.479 MB / 1.312 GB, free: 20.78 MB / 1.014 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.01538/1.756, allocations: 12.11 MB / 1.323 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004077/1.76, allocations: 3.492 MB / 1.327 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/1.761, allocations: 1.503 MB / 1.328 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/1.761, allocations: 64.41 kB / 1.328 GB, free: 12.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.568e-06/1.761, allocations: 0 / 1.328 GB, free: 12.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006779/1.768, allocations: 3.864 MB / 1.332 GB, free: 12.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/1.768, allocations: 78.31 kB / 1.332 GB, free: 12.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/1.77, allocations: 1.364 MB / 1.333 GB, free: 12.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/1.771, allocations: 74.2 kB / 1.334 GB, free: 11.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/1.771, allocations: 0.9817 MB / 1.335 GB, free: 11.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008814/1.772, allocations: 0.9412 MB / 1.335 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.772, allocations: 52 kB / 1.335 GB, free: 10.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.772, allocations: 405.5 kB / 1.336 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/1.774, allocations: 1.081 MB / 1.337 GB, free: 10.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/1.776, allocations: 1.336 MB / 1.338 GB, free: 10.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.778, allocations: 1.285 MB / 1.339 GB, free: 10.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.778, allocations: 3.125 kB / 1.339 GB, free: 10.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004591/1.782, allocations: 2.948 MB / 1.342 GB, free: 9.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.782, allocations: 7.656 kB / 1.342 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.782, allocations: 3.281 kB / 1.342 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.782, allocations: 17.47 kB / 1.342 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/1.784, allocations: 0.51 MB / 1.343 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/1.784, allocations: 18.97 kB / 1.343 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/1.788, allocations: 380.6 kB / 1.343 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.788, allocations: 84.39 kB / 1.343 GB, free: 9.57 MB / 1.014 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001596/1.789, allocations: 0.6447 MB / 1.344 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006906/1.79, allocations: 233.4 kB / 1.344 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005296/1.795, allocations: 3.099 MB / 1.347 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.796, allocations: 24.16 kB / 1.347 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.796, allocations: 0 / 1.347 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003985/1.8, allocations: 2.639 MB / 1.35 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.81, allocations: 6.186 MB / 1.356 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.81, allocations: 0 / 1.356 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/1.813, allocations: 0.543 MB / 1.356 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.032e-05/1.813, allocations: 9.219 kB / 1.356 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/1.813, allocations: 63.08 kB / 1.356 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/1.813, allocations: 10.84 kB / 1.356 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.813, allocations: 0 / 1.356 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/1.819, allocations: 4.538 MB / 1.361 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.821, allocations: 0.6158 MB / 1.362 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/1.821, allocations: 50.38 kB / 1.362 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.823, allocations: 234.4 kB / 1.362 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/1.824, allocations: 162.2 kB / 1.362 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.824, allocations: 78.36 kB / 1.362 GB, free: 5.008 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001199/1.825, allocations: 0.9333 MB / 1.363 GB, free: 4.746 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.825, allocations: 0 / 1.363 GB, free: 4.746 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002421/1.827, allocations: 0.98 MB / 1.364 GB, free: 4.629 MB / 1.014 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006864/1.828, allocations: 378.8 kB / 1.364 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004551/1.833, allocations: 2.741 MB / 1.367 GB, free: 4.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.833, allocations: 0 / 1.367 GB, free: 4.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.835, allocations: 1.494 MB / 1.368 GB, free: 3.887 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006825/1.842, allocations: 1.245 MB / 1.37 GB, free: 3.469 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.853, allocations: 7.291 MB / 1.377 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.854, allocations: 1.952 MB / 1.379 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003629/1.858, allocations: 0.8397 MB / 1.379 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007436/1.859, allocations: 209.9 kB / 1.38 GB, free: 11.58 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.859, allocations: 0 / 1.38 GB, free: 11.58 MB / 1.029 GB Notification: Performance of Templates: time 0.07668/1.935, allocations: 45.61 MB / 1.424 GB, free: 14.69 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches