Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.007066/0.007066, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.001569/0.001569, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.681/2.681, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3345, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9166/1.251, allocations: 314.2 MB / 1.473 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02882/1.28, allocations: 18.45 MB / 1.491 GB, free: 7.785 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/1.284, allocations: 87.56 kB / 1.491 GB, free: 7.699 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006381/1.29, allocations: 2.25 MB / 1.494 GB, free: 5.438 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0199/1.31, allocations: 7.527 MB / 1.501 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.009184/1.32, allocations: 3.266 MB / 1.504 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01213/1.332, allocations: 9.11 MB / 1.513 GB, free: 1.484 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005199/1.337, allocations: 3.122 MB / 1.516 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007317/1.344, allocations: 3.395 MB / 1.519 GB, free: 10.9 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006284/1.351, allocations: 3.232 MB / 1.523 GB, free: 7.668 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001414/1.352, allocations: 404 kB / 1.523 GB, free: 7.273 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/1.367, allocations: 7.026 MB / 1.53 GB, free: 236 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002572/1.37, allocations: 1.687 MB / 1.532 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00362/1.374, allocations: 2.303 MB / 1.534 GB, free: 12.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/1.391, allocations: 8.212 MB / 1.542 GB, free: 3.988 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.391, allocations: 3.984 kB / 1.542 GB, free: 3.984 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.154e-06/1.391, allocations: 4 kB / 1.542 GB, free: 3.98 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001777/1.391, allocations: 0 / 1.542 GB, free: 3.98 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.01435/1.405, allocations: 5.11 MB / 1.547 GB, free: 14.79 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.405, allocations: 12.03 kB / 1.547 GB, free: 14.78 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007123/1.413, allocations: 1.032 MB / 1.548 GB, free: 13.75 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/1.417, allocations: 2.261 MB / 1.55 GB, free: 11.43 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/1.417, allocations: 250.4 kB / 1.55 GB, free: 11.19 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/1.418, allocations: 331.9 kB / 1.551 GB, free: 10.86 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007011/1.425, allocations: 4.232 MB / 1.555 GB, free: 6.547 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-05/1.425, allocations: 11.98 kB / 1.555 GB, free: 6.535 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/1.425, allocations: 132 kB / 1.555 GB, free: 6.406 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/1.425, allocations: 170.4 kB / 1.555 GB, free: 6.238 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00796/1.433, allocations: 4.787 MB / 1.56 GB, free: 1.441 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.01965/1.453, allocations: 14.46 MB / 1.574 GB, free: 2.012 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006179/1.459, allocations: 4.564 MB / 1.578 GB, free: 13.46 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/1.463, allocations: 2.452 MB / 1.581 GB, free: 11 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/1.464, allocations: 1.612 MB / 1.582 GB, free: 9.051 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.422e-05/1.465, allocations: 85.58 kB / 1.582 GB, free: 8.957 MB / 1.248 GB Notification: Performance of pre-optimization done (n=392): time 5.38e-06/1.465, allocations: 0 / 1.582 GB, free: 8.957 MB / 1.248 GB Notification: Performance of matching and sorting (n=392): time 0.009621/1.474, allocations: 5.545 MB / 1.588 GB, free: 3.391 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/1.474, allocations: 94.48 kB / 1.588 GB, free: 3.285 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/1.477, allocations: 1.684 MB / 1.589 GB, free: 1.559 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/1.477, allocations: 89.7 kB / 1.59 GB, free: 1.465 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/1.478, allocations: 1.157 MB / 1.591 GB, free: 304 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.479, allocations: 1.386 MB / 1.592 GB, free: 14.9 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008294/1.48, allocations: 0.5469 MB / 1.593 GB, free: 14.34 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.48, allocations: 313.1 kB / 1.593 GB, free: 14.04 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/1.483, allocations: 1.56 MB / 1.594 GB, free: 12.47 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/1.485, allocations: 1.923 MB / 1.596 GB, free: 10.48 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00561/1.491, allocations: 3.769 MB / 1.6 GB, free: 6.625 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.491, allocations: 0 / 1.6 GB, free: 6.625 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006846/1.498, allocations: 4.19 MB / 1.604 GB, free: 2.41 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.498, allocations: 9.719 kB / 1.604 GB, free: 2.402 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.498, allocations: 5.094 kB / 1.604 GB, free: 2.398 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/1.498, allocations: 23.98 kB / 1.604 GB, free: 2.375 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/1.501, allocations: 0.695 MB / 1.605 GB, free: 1.68 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/1.501, allocations: 23.94 kB / 1.605 GB, free: 1.656 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/1.503, allocations: 277.8 kB / 1.605 GB, free: 1.383 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/1.504, allocations: 120 kB / 1.605 GB, free: 1.266 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.001457/1.505, allocations: 0.786 MB / 1.606 GB, free: 480 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/1.506, allocations: 302.1 kB / 1.606 GB, free: 176 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/1.514, allocations: 4.436 MB / 1.611 GB, free: 11.7 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/1.514, allocations: 40 kB / 1.611 GB, free: 11.66 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.514, allocations: 0 / 1.611 GB, free: 11.66 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005873/1.52, allocations: 3.799 MB / 1.614 GB, free: 7.789 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.535, allocations: 8.633 MB / 1.623 GB, free: 15 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.535, allocations: 4 kB / 1.623 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/1.538, allocations: 0.7259 MB / 1.623 GB, free: 14.27 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-05/1.539, allocations: 16 kB / 1.623 GB, free: 14.25 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003461/1.539, allocations: 83.98 kB / 1.624 GB, free: 14.17 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.275e-05/1.539, allocations: 19.98 kB / 1.624 GB, free: 14.15 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.539, allocations: 4 kB / 1.624 GB, free: 14.14 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.549, allocations: 6.585 MB / 1.63 GB, free: 7.461 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/1.551, allocations: 0.8184 MB / 1.631 GB, free: 6.621 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006514/1.552, allocations: 72 kB / 1.631 GB, free: 6.551 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.554, allocations: 82.22 kB / 1.631 GB, free: 6.473 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/1.555, allocations: 238.5 kB / 1.631 GB, free: 6.238 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/1.555, allocations: 112 kB / 1.631 GB, free: 6.129 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002071/1.557, allocations: 1.157 MB / 1.632 GB, free: 4.949 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.11e-07/1.557, allocations: 0 / 1.632 GB, free: 4.949 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003034/1.56, allocations: 1.24 MB / 1.634 GB, free: 3.707 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.001008/1.561, allocations: 464.1 kB / 1.634 GB, free: 3.246 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006473/1.567, allocations: 3.948 MB / 1.638 GB, free: 15.29 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.568, allocations: 3.938 kB / 1.638 GB, free: 15.28 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00327/1.571, allocations: 2.148 MB / 1.64 GB, free: 13.13 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007079/1.578, allocations: 1.602 MB / 1.642 GB, free: 11.56 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.591, allocations: 7.778 MB / 1.649 GB, free: 3.703 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/1.594, allocations: 2.201 MB / 1.651 GB, free: 1.465 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.004367/1.598, allocations: 1.197 MB / 1.653 GB, free: 268 kB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.599, allocations: 271.4 kB / 1.653 GB, free: 0 / 1.311 GB Notification: Performance of SimCode: time 1.042e-06/1.599, allocations: 4.047 kB / 1.653 GB, free: 15.99 MB / 1.326 GB Notification: Performance of Templates: time 0.09889/1.698, allocations: 62.66 MB / 1.714 GB, free: 2.094 MB / 1.373 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches