Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001679/0.001679, allocations: 108 kB / 16.41 MB, free: 6.5 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.001892/0.001892, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.54/2.54, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3188/1.328, allocations: 295.1 MB / 1.455 GB, free: 11.66 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02673/1.355, allocations: 17.02 MB / 1.472 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004752/1.359, allocations: 79.62 kB / 1.472 GB, free: 10.53 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00577/1.365, allocations: 1.978 MB / 1.474 GB, free: 8.543 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01897/1.384, allocations: 6.63 MB / 1.481 GB, free: 1.887 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.009015/1.393, allocations: 2.976 MB / 1.483 GB, free: 14.91 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01167/1.405, allocations: 7.72 MB / 1.491 GB, free: 7.168 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/1.41, allocations: 2.583 MB / 1.494 GB, free: 4.523 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006608/1.417, allocations: 2.858 MB / 1.496 GB, free: 1.656 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006373/1.423, allocations: 2.694 MB / 1.499 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001421/1.424, allocations: 332 kB / 1.499 GB, free: 14.64 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/1.439, allocations: 6.196 MB / 1.505 GB, free: 8.43 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002618/1.441, allocations: 1.336 MB / 1.507 GB, free: 7.09 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004883/1.446, allocations: 1.879 MB / 1.508 GB, free: 5.203 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01706/1.463, allocations: 6.895 MB / 1.515 GB, free: 14.29 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.463, allocations: 4 kB / 1.515 GB, free: 14.29 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.352e-06/1.463, allocations: 0 / 1.515 GB, free: 14.29 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.000211/1.464, allocations: 0 / 1.515 GB, free: 14.29 MB / 1.248 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.01424/1.478, allocations: 4.115 MB / 1.519 GB, free: 10.1 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.478, allocations: 16.86 kB / 1.519 GB, free: 10.09 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007008/1.485, allocations: 0.9172 MB / 1.52 GB, free: 9.164 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005077/1.49, allocations: 1.924 MB / 1.522 GB, free: 7.184 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/1.49, allocations: 193.1 kB / 1.522 GB, free: 6.992 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008203/1.491, allocations: 267.9 kB / 1.522 GB, free: 6.73 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007568/1.499, allocations: 3.331 MB / 1.526 GB, free: 3.297 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.206e-05/1.499, allocations: 7.938 kB / 1.526 GB, free: 3.289 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004394/1.499, allocations: 108 kB / 1.526 GB, free: 3.184 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/1.499, allocations: 137 kB / 1.526 GB, free: 3.047 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006728/1.506, allocations: 3.494 MB / 1.529 GB, free: 15.54 MB / 1.264 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.01828/1.524, allocations: 12.14 MB / 1.541 GB, free: 2.496 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004978/1.529, allocations: 3.506 MB / 1.545 GB, free: 14.92 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/1.532, allocations: 1.861 MB / 1.546 GB, free: 13.05 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/1.534, allocations: 1.489 MB / 1.548 GB, free: 11.25 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.393e-05/1.534, allocations: 68.73 kB / 1.548 GB, free: 11.17 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 8.776e-06/1.534, allocations: 0 / 1.548 GB, free: 11.17 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.006994/1.541, allocations: 3.881 MB / 1.552 GB, free: 7.234 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.541, allocations: 85.59 kB / 1.552 GB, free: 7.137 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/1.544, allocations: 1.383 MB / 1.553 GB, free: 5.746 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/1.544, allocations: 73.7 kB / 1.553 GB, free: 5.668 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007262/1.545, allocations: 0.9804 MB / 1.554 GB, free: 4.676 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000929/1.545, allocations: 0.9431 MB / 1.555 GB, free: 3.719 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006917/1.546, allocations: 408.8 kB / 1.556 GB, free: 3.312 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/1.546, allocations: 301.1 kB / 1.556 GB, free: 3.016 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/1.548, allocations: 1.098 MB / 1.557 GB, free: 1.914 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/1.55, allocations: 1.359 MB / 1.558 GB, free: 500 kB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8411/2.391, allocations: 2.644 MB / 1.561 GB, free: 384 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/2.391, allocations: 1.375 kB / 1.561 GB, free: 384 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00571/2.397, allocations: 2.977 MB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/2.397, allocations: 3.969 kB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/2.397, allocations: 4.766 kB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/2.397, allocations: 19.59 kB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/2.399, allocations: 0.5135 MB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.124e-05/2.399, allocations: 21.34 kB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/2.402, allocations: 178.8 kB / 1.564 GB, free: 382.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/2.402, allocations: 82.12 kB / 1.565 GB, free: 382.8 MB / 1.279 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.001325/2.403, allocations: 0.6423 MB / 1.565 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/2.404, allocations: 234.7 kB / 1.565 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/2.409, allocations: 3.114 MB / 1.568 GB, free: 381.1 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/2.409, allocations: 23.72 kB / 1.568 GB, free: 381.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/2.409, allocations: 3.969 kB / 1.568 GB, free: 381.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00343/2.412, allocations: 2.658 MB / 1.571 GB, free: 380 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008937/2.421, allocations: 6.213 MB / 1.577 GB, free: 377.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/2.421, allocations: 0 / 1.577 GB, free: 377.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/2.423, allocations: 0.5374 MB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/2.423, allocations: 15.53 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/2.423, allocations: 57.95 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/2.424, allocations: 15.12 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/2.424, allocations: 0.8125 kB / 1.578 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006476/2.43, allocations: 4.574 MB / 1.582 GB, free: 374.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/2.431, allocations: 0.6064 MB / 1.583 GB, free: 373.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/2.431, allocations: 56.78 kB / 1.583 GB, free: 373.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/2.433, allocations: 69.56 kB / 1.583 GB, free: 373.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/2.433, allocations: 165.5 kB / 1.583 GB, free: 373.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/2.433, allocations: 90.34 kB / 1.583 GB, free: 373.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001121/2.435, allocations: 0.9419 MB / 1.584 GB, free: 372.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.51e-07/2.435, allocations: 0 / 1.584 GB, free: 372.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002019/2.437, allocations: 0.9824 MB / 1.585 GB, free: 371.8 MB / 1.279 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.00061/2.437, allocations: 372.9 kB / 1.585 GB, free: 371.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003519/2.441, allocations: 2.772 MB / 1.588 GB, free: 368.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/2.441, allocations: 3.375 kB / 1.588 GB, free: 368.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/2.442, allocations: 1.507 MB / 1.59 GB, free: 367.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/2.447, allocations: 1.352 MB / 1.591 GB, free: 366.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008025/2.455, allocations: 6.149 MB / 1.597 GB, free: 360.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/2.456, allocations: 1.899 MB / 1.599 GB, free: 358.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/2.457, allocations: 235.4 kB / 1.599 GB, free: 358.1 MB / 1.279 GB Notification: Performance of SimCode: time 1.062e-06/2.457, allocations: 0 / 1.599 GB, free: 358.1 MB / 1.279 GB Notification: Performance of Templates: time 0.05371/2.511, allocations: 43.13 MB / 1.641 GB, free: 315.2 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches