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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001282/0.001282, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001533/0.001533, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.7 MB / 0.7117 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 12 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5608, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.792/1.353, allocations: 269.6 MB / 1.286 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01927/1.372, allocations: 15.97 MB / 1.301 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/1.376, allocations: 68.38 kB / 1.301 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003979/1.38, allocations: 1.24 MB / 1.303 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/1.392, allocations: 4.687 MB / 1.307 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00594/1.398, allocations: 2.019 MB / 1.309 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009166/1.408, allocations: 9.36 MB / 1.318 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/1.411, allocations: 1.933 MB / 1.32 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/1.416, allocations: 2.396 MB / 1.322 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/1.42, allocations: 2.61 MB / 1.325 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000614/1.421, allocations: 158.1 kB / 1.325 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008877/1.43, allocations: 3.061 MB / 1.328 GB, free: 22.74 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001729/1.431, allocations: 1.156 MB / 1.329 GB, free: 22.74 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/1.433, allocations: 0.6654 MB / 1.33 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006971/1.44, allocations: 4.528 MB / 1.334 GB, free: 22.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.44, allocations: 0 / 1.334 GB, free: 22.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.394e-06/1.44, allocations: 0 / 1.334 GB, free: 22.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000135/1.44, allocations: 0 / 1.334 GB, free: 22.34 MB / 0.9981 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.009688/1.45, allocations: 3.584 MB / 1.338 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.45, allocations: 13.3 kB / 1.338 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006796/1.457, allocations: 0.9164 MB / 1.339 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/1.46, allocations: 1.778 MB / 1.34 GB, free: 19.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/1.46, allocations: 197.2 kB / 1.341 GB, free: 19.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/1.461, allocations: 265.6 kB / 1.341 GB, free: 19.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00533/1.466, allocations: 3.314 MB / 1.344 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/1.466, allocations: 3.375 kB / 1.344 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/1.467, allocations: 107.3 kB / 1.344 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/1.467, allocations: 145 kB / 1.344 GB, free: 18.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005352/1.472, allocations: 3.477 MB / 1.348 GB, free: 17.48 MB / 0.9981 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.01461/1.487, allocations: 12.1 MB / 1.36 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/1.491, allocations: 3.495 MB / 1.363 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/1.494, allocations: 1.791 MB / 1.365 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/1.495, allocations: 1.499 MB / 1.366 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/1.495, allocations: 64.81 kB / 1.366 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=278): time 5.65e-06/1.495, allocations: 0 / 1.366 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=278): time 0.006486/1.502, allocations: 3.869 MB / 1.37 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.502, allocations: 80.31 kB / 1.37 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/1.504, allocations: 1.361 MB / 1.371 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/1.504, allocations: 77.36 kB / 1.372 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006373/1.505, allocations: 0.9888 MB / 1.373 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/1.506, allocations: 0.9482 MB / 1.373 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.506, allocations: 47.91 kB / 1.373 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.506, allocations: 405.5 kB / 1.374 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/1.508, allocations: 1.088 MB / 1.375 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.51, allocations: 1.349 MB / 1.376 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/1.512, allocations: 1.275 MB / 1.378 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.512, allocations: 6.938 kB / 1.378 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005014/1.517, allocations: 2.956 MB / 1.38 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.517, allocations: 8.562 kB / 1.38 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/1.517, allocations: 8 kB / 1.38 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/1.517, allocations: 16 kB / 1.38 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/1.519, allocations: 0.5069 MB / 1.381 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.002e-05/1.519, allocations: 15.09 kB / 1.381 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/1.523, allocations: 385 kB / 1.381 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/1.523, allocations: 81.3 kB / 1.381 GB, free: 1.223 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001455/1.524, allocations: 0.6499 MB / 1.382 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007112/1.525, allocations: 231.1 kB / 1.382 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/1.531, allocations: 3.109 MB / 1.385 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/1.531, allocations: 28 kB / 1.385 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.531, allocations: 0 / 1.385 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003989/1.535, allocations: 2.642 MB / 1.388 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.545, allocations: 6.208 MB / 1.394 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.545, allocations: 4 kB / 1.394 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.548, allocations: 0.542 MB / 1.394 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.341e-05/1.548, allocations: 8 kB / 1.394 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.548, allocations: 59.48 kB / 1.395 GB, free: 8.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.286e-05/1.548, allocations: 15.95 kB / 1.395 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.548, allocations: 0 / 1.395 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006978/1.555, allocations: 4.555 MB / 1.399 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.557, allocations: 0.6159 MB / 1.4 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/1.558, allocations: 47 kB / 1.4 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.56, allocations: 230 kB / 1.4 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/1.56, allocations: 168.2 kB / 1.4 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.56, allocations: 84.53 kB / 1.4 GB, free: 4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001571/1.562, allocations: 0.9325 MB / 1.401 GB, free: 3.324 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.562, allocations: 0 / 1.401 GB, free: 3.324 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002661/1.565, allocations: 0.9817 MB / 1.402 GB, free: 2.422 MB / 1.014 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007064/1.565, allocations: 369.8 kB / 1.402 GB, free: 2.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004385/1.57, allocations: 2.746 MB / 1.405 GB, free: 260 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.57, allocations: 1.125 kB / 1.405 GB, free: 260 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/1.572, allocations: 1.5 MB / 1.406 GB, free: 15.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006267/1.578, allocations: 1.289 MB / 1.408 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.59, allocations: 7.323 MB / 1.415 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/1.592, allocations: 1.899 MB / 1.417 GB, free: 5.727 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00393/1.596, allocations: 0.8436 MB / 1.418 GB, free: 4.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009885/1.597, allocations: 202.8 kB / 1.418 GB, free: 4.688 MB / 1.029 GB Notification: Performance of SimCode: time 1.363e-06/1.597, allocations: 0 / 1.418 GB, free: 4.688 MB / 1.029 GB Notification: Performance of Templates: time 0.0756/1.673, allocations: 45.69 MB / 1.462 GB, free: 7.695 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches