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.001015/0.001015, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009403/0.0009403, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9601/0.9601, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.877/1.877, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.383e-05, allocations: 3.625 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1337/0.1337, allocations: 158 MB / 0.9671 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.1445, allocations: 7.454 MB / 0.9744 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1459, allocations: 103.2 kB / 0.9745 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.147, allocations: 0.6594 MB / 0.9751 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.1507, allocations: 2.886 MB / 0.9779 GB, free: 7.781 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.153, allocations: 1.684 MB / 0.9796 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005824/0.1589, allocations: 7.804 MB / 0.9872 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.1606, allocations: 2.041 MB / 0.9892 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.1646, allocations: 4.002 MB / 0.9931 GB, free: 8.227 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/0.1669, allocations: 2.501 MB / 0.9956 GB, free: 5.719 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.1672, allocations: 324 kB / 0.9959 GB, free: 5.402 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1682, allocations: 0.6904 MB / 0.9965 GB, free: 4.711 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008309/0.169, allocations: 1.43 MB / 0.9979 GB, free: 3.277 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.1701, allocations: 1.353 MB / 0.9993 GB, free: 1.922 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.1728, allocations: 3.162 MB / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1728, allocations: 0 / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1728, allocations: 3.938 kB / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.1728, allocations: 0 / 1.002 GB, free: 14.75 MB / 0.9636 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.004509/0.1773, allocations: 3.756 MB / 1.006 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1774, allocations: 8.031 kB / 1.006 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.1801, allocations: 1.172 MB / 1.007 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.1822, allocations: 1.667 MB / 1.009 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/0.1822, allocations: 197.1 kB / 1.009 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.1825, allocations: 264 kB / 1.009 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.1847, allocations: 2.43 MB / 1.012 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.1847, allocations: 7.953 kB / 1.012 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.1849, allocations: 112 kB / 1.012 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.185, allocations: 153.2 kB / 1.012 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.1867, allocations: 1.363 MB / 1.013 GB, free: 3.262 MB / 0.9636 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.007126/0.1938, allocations: 7.842 MB / 1.021 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.1958, allocations: 1.988 MB / 1.023 GB, free: 9.277 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.1969, allocations: 0.8758 MB / 1.024 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/0.1974, allocations: 246 kB / 1.024 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.1974, allocations: 71.56 kB / 1.024 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=278): time 3.837e-06/0.1974, allocations: 0 / 1.024 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278): time 0.002273/0.1997, allocations: 1.903 MB / 1.026 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1998, allocations: 81.59 kB / 1.026 GB, free: 6.031 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.2006, allocations: 1.277 MB / 1.027 GB, free: 4.734 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.2007, allocations: 77.64 kB / 1.027 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/0.2013, allocations: 1.179 MB / 1.028 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006651/0.2019, allocations: 1.007 MB / 1.029 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.2024, allocations: 0.4927 MB / 1.03 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.2025, allocations: 480.7 kB / 1.03 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.203, allocations: 377.3 kB / 1.031 GB, free: 1.105 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.2037, allocations: 0.9511 MB / 1.032 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.2051, allocations: 1.499 MB / 1.033 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2051, allocations: 4 kB / 1.033 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.001941/0.2071, allocations: 1.835 MB / 1.035 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2071, allocations: 12 kB / 1.035 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2071, allocations: 16.08 kB / 1.035 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.2071, allocations: 31.97 kB / 1.035 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.2084, allocations: 0.5734 MB / 1.035 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.2084, allocations: 27.92 kB / 1.035 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009589/0.2093, allocations: 226.2 kB / 1.036 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.2096, allocations: 79.98 kB / 1.036 GB, free: 11.42 MB / 0.9948 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.0004216/0.21, allocations: 319.8 kB / 1.036 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.2103, allocations: 322.5 kB / 1.036 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.2122, allocations: 1.711 MB / 1.038 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.2122, allocations: 24 kB / 1.038 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2122, allocations: 0 / 1.038 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.2135, allocations: 1.287 MB / 1.039 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.2171, allocations: 3.356 MB / 1.043 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2171, allocations: 0 / 1.043 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.2186, allocations: 0.5384 MB / 1.043 GB, free: 3.652 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.2186, allocations: 12 kB / 1.043 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.2187, allocations: 55.98 kB / 1.043 GB, free: 3.586 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.2187, allocations: 8 kB / 1.043 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2187, allocations: 0 / 1.043 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.221, allocations: 2.279 MB / 1.045 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005946/0.2216, allocations: 497.6 kB / 1.046 GB, free: 0.7227 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.2218, allocations: 52 kB / 1.046 GB, free: 0.6719 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/0.2225, allocations: 57.61 kB / 1.046 GB, free: 0.6172 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.2227, allocations: 169.8 kB / 1.046 GB, free: 460 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/0.2228, allocations: 63.97 kB / 1.046 GB, free: 396 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.4182/0.641, allocations: 0.695 MB / 1.047 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.641, allocations: 3.406 kB / 1.047 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002387/0.6434, allocations: 1.01 MB / 1.048 GB, free: 132.5 MB / 0.9948 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.0003789/0.6438, allocations: 239.1 kB / 1.048 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.6458, allocations: 1.412 MB / 1.05 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6458, allocations: 3.719 kB / 1.05 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.6467, allocations: 0.7909 MB / 1.05 GB, free: 132.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/0.6503, allocations: 1.296 MB / 1.052 GB, free: 132.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.656, allocations: 4.897 MB / 1.056 GB, free: 130.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6564, allocations: 0.6064 MB / 1.057 GB, free: 130.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001286/0.6576, allocations: 451.8 kB / 1.057 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/0.6594, allocations: 1.026 MB / 1.058 GB, free: 130 MB / 0.9948 GB Notification: Performance of SimCode: time 1.292e-06/0.6594, allocations: 0 / 1.058 GB, free: 130 MB / 0.9948 GB Notification: Performance of Templates: time 0.06027/0.7196, allocations: 53.09 MB / 1.11 GB, free: 121.9 MB / 0.9948 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 6.892359576653689]