Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.007028/0.007028, allocations: 99.81 kB / 15.73 MB, free: 6.492 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.00169/0.00169, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.597/2.597, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2893, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9287/1.218, allocations: 314.2 MB / 1.473 GB, free: 10.18 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02845/1.247, allocations: 18.45 MB / 1.491 GB, free: 7.688 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00385/1.25, allocations: 87.56 kB / 1.491 GB, free: 7.602 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005657/1.256, allocations: 2.152 MB / 1.494 GB, free: 5.438 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01816/1.274, allocations: 7.304 MB / 1.501 GB, free: 14.1 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.008333/1.283, allocations: 3.226 MB / 1.504 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01171/1.294, allocations: 9.102 MB / 1.513 GB, free: 1.754 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005012/1.3, allocations: 3.105 MB / 1.516 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007454/1.307, allocations: 3.317 MB / 1.519 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006645/1.314, allocations: 3.228 MB / 1.522 GB, free: 8.039 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001404/1.315, allocations: 407.9 kB / 1.523 GB, free: 7.641 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/1.33, allocations: 7.003 MB / 1.529 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002719/1.333, allocations: 1.687 MB / 1.531 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004779/1.337, allocations: 2.303 MB / 1.533 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/1.354, allocations: 8.216 MB / 1.541 GB, free: 4.375 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.354, allocations: 0 / 1.541 GB, free: 4.375 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.543e-06/1.354, allocations: 0 / 1.541 GB, free: 4.375 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001753/1.354, allocations: 0 / 1.541 GB, free: 4.375 MB / 1.201 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.01434/1.368, allocations: 5.114 MB / 1.546 GB, free: 15.18 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.368, allocations: 8.031 kB / 1.546 GB, free: 15.18 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00742/1.376, allocations: 1.039 MB / 1.547 GB, free: 14.13 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/1.381, allocations: 2.257 MB / 1.55 GB, free: 11.82 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/1.381, allocations: 246.4 kB / 1.55 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009309/1.382, allocations: 323.9 kB / 1.55 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009204/1.391, allocations: 4.245 MB / 1.554 GB, free: 6.938 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/1.391, allocations: 11.94 kB / 1.554 GB, free: 6.926 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005573/1.392, allocations: 132 kB / 1.554 GB, free: 6.797 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.392, allocations: 170.4 kB / 1.555 GB, free: 6.629 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009079/1.401, allocations: 4.779 MB / 1.559 GB, free: 1.84 MB / 1.217 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.02225/1.423, allocations: 14.47 MB / 1.573 GB, free: 2.402 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006565/1.43, allocations: 4.558 MB / 1.578 GB, free: 13.85 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003769/1.434, allocations: 2.459 MB / 1.58 GB, free: 11.38 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/1.436, allocations: 1.608 MB / 1.582 GB, free: 9.441 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.667e-05/1.436, allocations: 77.64 kB / 1.582 GB, free: 9.355 MB / 1.248 GB Notification: Performance of pre-optimization done (n=392): time 7.123e-06/1.436, allocations: 0 / 1.582 GB, free: 9.355 MB / 1.248 GB Notification: Performance of matching and sorting (n=392): time 0.01058/1.446, allocations: 5.552 MB / 1.587 GB, free: 3.781 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/1.446, allocations: 94.47 kB / 1.587 GB, free: 3.676 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/1.449, allocations: 1.677 MB / 1.589 GB, free: 1.957 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004196/1.45, allocations: 93.7 kB / 1.589 GB, free: 1.859 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000855/1.451, allocations: 1.153 MB / 1.59 GB, free: 0.6953 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.452, allocations: 1.398 MB / 1.592 GB, free: 15.28 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008593/1.453, allocations: 0.5469 MB / 1.592 GB, free: 14.73 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/1.453, allocations: 305.1 kB / 1.592 GB, free: 14.43 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/1.455, allocations: 1.576 MB / 1.594 GB, free: 12.85 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/1.458, allocations: 1.92 MB / 1.596 GB, free: 10.86 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005555/1.464, allocations: 3.762 MB / 1.599 GB, free: 7.012 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/1.464, allocations: 4 kB / 1.599 GB, free: 7.008 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006857/1.471, allocations: 4.187 MB / 1.604 GB, free: 2.797 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.471, allocations: 12.12 kB / 1.604 GB, free: 2.785 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.471, allocations: 4 kB / 1.604 GB, free: 2.781 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.124e-05/1.471, allocations: 20 kB / 1.604 GB, free: 2.762 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/1.474, allocations: 0.6943 MB / 1.604 GB, free: 2.066 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.525e-05/1.474, allocations: 20 kB / 1.604 GB, free: 2.047 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.477, allocations: 273.9 kB / 1.605 GB, free: 1.777 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/1.477, allocations: 116 kB / 1.605 GB, free: 1.664 MB / 1.264 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.00154/1.478, allocations: 0.8004 MB / 1.605 GB, free: 0.8555 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006725/1.479, allocations: 306.1 kB / 1.606 GB, free: 0.5547 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007572/1.487, allocations: 4.425 MB / 1.61 GB, free: 12.09 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/1.487, allocations: 36 kB / 1.61 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.487, allocations: 4 kB / 1.61 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005911/1.493, allocations: 3.803 MB / 1.614 GB, free: 8.18 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.507, allocations: 8.63 MB / 1.622 GB, free: 15.39 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.507, allocations: 8 kB / 1.622 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/1.511, allocations: 0.7178 MB / 1.623 GB, free: 14.66 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/1.511, allocations: 16 kB / 1.623 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/1.511, allocations: 92.06 kB / 1.623 GB, free: 14.55 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/1.511, allocations: 15.94 kB / 1.623 GB, free: 14.54 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.511, allocations: 4 kB / 1.623 GB, free: 14.54 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009931/1.521, allocations: 6.591 MB / 1.63 GB, free: 7.848 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.523, allocations: 0.8107 MB / 1.63 GB, free: 7.016 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/1.523, allocations: 71.94 kB / 1.63 GB, free: 6.945 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.525, allocations: 86.59 kB / 1.63 GB, free: 6.863 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/1.526, allocations: 234.6 kB / 1.631 GB, free: 6.633 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/1.526, allocations: 112 kB / 1.631 GB, free: 6.523 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001649/1.528, allocations: 1.161 MB / 1.632 GB, free: 5.34 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.6e-07/1.528, allocations: 0 / 1.632 GB, free: 5.34 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002584/1.53, allocations: 1.236 MB / 1.633 GB, free: 4.102 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.0008964/1.531, allocations: 472.5 kB / 1.634 GB, free: 3.637 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006273/1.537, allocations: 3.947 MB / 1.637 GB, free: 15.67 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.537, allocations: 9.25 kB / 1.637 GB, free: 15.66 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.003228/1.541, allocations: 2.153 MB / 1.64 GB, free: 13.51 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007824/1.549, allocations: 1.6 MB / 1.641 GB, free: 11.94 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.561, allocations: 7.77 MB / 1.649 GB, free: 4.09 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.563, allocations: 2.205 MB / 1.651 GB, free: 1.848 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.004244/1.568, allocations: 1.208 MB / 1.652 GB, free: 0.6328 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.569, allocations: 271.4 kB / 1.652 GB, free: 380 kB / 1.311 GB Notification: Performance of SimCode: time 1.012e-06/1.569, allocations: 0 / 1.652 GB, free: 380 kB / 1.311 GB Notification: Performance of Templates: time 0.09652/1.665, allocations: 62.64 MB / 1.713 GB, free: 2.484 MB / 1.373 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches