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.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.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.001369/0.001369, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001228/0.001228, allocations: 187 kB / 17.34 MB, free: 5.742 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.431/2.431, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6655, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2732/0.9387, allocations: 295.1 MB / 1.497 GB, free: 5.414 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.9603, allocations: 17.01 MB / 1.513 GB, free: 4.359 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.9632, allocations: 83.56 kB / 1.513 GB, free: 4.277 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.9676, allocations: 1.896 MB / 1.515 GB, free: 2.371 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.9817, allocations: 6.432 MB / 1.521 GB, free: 11.91 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00703/0.9888, allocations: 2.943 MB / 1.524 GB, free: 8.969 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.009027/0.9978, allocations: 7.707 MB / 1.532 GB, free: 1.238 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003722/1.002, allocations: 2.587 MB / 1.534 GB, free: 14.6 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/1.007, allocations: 2.811 MB / 1.537 GB, free: 11.78 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004936/1.012, allocations: 2.702 MB / 1.54 GB, free: 9.078 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0009697/1.013, allocations: 324 kB / 1.54 GB, free: 8.762 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/1.024, allocations: 6.169 MB / 1.546 GB, free: 2.578 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001845/1.026, allocations: 1.34 MB / 1.547 GB, free: 1.234 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003837/1.03, allocations: 1.883 MB / 1.549 GB, free: 15.34 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/1.042, allocations: 6.884 MB / 1.556 GB, free: 8.441 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.042, allocations: 0 / 1.556 GB, free: 8.441 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.242e-06/1.042, allocations: 0 / 1.556 GB, free: 8.441 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001383/1.043, allocations: 4 kB / 1.556 GB, free: 8.438 MB / 1.279 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.01004/1.053, allocations: 4.123 MB / 1.56 GB, free: 4.246 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/1.053, allocations: 11.97 kB / 1.56 GB, free: 4.234 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005839/1.059, allocations: 0.925 MB / 1.561 GB, free: 3.305 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/1.061, allocations: 1.916 MB / 1.563 GB, free: 1.332 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.062, allocations: 193.1 kB / 1.563 GB, free: 1.141 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/1.062, allocations: 259.9 kB / 1.563 GB, free: 0.8867 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5437/1.606, allocations: 3.333 MB / 1.566 GB, free: 348.8 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/1.606, allocations: 3.953 kB / 1.566 GB, free: 348.8 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/1.606, allocations: 104.5 kB / 1.567 GB, free: 348.8 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/1.606, allocations: 142.7 kB / 1.567 GB, free: 348.7 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00575/1.612, allocations: 3.496 MB / 1.57 GB, free: 347.6 MB / 1.279 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.01251/1.624, allocations: 12.14 MB / 1.582 GB, free: 339.6 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.628, allocations: 3.516 MB / 1.585 GB, free: 337.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/1.631, allocations: 1.843 MB / 1.587 GB, free: 337.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.632, allocations: 1.494 MB / 1.589 GB, free: 335.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.632, allocations: 64.53 kB / 1.589 GB, free: 335.5 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 4.429e-06/1.632, allocations: 0 / 1.589 GB, free: 335.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.004872/1.637, allocations: 3.883 MB / 1.593 GB, free: 334 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/1.637, allocations: 81.12 kB / 1.593 GB, free: 333.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.638, allocations: 1.381 MB / 1.594 GB, free: 333.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/1.638, allocations: 73.17 kB / 1.594 GB, free: 333.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/1.638, allocations: 0.9833 MB / 1.595 GB, free: 332.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/1.639, allocations: 0.9466 MB / 1.596 GB, free: 331.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/1.639, allocations: 403.1 kB / 1.596 GB, free: 331.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.838e-05/1.639, allocations: 301.1 kB / 1.597 GB, free: 330.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/1.641, allocations: 1.1 MB / 1.598 GB, free: 330.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.642, allocations: 1.363 MB / 1.599 GB, free: 329.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/1.645, allocations: 2.646 MB / 1.602 GB, free: 327.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.645, allocations: 0 / 1.602 GB, free: 327.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003448/1.649, allocations: 2.977 MB / 1.604 GB, free: 324.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.649, allocations: 7.984 kB / 1.604 GB, free: 324.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.649, allocations: 8 kB / 1.604 GB, free: 324.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/1.649, allocations: 12 kB / 1.604 GB, free: 324.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/1.651, allocations: 0.511 MB / 1.605 GB, free: 323.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/1.651, allocations: 23.31 kB / 1.605 GB, free: 323.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.652, allocations: 189.8 kB / 1.605 GB, free: 323.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/1.652, allocations: 83.98 kB / 1.605 GB, free: 323.3 MB / 1.279 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.0008842/1.653, allocations: 0.6378 MB / 1.606 GB, free: 322.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/1.654, allocations: 233.2 kB / 1.606 GB, free: 322.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/1.657, allocations: 3.116 MB / 1.609 GB, free: 319.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.658, allocations: 28 kB / 1.609 GB, free: 319.2 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.658, allocations: 0 / 1.609 GB, free: 319.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002816/1.66, allocations: 2.663 MB / 1.612 GB, free: 316.5 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006719/1.667, allocations: 6.214 MB / 1.618 GB, free: 310.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.667, allocations: 3.938 kB / 1.618 GB, free: 310.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/1.669, allocations: 0.5384 MB / 1.618 GB, free: 309.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/1.669, allocations: 12 kB / 1.618 GB, free: 309.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.669, allocations: 59.98 kB / 1.618 GB, free: 309.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/1.669, allocations: 8 kB / 1.618 GB, free: 309.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.669, allocations: 3.984 kB / 1.618 GB, free: 309.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/1.674, allocations: 4.581 MB / 1.623 GB, free: 305 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008438/1.675, allocations: 0.6131 MB / 1.624 GB, free: 304.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/1.675, allocations: 48 kB / 1.624 GB, free: 304.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.677, allocations: 59.97 kB / 1.624 GB, free: 304.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.677, allocations: 166 kB / 1.624 GB, free: 304.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.677, allocations: 83.97 kB / 1.624 GB, free: 304 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009353/1.678, allocations: 0.95 MB / 1.625 GB, free: 303.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.7e-07/1.678, allocations: 0 / 1.625 GB, free: 303.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001573/1.68, allocations: 0.9823 MB / 1.626 GB, free: 302.1 MB / 1.279 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.0004877/1.68, allocations: 372.2 kB / 1.626 GB, free: 301.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003103/1.683, allocations: 2.773 MB / 1.629 GB, free: 299 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.683, allocations: 3.75 kB / 1.629 GB, free: 299 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.685, allocations: 1.507 MB / 1.63 GB, free: 297.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/1.69, allocations: 1.351 MB / 1.632 GB, free: 296.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/1.696, allocations: 6.151 MB / 1.638 GB, free: 290.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009167/1.697, allocations: 1.895 MB / 1.639 GB, free: 288.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/1.698, allocations: 235.4 kB / 1.64 GB, free: 288 MB / 1.279 GB Notification: Performance of SimCode: time 6.31e-07/1.698, allocations: 0 / 1.64 GB, free: 288 MB / 1.279 GB Notification: Performance of Templates: time 0.04411/1.742, allocations: 43.11 MB / 1.682 GB, free: 245.1 MB / 1.279 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches