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.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.0009474/0.0009474, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001053/0.001053, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9352/0.9352, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.36/2.36, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.233e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1344/0.1345, allocations: 160.3 MB / 0.9951 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.1462, allocations: 7.814 MB / 1.003 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.1479, allocations: 107.2 kB / 1.003 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.149, allocations: 0.6593 MB / 1.003 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004201/0.1532, allocations: 2.964 MB / 1.006 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.1556, allocations: 1.676 MB / 1.008 GB, free: 56 kB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005715/0.1613, allocations: 7.828 MB / 1.016 GB, free: 8.195 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.1635, allocations: 2.155 MB / 1.018 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/0.1672, allocations: 3.988 MB / 1.022 GB, free: 2.082 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.1693, allocations: 2.403 MB / 1.024 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.1696, allocations: 324 kB / 1.024 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1706, allocations: 0.7215 MB / 1.025 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008109/0.1715, allocations: 1.445 MB / 1.026 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.1725, allocations: 1.368 MB / 1.028 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.1748, allocations: 3.205 MB / 1.031 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1748, allocations: 0 / 1.031 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1748, allocations: 4 kB / 1.031 GB, free: 8.594 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.467e-05/0.1749, allocations: 0 / 1.031 GB, free: 8.594 MB / 0.9948 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.004046/0.1789, allocations: 3.555 MB / 1.034 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1789, allocations: 8.625 kB / 1.034 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.1843, allocations: 1.976 MB / 1.036 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.186, allocations: 1.365 MB / 1.038 GB, free: 1.586 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1861, allocations: 201.1 kB / 1.038 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.1864, allocations: 271.9 kB / 1.038 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.1891, allocations: 2.745 MB / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.1892, allocations: 0 / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.1894, allocations: 108 kB / 1.041 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.1895, allocations: 157.1 kB / 1.041 GB, free: 13.91 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.1914, allocations: 1.329 MB / 1.042 GB, free: 12.55 MB / 1.01 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.00707/0.1985, allocations: 6.451 MB / 1.049 GB, free: 5.977 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.2006, allocations: 2.033 MB / 1.051 GB, free: 3.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.2017, allocations: 0.8654 MB / 1.051 GB, free: 3.055 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.2018, allocations: 58.17 kB / 1.052 GB, free: 2.996 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.2018, allocations: 64.75 kB / 1.052 GB, free: 2.922 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 4.037e-06/0.2018, allocations: 0 / 1.052 GB, free: 2.922 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.002373/0.2042, allocations: 1.606 MB / 1.053 GB, free: 1.281 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2042, allocations: 77.59 kB / 1.053 GB, free: 1.191 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.205, allocations: 1.145 MB / 1.054 GB, free: 40 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.3662/0.5711, allocations: 71.88 kB / 1.054 GB, free: 85.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008304/0.572, allocations: 0.8757 MB / 1.055 GB, free: 85.01 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.5731, allocations: 0.9974 MB / 1.056 GB, free: 84.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007786/0.5739, allocations: 463.2 kB / 1.057 GB, free: 84.44 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.5739, allocations: 302.7 kB / 1.057 GB, free: 84.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.5748, allocations: 430.4 kB / 1.057 GB, free: 84.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/0.5757, allocations: 0.812 MB / 1.058 GB, free: 83.76 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.5776, allocations: 1.501 MB / 1.06 GB, free: 83.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.5776, allocations: 8.812 kB / 1.06 GB, free: 83.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.002568/0.5802, allocations: 1.553 MB / 1.061 GB, free: 83.24 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5802, allocations: 10.17 kB / 1.061 GB, free: 83.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.5802, allocations: 9.688 kB / 1.061 GB, free: 83.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.092e-05/0.5802, allocations: 23.89 kB / 1.061 GB, free: 83.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.5824, allocations: 0.7016 MB / 1.062 GB, free: 83.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/0.5824, allocations: 33.41 kB / 1.062 GB, free: 83.24 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.584, allocations: 294 kB / 1.062 GB, free: 83.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.5842, allocations: 76.02 kB / 1.062 GB, free: 83.17 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (356): * Single equations (assignments): 356 * 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.0006303/0.5848, allocations: 274 kB / 1.063 GB, free: 83.05 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.5852, allocations: 243.5 kB / 1.063 GB, free: 83.05 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.5855, allocations: 330.1 kB / 1.063 GB, free: 83.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5855, allocations: 26.62 kB / 1.063 GB, free: 83.02 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.5855, allocations: 0.9062 kB / 1.063 GB, free: 83.02 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/0.5871, allocations: 1.058 MB / 1.064 GB, free: 82.79 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.5915, allocations: 2.99 MB / 1.067 GB, free: 82.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5915, allocations: 0 / 1.067 GB, free: 82.42 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/0.5938, allocations: 0.7319 MB / 1.068 GB, free: 82.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.5938, allocations: 9.797 kB / 1.068 GB, free: 82.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.594, allocations: 64 kB / 1.068 GB, free: 82.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.594, allocations: 8.938 kB / 1.068 GB, free: 82.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.594, allocations: 1.734 kB / 1.068 GB, free: 82.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.5971, allocations: 2.097 MB / 1.07 GB, free: 82.08 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.5978, allocations: 396.7 kB / 1.07 GB, free: 81.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.598, allocations: 48.73 kB / 1.07 GB, free: 81.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.5992, allocations: 132.6 kB / 1.07 GB, free: 81.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.5995, allocations: 166.3 kB / 1.071 GB, free: 81.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.5996, allocations: 64.52 kB / 1.071 GB, free: 81.96 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005875/0.6002, allocations: 0.5695 MB / 1.071 GB, free: 81.91 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6002, allocations: 0 / 1.071 GB, free: 81.91 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001709/0.6019, allocations: 1.045 MB / 1.072 GB, free: 81.84 MB / 1.01 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.0003171/0.6023, allocations: 165.9 kB / 1.072 GB, free: 81.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.6045, allocations: 1.41 MB / 1.074 GB, free: 81.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-05/0.6045, allocations: 19.72 kB / 1.074 GB, free: 81.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.6056, allocations: 0.773 MB / 1.075 GB, free: 81.66 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.6091, allocations: 1.383 MB / 1.076 GB, free: 81.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006663/0.6157, allocations: 4.748 MB / 1.081 GB, free: 79.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.6162, allocations: 0.5956 MB / 1.081 GB, free: 79.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002349/0.6186, allocations: 0.4983 MB / 1.082 GB, free: 79.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/0.621, allocations: 0.9091 MB / 1.083 GB, free: 79.45 MB / 1.01 GB Notification: Performance of SimCode: time 1.503e-06/0.621, allocations: 0 / 1.083 GB, free: 79.45 MB / 1.01 GB Notification: Performance of Templates: time 0.05891/0.6799, allocations: 60.11 MB / 1.141 GB, free: 57.54 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.077917701099068]