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.001298/0.001298, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0008852/0.0008852, allocations: 165 kB / 23.82 MB, free: 0.75 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.8744/0.8744, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.702/1.702, allocations: 377.9 MB / 0.6236 GB, free: 8.523 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.423e-06/1.423e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.711e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1258/0.1258, allocations: 161 MB / 0.9688 GB, free: 208 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.1364, allocations: 7.466 MB / 0.976 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.1381, allocations: 111.2 kB / 0.9762 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1392, allocations: 0.6555 MB / 0.9768 GB, free: 7.961 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.1431, allocations: 2.898 MB / 0.9796 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.1454, allocations: 1.684 MB / 0.9813 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005886/0.1513, allocations: 7.793 MB / 0.9889 GB, free: 11.54 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.1537, allocations: 2.045 MB / 0.9909 GB, free: 9.434 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.1586, allocations: 4.001 MB / 0.9948 GB, free: 5.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.1612, allocations: 2.509 MB / 0.9972 GB, free: 2.984 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000502/0.1617, allocations: 323.9 kB / 0.9975 GB, free: 2.668 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.1628, allocations: 0.6865 MB / 0.9982 GB, free: 1.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008359/0.1637, allocations: 1.43 MB / 0.9996 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.1648, allocations: 1.349 MB / 1.001 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.1674, allocations: 3.162 MB / 1.004 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1674, allocations: 7.984 kB / 1.004 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1674, allocations: 4 kB / 1.004 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.838e-05/0.1674, allocations: 0 / 1.004 GB, free: 12.01 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.00446/0.1719, allocations: 3.741 MB / 1.008 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1719, allocations: 16.03 kB / 1.008 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.1747, allocations: 1.18 MB / 1.009 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.1765, allocations: 1.733 MB / 1.011 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.1766, allocations: 197.1 kB / 1.011 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.1769, allocations: 268 kB / 1.011 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.1797, allocations: 2.638 MB / 1.014 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.683e-05/0.1798, allocations: 7.891 kB / 1.014 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.1799, allocations: 112 kB / 1.014 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.18, allocations: 153.2 kB / 1.014 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.1824, allocations: 1.689 MB / 1.015 GB, free: 15.93 MB / 0.9792 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.007193/0.1896, allocations: 7.886 MB / 1.023 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.1918, allocations: 2.146 MB / 1.025 GB, free: 5.754 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.193, allocations: 1.013 MB / 1.026 GB, free: 4.734 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/0.1936, allocations: 246 kB / 1.026 GB, free: 4.492 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.1936, allocations: 71.52 kB / 1.027 GB, free: 4.41 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=278): time 4.028e-06/0.1936, allocations: 0 / 1.027 GB, free: 4.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278): time 0.00287/0.1965, allocations: 2.216 MB / 1.029 GB, free: 2.148 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1965, allocations: 77.59 kB / 1.029 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1975, allocations: 1.313 MB / 1.03 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.1976, allocations: 77.7 kB / 1.03 GB, free: 0.6445 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/0.1981, allocations: 1.164 MB / 1.031 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.1986, allocations: 0.9992 MB / 1.032 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/0.1991, allocations: 488.8 kB / 1.033 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1992, allocations: 484.5 kB / 1.033 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/0.2, allocations: 0.4934 MB / 1.034 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.201, allocations: 1.061 MB / 1.035 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.2029, allocations: 1.734 MB / 1.036 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.2029, allocations: 4 kB / 1.036 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.002489/0.2054, allocations: 2.085 MB / 1.038 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2054, allocations: 8 kB / 1.038 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2054, allocations: 12 kB / 1.038 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.2054, allocations: 20 kB / 1.038 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.2067, allocations: 0.5851 MB / 1.039 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.2068, allocations: 27.92 kB / 1.039 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009562/0.2077, allocations: 230.5 kB / 1.039 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.2078, allocations: 104 kB / 1.039 GB, free: 6.707 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.0004232/0.2083, allocations: 311.9 kB / 1.04 GB, free: 6.391 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.2086, allocations: 318.5 kB / 1.04 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.2109, allocations: 1.929 MB / 1.042 GB, free: 4.094 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.2109, allocations: 24 kB / 1.042 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2109, allocations: 4 kB / 1.042 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/0.2126, allocations: 1.482 MB / 1.043 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3434/0.5561, allocations: 3.933 MB / 1.047 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5561, allocations: 3.656 kB / 1.047 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.5575, allocations: 0.5393 MB / 1.048 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.5575, allocations: 9.875 kB / 1.048 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.5576, allocations: 58.09 kB / 1.048 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.5576, allocations: 8.844 kB / 1.048 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5576, allocations: 9.547 kB / 1.048 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.5604, allocations: 2.588 MB / 1.05 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/0.5611, allocations: 0.5201 MB / 1.051 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.5613, allocations: 48.81 kB / 1.051 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.562, allocations: 62.92 kB / 1.051 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.5622, allocations: 170.7 kB / 1.051 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/0.5623, allocations: 84.61 kB / 1.051 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005557/0.5629, allocations: 0.754 MB / 1.052 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5629, allocations: 3.062 kB / 1.052 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001237/0.5641, allocations: 1.006 MB / 1.053 GB, free: 129.4 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.0003379/0.5644, allocations: 239.2 kB / 1.053 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.5662, allocations: 1.64 MB / 1.055 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5662, allocations: 0 / 1.055 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008279/0.5671, allocations: 0.8922 MB / 1.056 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.5697, allocations: 1.307 MB / 1.057 GB, free: 129 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.5744, allocations: 4.944 MB / 1.062 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.5747, allocations: 0.61 MB / 1.062 GB, free: 127 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001352/0.5761, allocations: 0.7454 MB / 1.063 GB, free: 127 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.5765, allocations: 208.2 kB / 1.063 GB, free: 127 MB / 0.9948 GB Notification: Performance of SimCode: time 8.02e-07/0.5765, allocations: 0 / 1.063 GB, free: 127 MB / 0.9948 GB Notification: Performance of Templates: time 0.04763/0.6242, allocations: 50.44 MB / 1.112 GB, free: 119.2 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.215685783885419]