Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.007972/0.007972, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001634/0.001635, allocations: 191 kB / 16.67 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.83 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3903/1.442, allocations: 314.2 MB / 1.395 GB, free: 3.051 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03061/1.473, allocations: 18.45 MB / 1.413 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/1.478, allocations: 87.56 kB / 1.413 GB, free: 488 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007377/1.485, allocations: 2.242 MB / 1.415 GB, free: 14.22 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.02313/1.508, allocations: 7.546 MB / 1.422 GB, free: 6.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01015/1.518, allocations: 3.259 MB / 1.426 GB, free: 3.391 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01374/1.532, allocations: 9.12 MB / 1.434 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005969/1.538, allocations: 3.108 MB / 1.437 GB, free: 7.078 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008135/1.546, allocations: 3.399 MB / 1.441 GB, free: 3.668 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007532/1.554, allocations: 3.222 MB / 1.444 GB, free: 456 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002042/1.556, allocations: 400 kB / 1.444 GB, free: 56 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/1.574, allocations: 7.038 MB / 1.451 GB, free: 9 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003575/1.578, allocations: 1.691 MB / 1.453 GB, free: 7.305 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.006748/1.584, allocations: 2.303 MB / 1.455 GB, free: 4.992 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0218/1.606, allocations: 8.181 MB / 1.463 GB, free: 12.79 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/1.606, allocations: 0 / 1.463 GB, free: 12.79 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.366e-06/1.606, allocations: 0 / 1.463 GB, free: 12.79 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0003295/1.607, allocations: 3.938 kB / 1.463 GB, free: 12.79 MB / 1.201 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.01882/1.625, allocations: 5.001 MB / 1.468 GB, free: 7.715 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.626, allocations: 8.031 kB / 1.468 GB, free: 7.707 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008264/1.634, allocations: 1.006 MB / 1.469 GB, free: 6.695 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/1.64, allocations: 2.248 MB / 1.471 GB, free: 4.395 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/1.64, allocations: 246.4 kB / 1.471 GB, free: 4.152 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/1.642, allocations: 328 kB / 1.472 GB, free: 3.832 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009918/1.652, allocations: 4.235 MB / 1.476 GB, free: 15.51 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-05/1.652, allocations: 11.94 kB / 1.476 GB, free: 15.5 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/1.652, allocations: 132 kB / 1.476 GB, free: 15.37 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/1.652, allocations: 170.3 kB / 1.476 GB, free: 15.2 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009359/1.662, allocations: 4.787 MB / 1.481 GB, free: 10.41 MB / 1.217 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.02391/1.686, allocations: 14.44 MB / 1.495 GB, free: 10.99 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006223/1.692, allocations: 4.552 MB / 1.499 GB, free: 6.43 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/1.696, allocations: 2.455 MB / 1.502 GB, free: 3.977 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/1.697, allocations: 1.604 MB / 1.503 GB, free: 2.039 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.389e-05/1.697, allocations: 77.62 kB / 1.503 GB, free: 1.953 MB / 1.232 GB Notification: Performance of pre-optimization done (n=392): time 6.843e-06/1.697, allocations: 0 / 1.503 GB, free: 1.953 MB / 1.232 GB Notification: Performance of matching and sorting (n=392): time 0.009601/1.707, allocations: 5.539 MB / 1.509 GB, free: 12.39 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/1.707, allocations: 90.48 kB / 1.509 GB, free: 12.29 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/1.71, allocations: 1.688 MB / 1.511 GB, free: 10.56 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004112/1.71, allocations: 93.7 kB / 1.511 GB, free: 10.46 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/1.711, allocations: 1.132 MB / 1.512 GB, free: 9.316 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.712, allocations: 1.317 MB / 1.513 GB, free: 7.98 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008418/1.713, allocations: 0.5546 MB / 1.514 GB, free: 7.418 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/1.713, allocations: 305.1 kB / 1.514 GB, free: 7.117 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/1.716, allocations: 1.56 MB / 1.515 GB, free: 5.555 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/1.719, allocations: 1.92 MB / 1.517 GB, free: 3.566 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/1.724, allocations: 3.766 MB / 1.521 GB, free: 15.71 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.724, allocations: 4 kB / 1.521 GB, free: 15.71 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007055/1.731, allocations: 4.178 MB / 1.525 GB, free: 11.51 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/1.731, allocations: 4 kB / 1.525 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.731, allocations: 8 kB / 1.525 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.805e-05/1.731, allocations: 16 kB / 1.525 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/1.734, allocations: 0.6982 MB / 1.526 GB, free: 10.78 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.726e-05/1.735, allocations: 28.2 kB / 1.526 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/1.737, allocations: 257.1 kB / 1.526 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/1.737, allocations: 112 kB / 1.526 GB, free: 10.39 MB / 1.264 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.0015/1.739, allocations: 0.8015 MB / 1.527 GB, free: 9.578 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006998/1.74, allocations: 296.5 kB / 1.527 GB, free: 9.285 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007047/1.747, allocations: 4.425 MB / 1.532 GB, free: 4.824 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/1.747, allocations: 36 kB / 1.532 GB, free: 4.789 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.747, allocations: 3.938 kB / 1.532 GB, free: 4.785 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005483/1.752, allocations: 3.792 MB / 1.535 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/1.767, allocations: 8.66 MB / 1.544 GB, free: 8.102 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.767, allocations: 0 / 1.544 GB, free: 8.102 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00349/1.77, allocations: 0.7221 MB / 1.544 GB, free: 7.379 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.02e-05/1.77, allocations: 16 kB / 1.544 GB, free: 7.363 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/1.771, allocations: 79.98 kB / 1.544 GB, free: 7.285 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/1.771, allocations: 19.94 kB / 1.545 GB, free: 7.266 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.771, allocations: 7.984 kB / 1.545 GB, free: 7.258 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.781, allocations: 6.572 MB / 1.551 GB, free: 0.5898 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/1.784, allocations: 0.7971 MB / 1.552 GB, free: 15.77 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007335/1.785, allocations: 75.98 kB / 1.552 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.787, allocations: 90.97 kB / 1.552 GB, free: 15.61 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/1.787, allocations: 234.5 kB / 1.552 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.788, allocations: 116 kB / 1.552 GB, free: 15.27 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001996/1.79, allocations: 1.157 MB / 1.553 GB, free: 14.09 MB / 1.295 GB Notification: Performance of sort global known variables: time 6.51e-07/1.79, allocations: 0 / 1.553 GB, free: 14.09 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003484/1.793, allocations: 1.228 MB / 1.555 GB, free: 12.86 MB / 1.295 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.001053/1.794, allocations: 461.1 kB / 1.555 GB, free: 12.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006622/1.801, allocations: 3.944 MB / 1.559 GB, free: 8.441 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.801, allocations: 0 / 1.559 GB, free: 8.441 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003389/1.804, allocations: 2.152 MB / 1.561 GB, free: 6.289 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008341/1.813, allocations: 1.597 MB / 1.562 GB, free: 4.719 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.826, allocations: 7.664 MB / 1.57 GB, free: 12.98 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/1.828, allocations: 2.209 MB / 1.572 GB, free: 10.73 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.004146/1.832, allocations: 1.208 MB / 1.573 GB, free: 9.52 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009893/1.833, allocations: 267.4 kB / 1.574 GB, free: 9.258 MB / 1.311 GB Notification: Performance of SimCode: time 1.042e-06/1.833, allocations: 0 / 1.574 GB, free: 9.258 MB / 1.311 GB Notification: Performance of Templates: time 0.7806/2.614, allocations: 62.64 MB / 1.635 GB, free: 427.7 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches