Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001276/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00142/0.00142, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 66.42 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3581, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9782/1.336, allocations: 293 MB / 1.338 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.026/1.362, allocations: 17.22 MB / 1.355 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006264/1.369, allocations: 72.12 kB / 1.355 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007245/1.376, allocations: 1.658 MB / 1.357 GB, free: 460 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02077/1.397, allocations: 6.073 MB / 1.363 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009358/1.406, allocations: 2.668 MB / 1.365 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01461/1.421, allocations: 11.2 MB / 1.376 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004648/1.426, allocations: 2.21 MB / 1.378 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006756/1.432, allocations: 2.409 MB / 1.381 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006948/1.439, allocations: 2.815 MB / 1.383 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001251/1.441, allocations: 183 kB / 1.384 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/1.458, allocations: 7.183 MB / 1.391 GB, free: 9.062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00273/1.461, allocations: 1.205 MB / 1.392 GB, free: 8.293 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005888/1.467, allocations: 1.729 MB / 1.393 GB, free: 7.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01924/1.486, allocations: 7.171 MB / 1.4 GB, free: 3.219 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.486, allocations: 0 / 1.4 GB, free: 3.219 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/1.486, allocations: 0 / 1.4 GB, free: 3.219 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002056/1.486, allocations: 0 / 1.4 GB, free: 3.219 MB / 1.014 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.01408/1.5, allocations: 4.121 MB / 1.405 GB, free: 484 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.5, allocations: 10.06 kB / 1.405 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007105/1.507, allocations: 0.9088 MB / 1.405 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/1.512, allocations: 1.847 MB / 1.407 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/1.512, allocations: 196.3 kB / 1.407 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007037/1.513, allocations: 259.3 kB / 1.408 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007239/1.52, allocations: 3.334 MB / 1.411 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.461e-05/1.52, allocations: 3.906 kB / 1.411 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/1.52, allocations: 106.6 kB / 1.411 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/1.52, allocations: 145 kB / 1.411 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/1.528, allocations: 3.498 MB / 1.415 GB, free: 7.066 MB / 1.029 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.02155/1.549, allocations: 12.09 MB / 1.426 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/1.554, allocations: 3.512 MB / 1.43 GB, free: 6.598 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/1.558, allocations: 1.821 MB / 1.432 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/1.559, allocations: 1.49 MB / 1.433 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/1.559, allocations: 64.75 kB / 1.433 GB, free: 2.906 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 5.26e-06/1.559, allocations: 0 / 1.433 GB, free: 2.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.007319/1.567, allocations: 3.885 MB / 1.437 GB, free: 14.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/1.567, allocations: 85.59 kB / 1.437 GB, free: 14.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/1.569, allocations: 1.379 MB / 1.438 GB, free: 13.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/1.569, allocations: 73.7 kB / 1.438 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007986/1.57, allocations: 0.9863 MB / 1.439 GB, free: 12.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008976/1.571, allocations: 0.9479 MB / 1.44 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006675/1.572, allocations: 401 kB / 1.441 GB, free: 11.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.572, allocations: 305.1 kB / 1.441 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/1.574, allocations: 1.094 MB / 1.442 GB, free: 9.676 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/1.576, allocations: 1.366 MB / 1.443 GB, free: 8.242 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/1.58, allocations: 2.646 MB / 1.446 GB, free: 5.504 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.58, allocations: 0 / 1.446 GB, free: 5.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005163/1.585, allocations: 2.97 MB / 1.449 GB, free: 2.488 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.585, allocations: 10.19 kB / 1.449 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.585, allocations: 7.984 kB / 1.449 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.585, allocations: 16 kB / 1.449 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/1.587, allocations: 0.5071 MB / 1.449 GB, free: 1.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.593e-05/1.587, allocations: 16.34 kB / 1.449 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/1.59, allocations: 385.6 kB / 1.45 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.591, allocations: 80 kB / 1.45 GB, free: 1.477 MB / 1.061 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.001351/1.592, allocations: 0.647 MB / 1.45 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007603/1.593, allocations: 233.3 kB / 1.451 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/1.598, allocations: 3.118 MB / 1.454 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/1.598, allocations: 24 kB / 1.454 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.598, allocations: 0 / 1.454 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003983/1.602, allocations: 2.657 MB / 1.456 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.613, allocations: 6.218 MB / 1.462 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.613, allocations: 0 / 1.462 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.616, allocations: 0.5423 MB / 1.463 GB, free: 3.867 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/1.616, allocations: 12 kB / 1.463 GB, free: 3.855 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/1.616, allocations: 63.98 kB / 1.463 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.892e-05/1.616, allocations: 11.94 kB / 1.463 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.616, allocations: 0 / 1.463 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006985/1.623, allocations: 4.573 MB / 1.467 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/1.625, allocations: 0.6071 MB / 1.468 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/1.625, allocations: 55.94 kB / 1.468 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.628, allocations: 230.3 kB / 1.468 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/1.628, allocations: 165.9 kB / 1.469 GB, free: 14.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.629, allocations: 83.97 kB / 1.469 GB, free: 13.98 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001701/1.63, allocations: 0.9384 MB / 1.47 GB, free: 13.04 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.63, allocations: 0 / 1.47 GB, free: 13.04 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002921/1.633, allocations: 0.9823 MB / 1.47 GB, free: 12.06 MB / 1.092 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.0007945/1.634, allocations: 386.6 kB / 1.471 GB, free: 11.68 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004669/1.639, allocations: 2.763 MB / 1.474 GB, free: 8.891 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.639, allocations: 4 kB / 1.474 GB, free: 8.887 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002325/1.641, allocations: 1.507 MB / 1.475 GB, free: 7.375 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007747/1.649, allocations: 1.272 MB / 1.476 GB, free: 6.113 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.663, allocations: 7.238 MB / 1.483 GB, free: 14.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/1.665, allocations: 1.899 MB / 1.485 GB, free: 12.9 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004465/1.67, allocations: 0.8358 MB / 1.486 GB, free: 12.06 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.671, allocations: 207.4 kB / 1.486 GB, free: 11.86 MB / 1.107 GB Notification: Performance of SimCode: time 1.433e-06/1.671, allocations: 0 / 1.486 GB, free: 11.86 MB / 1.107 GB Notification: Performance of Templates: time 0.07871/1.75, allocations: 47.49 MB / 1.533 GB, free: 12.93 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches