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.001887/0.001887, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00259/0.00259, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.816 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.203/3.203, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.002101/0.002101, allocations: 70.41 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3195/0.622, allocations: 262.9 MB / 1.582 GB, free: 9.988 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.0274/0.6494, allocations: 15.91 MB / 1.598 GB, free: 10.04 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.6528, allocations: 107.2 kB / 1.598 GB, free: 9.934 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00532/0.6581, allocations: 1.787 MB / 1.6 GB, free: 8.137 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01775/0.6759, allocations: 6.732 MB / 1.606 GB, free: 1.379 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.6984/1.374, allocations: 2.999 MB / 1.609 GB, free: 8.973 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01105/1.385, allocations: 7.803 MB / 1.617 GB, free: 8.961 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004345/1.39, allocations: 1.943 MB / 1.619 GB, free: 24.79 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007985/1.398, allocations: 3.152 MB / 1.622 GB, free: 24.79 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007536/1.405, allocations: 2.712 MB / 1.624 GB, free: 24.79 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/1.406, allocations: 326.7 kB / 1.625 GB, free: 24.79 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/1.419, allocations: 5.049 MB / 1.63 GB, free: 24.79 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002442/1.421, allocations: 1.349 MB / 1.631 GB, free: 24.79 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.003752/1.425, allocations: 1.58 MB / 1.633 GB, free: 24.79 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/1.438, allocations: 6.722 MB / 1.639 GB, free: 24.39 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/1.438, allocations: 1.031 kB / 1.639 GB, free: 24.39 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.244e-06/1.438, allocations: 1.812 kB / 1.639 GB, free: 24.39 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001109/1.438, allocations: 0 / 1.639 GB, free: 24.39 MB / 1.311 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.01094/1.449, allocations: 4.114 MB / 1.643 GB, free: 22.74 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.449, allocations: 10.84 kB / 1.643 GB, free: 22.74 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/1.455, allocations: 0.9277 MB / 1.644 GB, free: 22.55 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/1.459, allocations: 1.802 MB / 1.646 GB, free: 22.08 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.459, allocations: 195.6 kB / 1.646 GB, free: 22.07 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004059/1.46, allocations: 265.1 kB / 1.646 GB, free: 22.07 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00537/1.465, allocations: 3.823 MB / 1.65 GB, free: 21.28 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/1.465, allocations: 4.156 kB / 1.65 GB, free: 21.28 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/1.465, allocations: 106.8 kB / 1.65 GB, free: 21.28 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/1.465, allocations: 162.5 kB / 1.65 GB, free: 21.27 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005251/1.471, allocations: 3.597 MB / 1.654 GB, free: 21.24 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.01591/1.487, allocations: 7.985 MB / 1.662 GB, free: 19.17 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/1.49, allocations: 2.937 MB / 1.664 GB, free: 19.07 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/1.493, allocations: 1.7 MB / 1.666 GB, free: 19.04 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009043/1.494, allocations: 219 kB / 1.666 GB, free: 19.04 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/1.494, allocations: 66.94 kB / 1.666 GB, free: 19 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.2e-06/1.494, allocations: 0.7188 kB / 1.666 GB, free: 19 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.006028/1.5, allocations: 3.887 MB / 1.67 GB, free: 18.73 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.5, allocations: 83.25 kB / 1.67 GB, free: 18.67 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/1.502, allocations: 1.305 MB / 1.671 GB, free: 18.49 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/1.502, allocations: 76.58 kB / 1.672 GB, free: 18.46 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/1.502, allocations: 1.052 MB / 1.673 GB, free: 17.99 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007116/1.503, allocations: 0.9933 MB / 1.674 GB, free: 17.33 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/1.504, allocations: 440.6 kB / 1.674 GB, free: 17.3 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.504, allocations: 305.2 kB / 1.674 GB, free: 17 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.506, allocations: 1.14 MB / 1.675 GB, free: 16.99 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/1.507, allocations: 1.423 MB / 1.677 GB, free: 16.81 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/1.511, allocations: 2.722 MB / 1.679 GB, free: 16.58 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.511, allocations: 2 kB / 1.679 GB, free: 16.58 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005102/1.516, allocations: 3.114 MB / 1.682 GB, free: 16.34 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/1.516, allocations: 10.72 kB / 1.682 GB, free: 16.34 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.516, allocations: 4.156 kB / 1.682 GB, free: 16.34 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/1.516, allocations: 15.22 kB / 1.683 GB, free: 16.34 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/1.519, allocations: 0.5486 MB / 1.683 GB, free: 16.34 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-05/1.519, allocations: 20.2 kB / 1.683 GB, free: 16.34 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/1.522, allocations: 199.7 kB / 1.683 GB, free: 16.23 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/1.522, allocations: 87.91 kB / 1.683 GB, free: 16.23 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.001692/1.524, allocations: 0.6468 MB / 1.684 GB, free: 16.11 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007841/1.525, allocations: 234.6 kB / 1.684 GB, free: 15.99 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/1.53, allocations: 3.109 MB / 1.687 GB, free: 15.81 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.53, allocations: 26.22 kB / 1.687 GB, free: 15.81 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.53, allocations: 3.938 kB / 1.687 GB, free: 15.81 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003864/1.534, allocations: 2.653 MB / 1.69 GB, free: 15.56 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009688/1.544, allocations: 5.437 MB / 1.695 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.557e-06/1.544, allocations: 3.938 kB / 1.695 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.546, allocations: 0.5406 MB / 1.696 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/1.546, allocations: 9.062 kB / 1.696 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/1.546, allocations: 62.75 kB / 1.696 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.546, allocations: 11.38 kB / 1.696 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.546, allocations: 1.594 kB / 1.696 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006136/1.553, allocations: 4.576 MB / 1.7 GB, free: 14.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.554, allocations: 0.535 MB / 1.701 GB, free: 14.54 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/1.555, allocations: 49.75 kB / 1.701 GB, free: 14.54 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.556, allocations: 66.69 kB / 1.701 GB, free: 14.54 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/1.556, allocations: 173.1 kB / 1.701 GB, free: 14.54 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.557, allocations: 79.81 kB / 1.701 GB, free: 14.54 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001126/1.558, allocations: 0.8734 MB / 1.702 GB, free: 14.43 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.3e-07/1.558, allocations: 0 / 1.702 GB, free: 14.43 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002189/1.56, allocations: 1.02 MB / 1.703 GB, free: 14.3 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.0006318/1.561, allocations: 374.3 kB / 1.703 GB, free: 14.18 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003786/1.564, allocations: 2.683 MB / 1.706 GB, free: 14.11 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.564, allocations: 2.781 kB / 1.706 GB, free: 14.11 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.566, allocations: 1.396 MB / 1.707 GB, free: 14.09 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/1.571, allocations: 1.285 MB / 1.709 GB, free: 13.93 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/1.58, allocations: 6.09 MB / 1.715 GB, free: 11.64 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.581, allocations: 1.337 MB / 1.716 GB, free: 11.41 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003049/1.585, allocations: 0.8623 MB / 1.717 GB, free: 11.25 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007162/1.585, allocations: 200.7 kB / 1.717 GB, free: 11.25 MB / 1.311 GB Notification: Performance of SimCode: time 9.71e-07/1.585, allocations: 0 / 1.717 GB, free: 11.25 MB / 1.311 GB Notification: Performance of Templates: time 0.08559/1.671, allocations: 54.31 MB / 1.77 GB, free: 7.906 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 -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/jenkins/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.053311264142394]