Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 112.6 kB / 16.37 MB, free: 6 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.001583/0.001583, allocations: 196 kB / 17.31 MB, free: 5.613 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.53 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3534, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.061/1.414, allocations: 314.2 MB / 1.334 GB, free: 2.863 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02874/1.443, allocations: 18.45 MB / 1.352 GB, free: 384 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004299/1.447, allocations: 87.56 kB / 1.352 GB, free: 296 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005668/1.453, allocations: 2.152 MB / 1.354 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01897/1.472, allocations: 7.312 MB / 1.361 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.009492/1.482, allocations: 3.226 MB / 1.364 GB, free: 3.559 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01249/1.494, allocations: 9.109 MB / 1.373 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/1.499, allocations: 3.111 MB / 1.376 GB, free: 7.254 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007004/1.506, allocations: 3.313 MB / 1.379 GB, free: 3.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006959/1.513, allocations: 3.224 MB / 1.382 GB, free: 0.707 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001199/1.514, allocations: 404 kB / 1.383 GB, free: 320 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/1.531, allocations: 7.007 MB / 1.39 GB, free: 9.289 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003235/1.534, allocations: 1.687 MB / 1.391 GB, free: 7.598 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004821/1.539, allocations: 2.295 MB / 1.393 GB, free: 5.293 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02143/1.561, allocations: 8.185 MB / 1.401 GB, free: 13.09 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.561, allocations: 4 kB / 1.401 GB, free: 13.08 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.799e-06/1.561, allocations: 4 kB / 1.401 GB, free: 13.08 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002176/1.561, allocations: 0 / 1.401 GB, free: 13.08 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01802/1.579, allocations: 4.989 MB / 1.406 GB, free: 8.02 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 0.000155/1.579, allocations: 12.03 kB / 1.406 GB, free: 8.008 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008157/1.587, allocations: 1.01 MB / 1.407 GB, free: 6.992 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007359/1.595, allocations: 2.248 MB / 1.41 GB, free: 4.691 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/1.595, allocations: 238.5 kB / 1.41 GB, free: 4.457 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/1.596, allocations: 331.9 kB / 1.41 GB, free: 4.133 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009224/1.605, allocations: 4.232 MB / 1.414 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.418e-05/1.605, allocations: 15.84 kB / 1.414 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/1.606, allocations: 136 kB / 1.414 GB, free: 15.67 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/1.606, allocations: 170.3 kB / 1.414 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/1.616, allocations: 4.783 MB / 1.419 GB, free: 10.71 MB / 1.123 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.03135/1.648, allocations: 14.43 MB / 1.433 GB, free: 11.3 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007504/1.655, allocations: 4.554 MB / 1.438 GB, free: 6.738 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/1.66, allocations: 2.448 MB / 1.44 GB, free: 4.289 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002098/1.662, allocations: 1.612 MB / 1.442 GB, free: 2.344 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.188e-05/1.662, allocations: 84.16 kB / 1.442 GB, free: 2.254 MB / 1.139 GB Notification: Performance of pre-optimization done (n=392): time 6.863e-06/1.662, allocations: 0 / 1.442 GB, free: 2.254 MB / 1.139 GB Notification: Performance of matching and sorting (n=392): time 0.01094/1.673, allocations: 5.531 MB / 1.447 GB, free: 12.7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/1.673, allocations: 98.48 kB / 1.447 GB, free: 12.59 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/1.676, allocations: 1.684 MB / 1.449 GB, free: 10.86 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005465/1.676, allocations: 89.7 kB / 1.449 GB, free: 10.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.677, allocations: 1.132 MB / 1.45 GB, free: 9.625 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.679, allocations: 1.317 MB / 1.451 GB, free: 8.289 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009933/1.68, allocations: 0.5507 MB / 1.452 GB, free: 7.73 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.68, allocations: 309.1 kB / 1.452 GB, free: 7.426 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/1.683, allocations: 1.564 MB / 1.454 GB, free: 5.859 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.686, allocations: 1.92 MB / 1.456 GB, free: 3.871 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006161/1.692, allocations: 3.766 MB / 1.459 GB, free: 20 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/1.692, allocations: 0 / 1.459 GB, free: 20 kB / 1.154 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00745/1.699, allocations: 4.182 MB / 1.463 GB, free: 11.81 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.7, allocations: 8 kB / 1.463 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/1.7, allocations: 8.031 kB / 1.463 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/1.7, allocations: 23.94 kB / 1.463 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/1.703, allocations: 0.6904 MB / 1.464 GB, free: 11.08 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.717e-05/1.703, allocations: 24.77 kB / 1.464 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/1.706, allocations: 257.1 kB / 1.464 GB, free: 10.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/1.706, allocations: 116 kB / 1.464 GB, free: 10.69 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001859/1.708, allocations: 0.8092 MB / 1.465 GB, free: 9.871 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/1.709, allocations: 288.5 kB / 1.466 GB, free: 9.586 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00782/1.717, allocations: 4.43 MB / 1.47 GB, free: 5.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/1.717, allocations: 36 kB / 1.47 GB, free: 5.086 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.717, allocations: 0 / 1.47 GB, free: 5.086 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006048/1.723, allocations: 3.803 MB / 1.474 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/1.739, allocations: 8.64 MB / 1.482 GB, free: 8.406 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.739, allocations: 8.031 kB / 1.482 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003506/1.742, allocations: 0.7217 MB / 1.483 GB, free: 7.676 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-05/1.742, allocations: 12 kB / 1.483 GB, free: 7.664 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/1.742, allocations: 83.98 kB / 1.483 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-05/1.743, allocations: 23.92 kB / 1.483 GB, free: 7.559 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.743, allocations: 8 kB / 1.483 GB, free: 7.551 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.753, allocations: 6.568 MB / 1.489 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.755, allocations: 0.7894 MB / 1.49 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006427/1.756, allocations: 75.98 kB / 1.49 GB, free: 0 / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.758, allocations: 84.08 kB / 1.49 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004391/1.758, allocations: 238.6 kB / 1.49 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004986/1.759, allocations: 116 kB / 1.491 GB, free: 15.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00277/1.762, allocations: 1.149 MB / 1.492 GB, free: 14.39 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.4e-07/1.762, allocations: 0 / 1.492 GB, free: 14.39 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00385/1.766, allocations: 1.236 MB / 1.493 GB, free: 13.16 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.001257/1.767, allocations: 465.1 kB / 1.493 GB, free: 12.71 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006366/1.773, allocations: 3.951 MB / 1.497 GB, free: 8.742 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.773, allocations: 0 / 1.497 GB, free: 8.742 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/1.777, allocations: 2.15 MB / 1.499 GB, free: 6.594 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006793/1.783, allocations: 1.6 MB / 1.501 GB, free: 5.023 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.795, allocations: 7.676 MB / 1.508 GB, free: 13.28 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/1.797, allocations: 2.201 MB / 1.51 GB, free: 11.04 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.004201/1.802, allocations: 1.208 MB / 1.512 GB, free: 9.824 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009971/1.803, allocations: 267.4 kB / 1.512 GB, free: 9.562 MB / 1.217 GB Notification: Performance of SimCode: time 1.232e-06/1.803, allocations: 0 / 1.512 GB, free: 9.562 MB / 1.217 GB Notification: Performance of Templates: time 0.6283/2.431, allocations: 61.88 MB / 1.572 GB, free: 426 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches