Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001257/0.001257, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001151/0.001151, allocations: 187 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.4/2.4, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 68.12 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.6791, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.2702/0.9493, allocations: 314.2 MB / 1.515 GB, free: 2.355 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.9728, allocations: 18.44 MB / 1.533 GB, free: 15.86 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.976, allocations: 87.56 kB / 1.533 GB, free: 15.77 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004534/0.9805, allocations: 2.148 MB / 1.535 GB, free: 13.61 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01805/0.9986, allocations: 7.316 MB / 1.543 GB, free: 6.27 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009903/1.009, allocations: 3.231 MB / 1.546 GB, free: 3.039 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.0105/1.019, allocations: 9.108 MB / 1.555 GB, free: 9.906 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004265/1.023, allocations: 3.104 MB / 1.558 GB, free: 6.742 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005494/1.029, allocations: 3.352 MB / 1.561 GB, free: 3.379 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00548/1.034, allocations: 3.225 MB / 1.564 GB, free: 160 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.6356/1.67, allocations: 402 kB / 1.564 GB, free: 16.59 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/1.684, allocations: 6.998 MB / 1.571 GB, free: 16.59 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00226/1.686, allocations: 1.68 MB / 1.573 GB, free: 16.59 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00362/1.689, allocations: 2.303 MB / 1.575 GB, free: 16.59 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01473/1.704, allocations: 8.191 MB / 1.583 GB, free: 16.36 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.704, allocations: 4.25 kB / 1.583 GB, free: 16.36 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.403e-06/1.704, allocations: 0 / 1.583 GB, free: 16.36 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001003/1.704, allocations: 3.094 kB / 1.583 GB, free: 16.36 MB / 1.279 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.01151/1.716, allocations: 4.981 MB / 1.588 GB, free: 14.48 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/1.716, allocations: 11.25 kB / 1.588 GB, free: 14.48 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006204/1.722, allocations: 1.009 MB / 1.589 GB, free: 14.27 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/1.726, allocations: 2.249 MB / 1.591 GB, free: 13.7 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.726, allocations: 243.7 kB / 1.591 GB, free: 13.69 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/1.727, allocations: 330.8 kB / 1.592 GB, free: 13.69 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006516/1.733, allocations: 4.239 MB / 1.596 GB, free: 13.39 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/1.734, allocations: 11.25 kB / 1.596 GB, free: 13.39 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003007/1.734, allocations: 134.7 kB / 1.596 GB, free: 13.39 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/1.734, allocations: 171.4 kB / 1.596 GB, free: 13.38 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006709/1.741, allocations: 4.781 MB / 1.601 GB, free: 13.35 MB / 1.279 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.01607/1.757, allocations: 14.44 MB / 1.615 GB, free: 22.93 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004987/1.762, allocations: 4.552 MB / 1.619 GB, free: 22.79 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00278/1.765, allocations: 2.458 MB / 1.622 GB, free: 22.76 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/1.766, allocations: 1.608 MB / 1.623 GB, free: 21.07 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.766, allocations: 78.91 kB / 1.623 GB, free: 21.02 MB / 1.295 GB Notification: Performance of pre-optimization done (n=392): time 5.17e-06/1.766, allocations: 1.75 kB / 1.623 GB, free: 21.02 MB / 1.295 GB Notification: Performance of matching and sorting (n=392): time 0.007723/1.774, allocations: 5.534 MB / 1.629 GB, free: 20.74 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/1.774, allocations: 94.3 kB / 1.629 GB, free: 20.67 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/1.776, allocations: 1.684 MB / 1.631 GB, free: 20.46 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/1.776, allocations: 96.48 kB / 1.631 GB, free: 20.43 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/1.777, allocations: 1.138 MB / 1.632 GB, free: 20 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007872/1.778, allocations: 1.316 MB / 1.633 GB, free: 19.13 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007202/1.778, allocations: 0.5493 MB / 1.634 GB, free: 19.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/1.778, allocations: 303.6 kB / 1.634 GB, free: 18.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/1.78, allocations: 1.568 MB / 1.635 GB, free: 18.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.783, allocations: 1.914 MB / 1.637 GB, free: 18.59 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/1.787, allocations: 3.771 MB / 1.641 GB, free: 18.33 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.787, allocations: 2.938 kB / 1.641 GB, free: 18.33 MB / 1.295 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005628/1.793, allocations: 4.174 MB / 1.645 GB, free: 18.06 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.793, allocations: 8.688 kB / 1.645 GB, free: 18.06 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.793, allocations: 8.062 kB / 1.645 GB, free: 18.06 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/1.793, allocations: 24.05 kB / 1.645 GB, free: 18.06 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/1.795, allocations: 0.6929 MB / 1.646 GB, free: 18.06 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.14e-05/1.795, allocations: 22.75 kB / 1.646 GB, free: 18.06 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/1.798, allocations: 255.5 kB / 1.646 GB, free: 17.92 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/1.798, allocations: 118.3 kB / 1.646 GB, free: 17.92 MB / 1.295 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.001338/1.8, allocations: 0.7998 MB / 1.647 GB, free: 17.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005651/1.8, allocations: 294.2 kB / 1.647 GB, free: 17.66 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/1.806, allocations: 4.426 MB / 1.652 GB, free: 17.45 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/1.806, allocations: 39.66 kB / 1.652 GB, free: 17.45 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.806, allocations: 0 / 1.652 GB, free: 17.45 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004453/1.811, allocations: 3.804 MB / 1.655 GB, free: 17.11 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.822, allocations: 8.631 MB / 1.664 GB, free: 16.33 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.822, allocations: 3.094 kB / 1.664 GB, free: 16.33 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/1.825, allocations: 0.7227 MB / 1.664 GB, free: 16.33 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.196e-05/1.825, allocations: 18.22 kB / 1.664 GB, free: 16.33 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.825, allocations: 86.25 kB / 1.665 GB, free: 16.33 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/1.825, allocations: 15.8 kB / 1.665 GB, free: 16.33 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.825, allocations: 9.531 kB / 1.665 GB, free: 16.32 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/1.833, allocations: 6.572 MB / 1.671 GB, free: 15.77 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.834, allocations: 0.7941 MB / 1.672 GB, free: 15.48 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/1.835, allocations: 69.97 kB / 1.672 GB, free: 15.48 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.837, allocations: 87.52 kB / 1.672 GB, free: 15.47 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/1.837, allocations: 238.2 kB / 1.672 GB, free: 15.46 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/1.837, allocations: 117.1 kB / 1.672 GB, free: 15.46 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001305/1.839, allocations: 1.152 MB / 1.673 GB, free: 15.32 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.4e-07/1.839, allocations: 0 / 1.673 GB, free: 15.32 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002286/1.841, allocations: 1.231 MB / 1.675 GB, free: 15.2 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.0008311/1.842, allocations: 469.7 kB / 1.675 GB, free: 15.08 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004704/1.846, allocations: 3.945 MB / 1.679 GB, free: 15 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.846, allocations: 7.375 kB / 1.679 GB, free: 15 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002325/1.849, allocations: 2.152 MB / 1.681 GB, free: 14.99 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006435/1.855, allocations: 1.605 MB / 1.683 GB, free: 14.77 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00934/1.865, allocations: 7.836 MB / 1.69 GB, free: 11.96 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.866, allocations: 2.207 MB / 1.692 GB, free: 11.15 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.867, allocations: 308.7 kB / 1.693 GB, free: 11.14 MB / 1.295 GB Notification: Performance of SimCode: time 7.52e-07/1.867, allocations: 0 / 1.693 GB, free: 11.14 MB / 1.295 GB Notification: Performance of Templates: time 0.0678/1.935, allocations: 54.82 MB / 1.746 GB, free: 9.09 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches