Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001432/0.001432, allocations: 110.3 kB / 15.99 MB, free: 6.352 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.001461/0.001461, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7107 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 64.09 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3997, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9291/1.329, allocations: 291.7 MB / 1.302 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02654/1.356, allocations: 16.94 MB / 1.319 GB, free: 4.914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004865/1.36, allocations: 71.62 kB / 1.319 GB, free: 4.844 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00578/1.366, allocations: 1.699 MB / 1.321 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01785/1.384, allocations: 6.057 MB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008519/1.393, allocations: 2.704 MB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01133/1.404, allocations: 7.705 MB / 1.337 GB, free: 2.629 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00525/1.409, allocations: 2.536 MB / 1.339 GB, free: 48 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007227/1.417, allocations: 2.807 MB / 1.342 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006937/1.424, allocations: 2.877 MB / 1.345 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001737/1.425, allocations: 328 kB / 1.345 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/1.441, allocations: 6.432 MB / 1.351 GB, free: 3.586 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002932/1.444, allocations: 1.344 MB / 1.353 GB, free: 2.238 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005741/1.45, allocations: 1.879 MB / 1.354 GB, free: 360 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/1.461, allocations: 5.103 MB / 1.359 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/1.461, allocations: 0 / 1.359 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/1.461, allocations: 3.938 kB / 1.359 GB, free: 11.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002339/1.461, allocations: 0 / 1.359 GB, free: 11.23 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.01503/1.476, allocations: 4.126 MB / 1.363 GB, free: 7.043 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/1.476, allocations: 12.92 kB / 1.363 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007213/1.484, allocations: 0.9132 MB / 1.364 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004885/1.489, allocations: 1.846 MB / 1.366 GB, free: 4.211 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/1.489, allocations: 197.1 kB / 1.366 GB, free: 4.016 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/1.49, allocations: 255.9 kB / 1.367 GB, free: 3.766 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009328/1.499, allocations: 3.331 MB / 1.37 GB, free: 340 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/1.499, allocations: 11.84 kB / 1.37 GB, free: 328 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007501/1.5, allocations: 111.9 kB / 1.37 GB, free: 216 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/1.5, allocations: 145 kB / 1.37 GB, free: 68 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007968/1.508, allocations: 3.494 MB / 1.374 GB, free: 12.56 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.02191/1.53, allocations: 12.08 MB / 1.385 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005978/1.536, allocations: 3.504 MB / 1.389 GB, free: 11.97 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/1.54, allocations: 1.822 MB / 1.391 GB, free: 10.14 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/1.542, allocations: 1.493 MB / 1.392 GB, free: 8.336 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.538e-05/1.542, allocations: 64.75 kB / 1.392 GB, free: 8.262 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 5.731e-06/1.542, allocations: 0 / 1.392 GB, free: 8.262 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.008198/1.55, allocations: 3.889 MB / 1.396 GB, free: 4.324 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/1.55, allocations: 85.53 kB / 1.396 GB, free: 4.227 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/1.553, allocations: 1.383 MB / 1.397 GB, free: 2.836 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004439/1.553, allocations: 69.7 kB / 1.397 GB, free: 2.762 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008463/1.554, allocations: 0.9804 MB / 1.398 GB, free: 1.77 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.556, allocations: 0.947 MB / 1.399 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009722/1.557, allocations: 405 kB / 1.4 GB, free: 416 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.557, allocations: 305.1 kB / 1.4 GB, free: 108 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/1.559, allocations: 1.09 MB / 1.401 GB, free: 15.01 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/1.561, allocations: 1.358 MB / 1.402 GB, free: 13.59 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/1.565, allocations: 2.654 MB / 1.405 GB, free: 10.84 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/1.565, allocations: 4 kB / 1.405 GB, free: 10.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00548/1.571, allocations: 2.97 MB / 1.408 GB, free: 7.82 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.571, allocations: 8 kB / 1.408 GB, free: 7.812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.571, allocations: 4 kB / 1.408 GB, free: 7.809 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/1.571, allocations: 15.98 kB / 1.408 GB, free: 7.793 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/1.573, allocations: 0.5148 MB / 1.408 GB, free: 7.277 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.251e-05/1.573, allocations: 23.88 kB / 1.408 GB, free: 7.254 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/1.576, allocations: 382 kB / 1.409 GB, free: 6.879 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/1.576, allocations: 80 kB / 1.409 GB, free: 6.801 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.001586/1.578, allocations: 0.644 MB / 1.409 GB, free: 6.148 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009164/1.579, allocations: 237.2 kB / 1.41 GB, free: 5.914 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/1.585, allocations: 3.108 MB / 1.413 GB, free: 2.746 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/1.585, allocations: 28 kB / 1.413 GB, free: 2.719 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/1.585, allocations: 3.938 kB / 1.413 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004117/1.589, allocations: 2.649 MB / 1.415 GB, free: 15.99 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/1.602, allocations: 6.221 MB / 1.421 GB, free: 9.668 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.602, allocations: 0 / 1.421 GB, free: 9.668 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/1.604, allocations: 0.5423 MB / 1.422 GB, free: 9.125 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-05/1.604, allocations: 8 kB / 1.422 GB, free: 9.117 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/1.605, allocations: 59.98 kB / 1.422 GB, free: 9.059 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-05/1.605, allocations: 16 kB / 1.422 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.605, allocations: 0 / 1.422 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008286/1.613, allocations: 4.573 MB / 1.426 GB, free: 4.391 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.615, allocations: 0.6071 MB / 1.427 GB, free: 3.762 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007437/1.616, allocations: 52 kB / 1.427 GB, free: 3.711 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002952/1.619, allocations: 225.9 kB / 1.427 GB, free: 3.492 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/1.619, allocations: 166 kB / 1.427 GB, free: 3.328 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.62, allocations: 83.97 kB / 1.428 GB, free: 3.246 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002151/1.622, allocations: 0.9423 MB / 1.428 GB, free: 2.309 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.622, allocations: 0 / 1.428 GB, free: 2.309 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003692/1.625, allocations: 0.9862 MB / 1.429 GB, free: 1.32 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.001001/1.627, allocations: 380.5 kB / 1.43 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01394/1.64, allocations: 5.533 MB / 1.435 GB, free: 11.38 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.641, allocations: 0 / 1.435 GB, free: 11.38 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/1.644, allocations: 1.507 MB / 1.437 GB, free: 9.867 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008296/1.652, allocations: 1.357 MB / 1.438 GB, free: 8.543 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.667, allocations: 7.371 MB / 1.445 GB, free: 1.121 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/1.67, allocations: 1.899 MB / 1.447 GB, free: 15.18 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.671, allocations: 235.4 kB / 1.447 GB, free: 14.95 MB / 1.154 GB Notification: Performance of SimCode: time 1.784e-06/1.671, allocations: 0 / 1.447 GB, free: 14.95 MB / 1.154 GB Notification: Performance of Templates: time 0.08337/1.755, allocations: 42.83 MB / 1.489 GB, free: 4.352 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches