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.001295/0.001295, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009649/0.0009649, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8877/0.8877, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.742/1.742, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.032e-06/1.032e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.575e-05, allocations: 8.703 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1195/0.1195, allocations: 158 MB / 0.9663 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.1299, allocations: 7.437 MB / 0.9736 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.1314, allocations: 107.2 kB / 0.9737 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1325, allocations: 0.6555 MB / 0.9743 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.1364, allocations: 2.894 MB / 0.9772 GB, free: 7.789 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.1386, allocations: 1.684 MB / 0.9788 GB, free: 6.102 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005309/0.1439, allocations: 7.803 MB / 0.9864 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.1457, allocations: 2.049 MB / 0.9884 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004091/0.1498, allocations: 3.998 MB / 0.9923 GB, free: 8.234 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.1518, allocations: 2.509 MB / 0.9948 GB, free: 5.719 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.1521, allocations: 320 kB / 0.9951 GB, free: 5.406 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.1531, allocations: 0.6943 MB / 0.9958 GB, free: 4.711 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.1541, allocations: 1.43 MB / 0.9972 GB, free: 3.277 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009493/0.1551, allocations: 1.349 MB / 0.9985 GB, free: 1.926 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.1573, allocations: 3.166 MB / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1573, allocations: 0 / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1573, allocations: 0 / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.014e-05/0.1573, 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.004265/0.1616, allocations: 3.76 MB / 1.005 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1616, allocations: 8.031 kB / 1.005 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.1643, allocations: 1.176 MB / 1.006 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.166, allocations: 1.663 MB / 1.008 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.031e-05/0.1661, allocations: 193.1 kB / 1.008 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.1663, allocations: 271.9 kB / 1.008 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.1686, allocations: 2.431 MB / 1.011 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.1687, allocations: 11.89 kB / 1.011 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.1688, allocations: 108 kB / 1.011 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.93e-05/0.1689, allocations: 149.2 kB / 1.011 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.1705, allocations: 1.367 MB / 1.012 GB, free: 3.254 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.00676/0.1772, allocations: 7.838 MB / 1.02 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1789, allocations: 1.978 MB / 1.022 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009242/0.1799, allocations: 0.8797 MB / 1.023 GB, free: 8.402 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/0.1804, allocations: 284.4 kB / 1.023 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1804, allocations: 71.56 kB / 1.023 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=278): time 3.838e-06/0.1804, allocations: 0 / 1.023 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278): time 0.002386/0.1828, allocations: 1.899 MB / 1.025 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1828, allocations: 77.59 kB / 1.025 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.1837, allocations: 1.285 MB / 1.026 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.927e-05/0.1838, allocations: 69.7 kB / 1.026 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.1843, allocations: 1.175 MB / 1.028 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004859/0.1848, allocations: 1.011 MB / 1.029 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.1852, allocations: 0.4927 MB / 1.029 GB, free: 1.926 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.1853, allocations: 480.7 kB / 1.03 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.1857, allocations: 385.2 kB / 1.03 GB, free: 1.074 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.1865, allocations: 0.9433 MB / 1.031 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.188, allocations: 1.507 MB / 1.032 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.188, allocations: 8 kB / 1.032 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.00183/0.1898, allocations: 1.827 MB / 1.034 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1898, allocations: 11.94 kB / 1.034 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1899, allocations: 12 kB / 1.034 GB, free: 12.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.1899, allocations: 20 kB / 1.034 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.1911, allocations: 0.5851 MB / 1.035 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.1911, allocations: 27.92 kB / 1.035 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/0.192, allocations: 226.2 kB / 1.035 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.1921, allocations: 84.11 kB / 1.035 GB, free: 11.39 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.0003829/0.1924, allocations: 307.8 kB / 1.035 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.1927, allocations: 330.5 kB / 1.036 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.1945, allocations: 1.711 MB / 1.037 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.1945, allocations: 24 kB / 1.037 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1945, allocations: 0 / 1.037 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/0.196, allocations: 1.283 MB / 1.039 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.1994, allocations: 3.352 MB / 1.042 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1994, allocations: 7.938 kB / 1.042 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.2006, allocations: 0.5345 MB / 1.042 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.2006, allocations: 8 kB / 1.042 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.603e-05/0.2007, allocations: 59.98 kB / 1.042 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2007, allocations: 8 kB / 1.042 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2007, allocations: 0 / 1.042 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.2029, allocations: 2.283 MB / 1.045 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/0.2037, allocations: 497.6 kB / 1.045 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.2039, allocations: 52 kB / 1.045 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.2045, allocations: 57.2 kB / 1.045 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.2047, allocations: 169.8 kB / 1.045 GB, free: 436 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.2048, allocations: 67.97 kB / 1.045 GB, free: 368 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.3308/0.5356, allocations: 0.7007 MB / 1.046 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5356, allocations: 0 / 1.046 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001896/0.5375, allocations: 1.007 MB / 1.047 GB, free: 132.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.0003918/0.5379, allocations: 230.1 kB / 1.047 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.5394, allocations: 1.414 MB / 1.049 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5394, allocations: 3.469 kB / 1.049 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/0.54, allocations: 0.7926 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.002603/0.5426, allocations: 1.298 MB / 1.051 GB, free: 132.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.5472, allocations: 4.906 MB / 1.056 GB, free: 130.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5475, allocations: 0.6035 MB / 1.056 GB, free: 130.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001115/0.5486, allocations: 452.1 kB / 1.057 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/0.5502, allocations: 1.026 MB / 1.058 GB, free: 130 MB / 0.9948 GB Notification: Performance of SimCode: time 1.323e-06/0.5502, allocations: 0 / 1.058 GB, free: 130 MB / 0.9948 GB Notification: Performance of Templates: time 0.04997/0.6002, allocations: 52.23 MB / 1.109 GB, free: 122.5 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.180692072957754]