Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001536/0.001536, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001452/0.001453, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.661/1.661, allocations: 222.9 MB / 241 MB, free: 15.07 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.475/2.475, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219/1.22, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3818/1.602, allocations: 295.1 MB / 1.377 GB, free: 6.145 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0295/1.632, allocations: 17.01 MB / 1.393 GB, free: 5.105 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005004/1.637, allocations: 83.56 kB / 1.393 GB, free: 5.023 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006302/1.643, allocations: 1.9 MB / 1.395 GB, free: 3.113 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.02035/1.663, allocations: 6.425 MB / 1.402 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009779/1.673, allocations: 2.948 MB / 1.405 GB, free: 9.711 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01276/1.686, allocations: 7.7 MB / 1.412 GB, free: 1.992 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005556/1.692, allocations: 2.602 MB / 1.415 GB, free: 15.33 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007182/1.699, allocations: 2.807 MB / 1.417 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006795/1.706, allocations: 2.693 MB / 1.42 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001584/1.707, allocations: 324 kB / 1.42 GB, free: 9.504 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01589/1.723, allocations: 6.169 MB / 1.426 GB, free: 3.32 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002998/1.726, allocations: 1.344 MB / 1.428 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005715/1.732, allocations: 1.875 MB / 1.429 GB, free: 92 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01981/1.752, allocations: 6.888 MB / 1.436 GB, free: 9.184 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/1.752, allocations: 4 kB / 1.436 GB, free: 9.18 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.995e-06/1.752, allocations: 0 / 1.436 GB, free: 9.18 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002668/1.752, allocations: 0 / 1.436 GB, free: 9.18 MB / 1.17 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.01635/1.768, allocations: 4.131 MB / 1.44 GB, free: 4.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.768, allocations: 8.031 kB / 1.44 GB, free: 4.973 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00743/1.776, allocations: 0.9133 MB / 1.441 GB, free: 4.055 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/1.781, allocations: 1.928 MB / 1.443 GB, free: 2.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/1.781, allocations: 189.1 kB / 1.443 GB, free: 1.883 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004048/1.781, allocations: 259.9 kB / 1.443 GB, free: 1.629 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005937/1.787, allocations: 3.35 MB / 1.447 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-05/1.787, allocations: 4 kB / 1.447 GB, free: 14.17 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/1.788, allocations: 104 kB / 1.447 GB, free: 14.07 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/1.788, allocations: 141 kB / 1.447 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/1.794, allocations: 3.498 MB / 1.45 GB, free: 10.42 MB / 1.186 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.01709/1.811, allocations: 12.14 MB / 1.462 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/1.816, allocations: 3.512 MB / 1.466 GB, free: 9.777 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/1.819, allocations: 1.841 MB / 1.467 GB, free: 7.93 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/1.821, allocations: 1.489 MB / 1.469 GB, free: 6.125 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.341e-05/1.821, allocations: 64.75 kB / 1.469 GB, free: 6.051 MB / 1.201 GB Notification: Performance of pre-optimization done (n=278): time 5.33e-06/1.821, allocations: 0 / 1.469 GB, free: 6.051 MB / 1.201 GB Notification: Performance of matching and sorting (n=278): time 0.007316/1.828, allocations: 3.893 MB / 1.473 GB, free: 2.109 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/1.829, allocations: 77.59 kB / 1.473 GB, free: 2.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/1.831, allocations: 1.383 MB / 1.474 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002125/1.831, allocations: 73.7 kB / 1.474 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008175/1.832, allocations: 0.9767 MB / 1.475 GB, free: 15.56 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.833, allocations: 0.947 MB / 1.476 GB, free: 14.6 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006348/1.834, allocations: 420.8 kB / 1.476 GB, free: 14.18 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.834, allocations: 301.1 kB / 1.477 GB, free: 13.88 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/1.835, allocations: 1.09 MB / 1.478 GB, free: 12.79 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/1.837, allocations: 1.358 MB / 1.479 GB, free: 11.36 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/1.841, allocations: 2.646 MB / 1.482 GB, free: 8.625 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.842, allocations: 4 kB / 1.482 GB, free: 8.621 MB / 1.217 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005547/1.847, allocations: 2.97 MB / 1.485 GB, free: 5.605 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/1.847, allocations: 8 kB / 1.485 GB, free: 5.598 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.847, allocations: 11.88 kB / 1.485 GB, free: 5.586 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/1.847, allocations: 16.5 kB / 1.485 GB, free: 5.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/1.85, allocations: 0.5149 MB / 1.485 GB, free: 5.055 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.851e-05/1.85, allocations: 19.98 kB / 1.485 GB, free: 5.035 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/1.853, allocations: 181.9 kB / 1.485 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/1.853, allocations: 80 kB / 1.485 GB, free: 4.777 MB / 1.217 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.002338/1.856, allocations: 0.6416 MB / 1.486 GB, free: 4.125 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.857, allocations: 229.3 kB / 1.486 GB, free: 3.898 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00736/1.864, allocations: 3.123 MB / 1.489 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/1.864, allocations: 28 kB / 1.489 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.864, allocations: 0 / 1.489 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004659/1.869, allocations: 2.653 MB / 1.492 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.882, allocations: 6.209 MB / 1.498 GB, free: 7.648 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.882, allocations: 0 / 1.498 GB, free: 7.648 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.884, allocations: 0.5462 MB / 1.499 GB, free: 7.102 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.018e-05/1.884, allocations: 12 kB / 1.499 GB, free: 7.09 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/1.885, allocations: 55.98 kB / 1.499 GB, free: 7.035 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-05/1.885, allocations: 8 kB / 1.499 GB, free: 7.027 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.885, allocations: 4 kB / 1.499 GB, free: 7.023 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008398/1.893, allocations: 4.577 MB / 1.503 GB, free: 2.363 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/1.895, allocations: 0.6071 MB / 1.504 GB, free: 1.734 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007026/1.896, allocations: 52 kB / 1.504 GB, free: 1.684 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.898, allocations: 69.59 kB / 1.504 GB, free: 1.617 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003659/1.898, allocations: 158 kB / 1.504 GB, free: 1.461 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/1.898, allocations: 83.97 kB / 1.504 GB, free: 1.379 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001974/1.9, allocations: 0.9423 MB / 1.505 GB, free: 452 kB / 1.232 GB Notification: Performance of sort global known variables: time 2.01e-07/1.9, allocations: 0 / 1.505 GB, free: 452 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.003153/1.904, allocations: 0.9902 MB / 1.506 GB, free: 15.45 MB / 1.248 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.0009046/1.905, allocations: 374.6 kB / 1.506 GB, free: 15.07 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.005216/1.91, allocations: 2.766 MB / 1.509 GB, free: 12.28 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.91, allocations: 0 / 1.509 GB, free: 12.28 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/1.912, allocations: 1.511 MB / 1.51 GB, free: 10.76 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007201/1.919, allocations: 1.351 MB / 1.512 GB, free: 9.434 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.934, allocations: 6.15 MB / 1.518 GB, free: 3.234 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/1.937, allocations: 1.899 MB / 1.52 GB, free: 1.297 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/1.939, allocations: 235.4 kB / 1.52 GB, free: 1.066 MB / 1.248 GB Notification: Performance of SimCode: time 1.273e-06/1.939, allocations: 0 / 1.52 GB, free: 1.066 MB / 1.248 GB Notification: Performance of Templates: time 0.08247/2.021, allocations: 43.13 MB / 1.562 GB, free: 6.172 MB / 1.295 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches