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.00728/0.00728, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00174/0.00174, allocations: 197.6 kB / 16.68 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.189/2.189, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.91 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8132/0.8146, allocations: 140.4 MB / 1.088 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3325/1.147, allocations: 314.1 MB / 1.395 GB, free: 3.211 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02738/1.175, allocations: 18.45 MB / 1.413 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003705/1.178, allocations: 91.56 kB / 1.413 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005534/1.184, allocations: 2.242 MB / 1.415 GB, free: 14.37 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01782/1.202, allocations: 7.534 MB / 1.422 GB, free: 6.809 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.008372/1.21, allocations: 3.258 MB / 1.426 GB, free: 3.555 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0112/1.221, allocations: 9.124 MB / 1.434 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/1.226, allocations: 3.1 MB / 1.437 GB, free: 7.242 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006189/1.232, allocations: 3.399 MB / 1.441 GB, free: 3.832 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006159/1.239, allocations: 3.231 MB / 1.444 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001256/1.24, allocations: 404 kB / 1.444 GB, free: 212 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01465/1.255, allocations: 7.034 MB / 1.451 GB, free: 9.156 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002654/1.257, allocations: 1.687 MB / 1.453 GB, free: 7.465 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004938/1.262, allocations: 2.314 MB / 1.455 GB, free: 5.141 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/1.279, allocations: 8.208 MB / 1.463 GB, free: 12.91 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.279, allocations: 0 / 1.463 GB, free: 12.91 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/1.279, allocations: 4 kB / 1.463 GB, free: 12.9 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002209/1.279, allocations: 0 / 1.463 GB, free: 12.9 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.01506/1.294, allocations: 5.118 MB / 1.468 GB, free: 7.707 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/1.294, allocations: 12.03 kB / 1.468 GB, free: 7.695 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007373/1.301, allocations: 1.032 MB / 1.469 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/1.307, allocations: 2.257 MB / 1.471 GB, free: 4.352 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/1.307, allocations: 242.4 kB / 1.472 GB, free: 4.113 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008664/1.308, allocations: 331.9 kB / 1.472 GB, free: 3.789 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00835/1.316, allocations: 4.235 MB / 1.476 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-05/1.316, allocations: 15.89 kB / 1.476 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000447/1.317, allocations: 136 kB / 1.476 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/1.317, allocations: 166.3 kB / 1.476 GB, free: 15.16 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009089/1.326, allocations: 4.783 MB / 1.481 GB, free: 10.36 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.02268/1.349, allocations: 14.46 MB / 1.495 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00693/1.356, allocations: 4.548 MB / 1.5 GB, free: 6.367 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003926/1.36, allocations: 2.455 MB / 1.502 GB, free: 3.914 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/1.361, allocations: 1.608 MB / 1.504 GB, free: 1.973 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.207e-05/1.362, allocations: 81.58 kB / 1.504 GB, free: 1.883 MB / 1.232 GB Notification: Performance of pre-optimization done (n=392): time 6.802e-06/1.362, allocations: 0 / 1.504 GB, free: 1.883 MB / 1.232 GB Notification: Performance of matching and sorting (n=392): time 0.01015/1.372, allocations: 5.556 MB / 1.509 GB, free: 12.3 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/1.372, allocations: 94.48 kB / 1.509 GB, free: 12.2 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/1.375, allocations: 1.676 MB / 1.511 GB, free: 10.48 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/1.375, allocations: 93.7 kB / 1.511 GB, free: 10.38 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/1.376, allocations: 1.157 MB / 1.512 GB, free: 9.215 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.377, allocations: 1.382 MB / 1.513 GB, free: 7.82 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.378, allocations: 0.5547 MB / 1.514 GB, free: 7.258 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.379, allocations: 309.1 kB / 1.514 GB, free: 6.953 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/1.381, allocations: 1.564 MB / 1.516 GB, free: 5.387 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/1.385, allocations: 1.92 MB / 1.518 GB, free: 3.398 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/1.391, allocations: 3.77 MB / 1.521 GB, free: 15.54 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/1.391, allocations: 0 / 1.521 GB, free: 15.54 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007582/1.398, allocations: 4.187 MB / 1.525 GB, free: 11.33 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/1.398, allocations: 10.19 kB / 1.525 GB, free: 11.32 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.399, allocations: 4 kB / 1.525 GB, free: 11.32 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-05/1.399, allocations: 20 kB / 1.525 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/1.402, allocations: 0.6982 MB / 1.526 GB, free: 10.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.576e-05/1.402, allocations: 19.94 kB / 1.526 GB, free: 10.58 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/1.405, allocations: 270 kB / 1.526 GB, free: 10.32 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/1.405, allocations: 116 kB / 1.526 GB, free: 10.2 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.001589/1.407, allocations: 0.8054 MB / 1.527 GB, free: 9.387 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007866/1.407, allocations: 302.1 kB / 1.528 GB, free: 9.09 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/1.415, allocations: 4.429 MB / 1.532 GB, free: 4.625 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.415, allocations: 36 kB / 1.532 GB, free: 4.59 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.415, allocations: 3.938 kB / 1.532 GB, free: 4.586 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005756/1.421, allocations: 3.796 MB / 1.536 GB, free: 0.7227 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.435, allocations: 8.653 MB / 1.544 GB, free: 7.906 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.436, allocations: 4 kB / 1.544 GB, free: 7.902 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003531/1.439, allocations: 0.722 MB / 1.545 GB, free: 7.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.183e-05/1.439, allocations: 19.94 kB / 1.545 GB, free: 7.16 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/1.439, allocations: 87.97 kB / 1.545 GB, free: 7.074 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.538e-05/1.439, allocations: 16 kB / 1.545 GB, free: 7.059 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.439, allocations: 7.984 kB / 1.545 GB, free: 7.051 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.45, allocations: 6.585 MB / 1.551 GB, free: 380 kB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/1.452, allocations: 0.8068 MB / 1.552 GB, free: 15.54 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/1.452, allocations: 72 kB / 1.552 GB, free: 15.47 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/1.455, allocations: 93.42 kB / 1.552 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/1.455, allocations: 238.5 kB / 1.552 GB, free: 15.15 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/1.455, allocations: 116 kB / 1.553 GB, free: 15.04 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00183/1.457, allocations: 1.153 MB / 1.554 GB, free: 13.86 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.51e-07/1.457, allocations: 0 / 1.554 GB, free: 13.86 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002783/1.46, allocations: 1.236 MB / 1.555 GB, free: 12.62 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.0009362/1.461, allocations: 462.4 kB / 1.555 GB, free: 12.16 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006391/1.467, allocations: 3.945 MB / 1.559 GB, free: 8.207 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.467, allocations: 3.938 kB / 1.559 GB, free: 8.203 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003221/1.471, allocations: 2.152 MB / 1.561 GB, free: 6.051 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007652/1.478, allocations: 1.593 MB / 1.563 GB, free: 4.488 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/1.492, allocations: 7.79 MB / 1.57 GB, free: 12.62 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/1.495, allocations: 2.197 MB / 1.573 GB, free: 10.38 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.004863/1.5, allocations: 1.212 MB / 1.574 GB, free: 9.164 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.501, allocations: 271.4 kB / 1.574 GB, free: 8.898 MB / 1.311 GB Notification: Performance of SimCode: time 7.21e-07/1.501, allocations: 0 / 1.574 GB, free: 8.898 MB / 1.311 GB Notification: Performance of Templates: time 0.6105/2.112, allocations: 62.65 MB / 1.635 GB, free: 427.5 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