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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001459/0.001459, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 196 kB / 16.53 MB, free: 6.664 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.587/1.587, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.56 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4043, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.164/1.568, allocations: 295.1 MB / 1.356 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02844/1.596, allocations: 17.01 MB / 1.373 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00624/1.603, allocations: 81.12 kB / 1.373 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006099/1.609, allocations: 1.891 MB / 1.375 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02161/1.631, allocations: 6.432 MB / 1.381 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01153/1.642, allocations: 2.925 MB / 1.384 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01611/1.658, allocations: 7.709 MB / 1.392 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006386/1.665, allocations: 2.589 MB / 1.394 GB, free: 9.629 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007996/1.673, allocations: 2.761 MB / 1.397 GB, free: 8.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007096/1.68, allocations: 2.71 MB / 1.399 GB, free: 6.914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001575/1.681, allocations: 327.2 kB / 1.4 GB, free: 6.914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01689/1.698, allocations: 6.164 MB / 1.406 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002779/1.701, allocations: 1.333 MB / 1.407 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005129/1.706, allocations: 1.882 MB / 1.409 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01891/1.725, allocations: 6.837 MB / 1.416 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.725, allocations: 0 / 1.416 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/1.725, allocations: 0 / 1.416 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001286/1.725, allocations: 0 / 1.416 GB, free: 13.11 MB / 1.029 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.01267/1.738, allocations: 4.137 MB / 1.42 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.738, allocations: 12 kB / 1.42 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006252/1.744, allocations: 0.9156 MB / 1.421 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/1.748, allocations: 1.842 MB / 1.422 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/1.748, allocations: 189.1 kB / 1.423 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/1.748, allocations: 259.9 kB / 1.423 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/1.754, allocations: 3.338 MB / 1.426 GB, free: 4.039 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/1.754, allocations: 11.92 kB / 1.426 GB, free: 4.027 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/1.754, allocations: 108 kB / 1.426 GB, free: 3.922 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/1.754, allocations: 141 kB / 1.426 GB, free: 3.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/1.76, allocations: 3.494 MB / 1.43 GB, free: 280 kB / 1.029 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.01634/1.776, allocations: 12.22 MB / 1.442 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/1.781, allocations: 3.506 MB / 1.445 GB, free: 15.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/1.783, allocations: 1.818 MB / 1.447 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.785, allocations: 1.489 MB / 1.448 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/1.785, allocations: 69.16 kB / 1.448 GB, free: 11.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 4.318e-06/1.785, allocations: 3.938 kB / 1.448 GB, free: 11.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.006445/1.791, allocations: 3.877 MB / 1.452 GB, free: 7.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.791, allocations: 85.59 kB / 1.452 GB, free: 7.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/1.793, allocations: 1.383 MB / 1.454 GB, free: 6.441 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/1.793, allocations: 77.7 kB / 1.454 GB, free: 6.359 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000661/1.794, allocations: 0.9765 MB / 1.455 GB, free: 5.371 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008168/1.795, allocations: 0.947 MB / 1.456 GB, free: 4.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005743/1.795, allocations: 404.9 kB / 1.456 GB, free: 4.008 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/1.796, allocations: 309.1 kB / 1.456 GB, free: 3.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.797, allocations: 1.09 MB / 1.457 GB, free: 2.609 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.799, allocations: 1.362 MB / 1.459 GB, free: 1.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.803, allocations: 2.658 MB / 1.461 GB, free: 14.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.803, allocations: 0 / 1.461 GB, free: 14.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0047/1.807, allocations: 2.974 MB / 1.464 GB, free: 11.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/1.807, allocations: 17.28 kB / 1.464 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.807, allocations: 4 kB / 1.464 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/1.807, allocations: 16 kB / 1.464 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/1.809, allocations: 0.5071 MB / 1.465 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.809, allocations: 15.94 kB / 1.465 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.812, allocations: 186.3 kB / 1.465 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.812, allocations: 83.98 kB / 1.465 GB, free: 10.59 MB / 1.076 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.00114/1.813, allocations: 0.6417 MB / 1.466 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/1.813, allocations: 233.2 kB / 1.466 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/1.818, allocations: 3.113 MB / 1.469 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/1.818, allocations: 27.98 kB / 1.469 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.818, allocations: 3.984 kB / 1.469 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003611/1.822, allocations: 2.669 MB / 1.471 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00906/1.831, allocations: 6.213 MB / 1.478 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/1.831, allocations: 0 / 1.478 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/1.833, allocations: 0.5423 MB / 1.478 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/1.833, allocations: 8 kB / 1.478 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/1.833, allocations: 59.98 kB / 1.478 GB, free: 12.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/1.833, allocations: 8 kB / 1.478 GB, free: 12.83 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.833, allocations: 0 / 1.478 GB, free: 12.83 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006355/1.84, allocations: 4.585 MB / 1.483 GB, free: 8.16 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.841, allocations: 0.6109 MB / 1.483 GB, free: 7.527 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/1.841, allocations: 52 kB / 1.483 GB, free: 7.477 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.843, allocations: 58.83 kB / 1.483 GB, free: 7.422 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/1.843, allocations: 169.9 kB / 1.483 GB, free: 7.254 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.843, allocations: 79.97 kB / 1.484 GB, free: 7.176 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001236/1.845, allocations: 0.9462 MB / 1.484 GB, free: 6.234 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.4e-07/1.845, allocations: 0 / 1.484 GB, free: 6.234 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002111/1.847, allocations: 0.9784 MB / 1.485 GB, free: 5.254 MB / 1.092 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.0006004/1.847, allocations: 377.9 kB / 1.486 GB, free: 4.875 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.858, allocations: 5.532 MB / 1.491 GB, free: 15.31 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.858, allocations: 1.125 kB / 1.491 GB, free: 15.31 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/1.86, allocations: 1.515 MB / 1.493 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005822/1.866, allocations: 1.348 MB / 1.494 GB, free: 12.47 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009244/1.876, allocations: 6.073 MB / 1.5 GB, free: 6.355 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.877, allocations: 1.903 MB / 1.502 GB, free: 4.414 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003311/1.88, allocations: 0.8397 MB / 1.503 GB, free: 3.57 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/1.881, allocations: 207.4 kB / 1.503 GB, free: 3.367 MB / 1.107 GB Notification: Performance of SimCode: time 6.81e-07/1.881, allocations: 0 / 1.503 GB, free: 3.367 MB / 1.107 GB Notification: Performance of Templates: time 0.07844/1.959, allocations: 49.72 MB / 1.551 GB, free: 2.203 MB / 1.154 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches