Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 213.1 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 81.83 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3206/0.6792, allocations: 263 MB / 1.584 GB, free: 9.156 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02575/0.7049, allocations: 15.9 MB / 1.599 GB, free: 9.219 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.7081, allocations: 107.2 kB / 1.599 GB, free: 9.113 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.7129, allocations: 1.791 MB / 1.601 GB, free: 7.312 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01696/0.7298, allocations: 6.745 MB / 1.608 GB, free: 0.543 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.7964/1.526, allocations: 3.009 MB / 1.611 GB, free: 8.574 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01494/1.541, allocations: 7.853 MB / 1.618 GB, free: 8.562 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004072/1.545, allocations: 1.964 MB / 1.62 GB, free: 8.391 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008404/1.554, allocations: 3.154 MB / 1.623 GB, free: 8.391 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008241/1.562, allocations: 2.848 MB / 1.626 GB, free: 8.391 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/1.563, allocations: 327 kB / 1.627 GB, free: 8.391 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/1.578, allocations: 5.097 MB / 1.632 GB, free: 8.391 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003514/1.581, allocations: 1.347 MB / 1.633 GB, free: 8.391 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006467/1.588, allocations: 1.577 MB / 1.634 GB, free: 8.391 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01986/1.607, allocations: 6.724 MB / 1.641 GB, free: 7.988 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.607, allocations: 0 / 1.641 GB, free: 7.988 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.673e-06/1.607, allocations: 0.9062 kB / 1.641 GB, free: 7.988 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001859/1.608, allocations: 0 / 1.641 GB, free: 7.988 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.0163/1.624, allocations: 4.115 MB / 1.645 GB, free: 22.34 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.624, allocations: 10.53 kB / 1.645 GB, free: 22.34 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007794/1.632, allocations: 0.9355 MB / 1.646 GB, free: 22.15 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00524/1.637, allocations: 1.797 MB / 1.648 GB, free: 21.68 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.637, allocations: 197.2 kB / 1.648 GB, free: 21.67 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/1.638, allocations: 264 kB / 1.648 GB, free: 21.66 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007414/1.646, allocations: 3.819 MB / 1.652 GB, free: 20.88 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.372e-05/1.646, allocations: 5.5 kB / 1.652 GB, free: 20.88 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/1.646, allocations: 104.6 kB / 1.652 GB, free: 20.88 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/1.646, allocations: 158.6 kB / 1.652 GB, free: 20.87 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006307/1.652, allocations: 3.597 MB / 1.656 GB, free: 20.84 MB / 1.311 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.01762/1.67, allocations: 7.992 MB / 1.663 GB, free: 18.77 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/1.674, allocations: 2.931 MB / 1.666 GB, free: 18.67 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/1.677, allocations: 1.696 MB / 1.668 GB, free: 18.64 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.678, allocations: 219.8 kB / 1.668 GB, free: 18.64 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.701e-05/1.678, allocations: 70.91 kB / 1.668 GB, free: 18.59 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.42e-06/1.678, allocations: 0.9375 kB / 1.668 GB, free: 18.59 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.006463/1.684, allocations: 3.886 MB / 1.672 GB, free: 18.34 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/1.685, allocations: 79.03 kB / 1.672 GB, free: 18.27 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.686, allocations: 1.312 MB / 1.673 GB, free: 18.09 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002942/1.687, allocations: 71.61 kB / 1.673 GB, free: 18.06 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/1.687, allocations: 1.056 MB / 1.674 GB, free: 17.59 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008984/1.688, allocations: 0.988 MB / 1.675 GB, free: 16.93 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007115/1.689, allocations: 443.9 kB / 1.676 GB, free: 16.9 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.689, allocations: 301.1 kB / 1.676 GB, free: 16.6 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.691, allocations: 1.143 MB / 1.677 GB, free: 16.59 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/1.693, allocations: 1.421 MB / 1.679 GB, free: 16.41 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/1.696, allocations: 2.73 MB / 1.681 GB, free: 16.18 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/1.696, allocations: 3.312 kB / 1.681 GB, free: 16.18 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004904/1.701, allocations: 3.107 MB / 1.684 GB, free: 15.94 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/1.701, allocations: 12.31 kB / 1.684 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/1.701, allocations: 7.266 kB / 1.684 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.701, allocations: 16.19 kB / 1.684 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/1.704, allocations: 0.5393 MB / 1.685 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.756e-05/1.704, allocations: 18.25 kB / 1.685 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/1.706, allocations: 203.3 kB / 1.685 GB, free: 15.82 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/1.707, allocations: 87.19 kB / 1.685 GB, free: 15.82 MB / 1.311 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 (332): * Single equations (assignments): 332 * 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.00138/1.708, allocations: 0.6495 MB / 1.686 GB, free: 15.71 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/1.709, allocations: 234.6 kB / 1.686 GB, free: 15.59 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/1.714, allocations: 3.104 MB / 1.689 GB, free: 15.41 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/1.714, allocations: 28.25 kB / 1.689 GB, free: 15.41 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.714, allocations: 2.281 kB / 1.689 GB, free: 15.41 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003691/1.717, allocations: 2.656 MB / 1.692 GB, free: 15.16 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009673/1.727, allocations: 5.43 MB / 1.697 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/1.727, allocations: 5.531 kB / 1.697 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.73, allocations: 0.5447 MB / 1.698 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-05/1.73, allocations: 9.188 kB / 1.698 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/1.73, allocations: 57.5 kB / 1.698 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.73, allocations: 9.438 kB / 1.698 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.73, allocations: 2.969 kB / 1.698 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006707/1.737, allocations: 4.58 MB / 1.702 GB, free: 14.29 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.739, allocations: 0.533 MB / 1.703 GB, free: 14.14 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006571/1.739, allocations: 54.91 kB / 1.703 GB, free: 14.14 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/1.741, allocations: 64.64 kB / 1.703 GB, free: 14.13 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.742, allocations: 175.9 kB / 1.703 GB, free: 14.13 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.742, allocations: 83.47 kB / 1.703 GB, free: 14.13 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001504/1.743, allocations: 0.8742 MB / 1.704 GB, free: 14.02 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.743, allocations: 4.188 kB / 1.704 GB, free: 14.02 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003261/1.747, allocations: 1.017 MB / 1.705 GB, free: 13.89 MB / 1.311 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.0008387/1.748, allocations: 375.5 kB / 1.705 GB, free: 13.77 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.00436/1.752, allocations: 2.687 MB / 1.708 GB, free: 13.7 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.752, allocations: 4.781 kB / 1.708 GB, free: 13.69 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/1.754, allocations: 1.394 MB / 1.709 GB, free: 13.68 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/1.76, allocations: 1.28 MB / 1.71 GB, free: 13.51 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.77, allocations: 6.088 MB / 1.716 GB, free: 11.22 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.772, allocations: 1.339 MB / 1.718 GB, free: 11 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00398/1.776, allocations: 0.8612 MB / 1.718 GB, free: 10.84 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.777, allocations: 200.4 kB / 1.719 GB, free: 10.83 MB / 1.311 GB Notification: Performance of SimCode: time 1.312e-06/1.777, allocations: 0 / 1.719 GB, free: 10.83 MB / 1.311 GB Notification: Performance of Templates: time 0.08907/1.867, allocations: 55.17 MB / 1.773 GB, free: 6.051 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.0910853749956]