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.001464/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001805/0.001805, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.276/2.276, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6279/0.6292, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3057/0.9349, allocations: 293 MB / 1.235 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6801/1.615, allocations: 17.21 MB / 1.252 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/1.619, allocations: 71.88 kB / 1.252 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005862/1.625, allocations: 1.654 MB / 1.253 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01753/1.643, allocations: 6.075 MB / 1.259 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008913/1.652, allocations: 2.667 MB / 1.262 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01738/1.669, allocations: 11.19 MB / 1.273 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005125/1.674, allocations: 2.217 MB / 1.275 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007143/1.681, allocations: 2.418 MB / 1.277 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007799/1.689, allocations: 2.809 MB / 1.28 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001493/1.691, allocations: 183.6 kB / 1.28 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/1.707, allocations: 7.182 MB / 1.287 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002921/1.71, allocations: 1.199 MB / 1.289 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005939/1.716, allocations: 1.729 MB / 1.29 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01809/1.734, allocations: 7.166 MB / 1.297 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.734, allocations: 0 / 1.297 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/1.734, allocations: 0 / 1.297 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002069/1.734, allocations: 0 / 1.297 GB, free: 0.9492 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.0148/1.749, allocations: 4.127 MB / 1.301 GB, free: 15.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.749, allocations: 11.41 kB / 1.301 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007401/1.756, allocations: 0.9252 MB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004796/1.761, allocations: 1.829 MB / 1.304 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/1.761, allocations: 195.7 kB / 1.304 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/1.762, allocations: 262.6 kB / 1.304 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008868/1.771, allocations: 3.332 MB / 1.308 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/1.771, allocations: 11.72 kB / 1.308 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005751/1.772, allocations: 111.3 kB / 1.308 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/1.772, allocations: 138.7 kB / 1.308 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006276/1.778, allocations: 3.497 MB / 1.311 GB, free: 14.22 MB / 1.014 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.01689/1.795, allocations: 12.09 MB / 1.323 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/1.8, allocations: 3.51 MB / 1.327 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/1.802, allocations: 1.816 MB / 1.328 GB, free: 7.555 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.804, allocations: 1.494 MB / 1.33 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/1.804, allocations: 64.23 kB / 1.33 GB, free: 5.906 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.078e-06/1.804, allocations: 0 / 1.33 GB, free: 5.906 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006156/1.81, allocations: 3.89 MB / 1.334 GB, free: 5.539 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/1.81, allocations: 79.34 kB / 1.334 GB, free: 5.473 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/1.812, allocations: 1.379 MB / 1.335 GB, free: 5.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/1.812, allocations: 74.61 kB / 1.335 GB, free: 5.059 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/1.813, allocations: 0.9845 MB / 1.336 GB, free: 4.566 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009465/1.814, allocations: 0.9444 MB / 1.337 GB, free: 3.867 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005819/1.814, allocations: 410.8 kB / 1.337 GB, free: 3.801 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.814, allocations: 305.9 kB / 1.338 GB, free: 3.504 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/1.816, allocations: 1.089 MB / 1.339 GB, free: 3.344 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/1.818, allocations: 1.36 MB / 1.34 GB, free: 2.973 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/1.822, allocations: 2.65 MB / 1.343 GB, free: 2.523 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/1.822, allocations: 0 / 1.343 GB, free: 2.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004832/1.826, allocations: 2.973 MB / 1.346 GB, free: 2.008 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/1.827, allocations: 9.719 kB / 1.346 GB, free: 2.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.827, allocations: 6.594 kB / 1.346 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/1.827, allocations: 15.81 kB / 1.346 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/1.829, allocations: 0.5212 MB / 1.346 GB, free: 1.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/1.829, allocations: 13.56 kB / 1.346 GB, free: 1.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/1.832, allocations: 380 kB / 1.347 GB, free: 1.758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.832, allocations: 84.17 kB / 1.347 GB, free: 1.754 MB / 1.014 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.00126/1.833, allocations: 0.6477 MB / 1.347 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/1.834, allocations: 228.8 kB / 1.347 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/1.839, allocations: 3.117 MB / 1.351 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.839, allocations: 31.58 kB / 1.351 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.839, allocations: 0 / 1.351 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003508/1.842, allocations: 2.655 MB / 1.353 GB, free: 320 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.853, allocations: 6.321 MB / 1.359 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.853, allocations: 0 / 1.359 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/1.856, allocations: 0.5432 MB / 1.36 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.859e-05/1.856, allocations: 8 kB / 1.36 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.856, allocations: 61.92 kB / 1.36 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/1.856, allocations: 8 kB / 1.36 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.856, allocations: 0 / 1.36 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006993/1.863, allocations: 4.573 MB / 1.364 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.865, allocations: 0.611 MB / 1.365 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/1.866, allocations: 54.91 kB / 1.365 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/1.868, allocations: 228.9 kB / 1.365 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/1.868, allocations: 157.9 kB / 1.365 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/1.868, allocations: 79.98 kB / 1.365 GB, free: 8.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001364/1.87, allocations: 0.9462 MB / 1.366 GB, free: 7.125 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.87, allocations: 0 / 1.366 GB, free: 7.125 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002713/1.873, allocations: 0.9823 MB / 1.367 GB, free: 6.141 MB / 1.029 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.0007022/1.873, allocations: 382.8 kB / 1.368 GB, free: 5.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004556/1.878, allocations: 2.761 MB / 1.37 GB, free: 3.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.878, allocations: 4 kB / 1.37 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/1.88, allocations: 1.51 MB / 1.372 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/1.886, allocations: 1.289 MB / 1.373 GB, free: 312 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.896, allocations: 7.229 MB / 1.38 GB, free: 9.059 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.898, allocations: 1.895 MB / 1.382 GB, free: 7.125 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003511/1.901, allocations: 0.8436 MB / 1.383 GB, free: 6.277 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000794/1.902, allocations: 211.3 kB / 1.383 GB, free: 6.07 MB / 1.045 GB Notification: Performance of SimCode: time 8.61e-07/1.902, allocations: 6.531 kB / 1.383 GB, free: 6.066 MB / 1.045 GB Notification: Performance of Templates: time 0.07996/1.982, allocations: 47.48 MB / 1.429 GB, free: 7.344 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches