Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.001049/0.001049, allocations: 81.95 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.001164/0.001164, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9388/0.9388, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.873/1.873, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.055e-05, allocations: 4.844 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1365/0.1366, allocations: 160.4 MB / 0.9694 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.1513, allocations: 8.203 MB / 0.9774 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.1549, allocations: 119.1 kB / 0.9775 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.1572, allocations: 0.7408 MB / 0.9782 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.007056/0.1643, allocations: 3.205 MB / 0.9814 GB, free: 4.246 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.1683, allocations: 1.937 MB / 0.9832 GB, free: 2.305 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.009845/0.1781, allocations: 9.205 MB / 0.9922 GB, free: 9.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003766/0.1819, allocations: 2.477 MB / 0.9947 GB, free: 6.535 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009165/0.1911, allocations: 4.65 MB / 0.9992 GB, free: 1.945 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004941/0.196, allocations: 3.007 MB / 1.002 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.1972, allocations: 396 kB / 1.003 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.1995, allocations: 0.8192 MB / 1.003 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.2012, allocations: 1.78 MB / 1.005 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.003238/0.2044, allocations: 1.653 MB / 1.007 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005512/0.2099, allocations: 3.925 MB / 1.01 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2099, allocations: 3.938 kB / 1.011 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2099, allocations: 0 / 1.011 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001604/0.2101, allocations: 0 / 1.011 GB, free: 6.34 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.007852/0.2179, allocations: 4.557 MB / 1.015 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.218, allocations: 8.031 kB / 1.015 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.2216, allocations: 1.339 MB / 1.016 GB, free: 376 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.2246, allocations: 1.91 MB / 1.018 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.2247, allocations: 246.5 kB / 1.018 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.2251, allocations: 331.9 kB / 1.019 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.2286, allocations: 2.968 MB / 1.022 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.2286, allocations: 15.88 kB / 1.022 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.2289, allocations: 136 kB / 1.022 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.229, allocations: 206.7 kB / 1.022 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.2317, allocations: 1.906 MB / 1.024 GB, free: 8.395 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.01087/0.2425, allocations: 9.277 MB / 1.033 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.2452, allocations: 2.95 MB / 1.036 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.2463, allocations: 1.048 MB / 1.037 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006209/0.2469, allocations: 286.9 kB / 1.037 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.247, allocations: 76.47 kB / 1.037 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=392): time 6.232e-06/0.247, allocations: 0 / 1.037 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392): time 0.003499/0.2505, allocations: 2.628 MB / 1.04 GB, free: 7.938 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2505, allocations: 90.48 kB / 1.04 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.2519, allocations: 1.486 MB / 1.041 GB, free: 6.293 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.2521, allocations: 93.7 kB / 1.041 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007459/0.2528, allocations: 1.377 MB / 1.043 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.2539, allocations: 1.421 MB / 1.044 GB, free: 3.367 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000696/0.2546, allocations: 0.6695 MB / 1.045 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2547, allocations: 484.6 kB / 1.045 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.2554, allocations: 0.5306 MB / 1.046 GB, free: 1.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.2565, allocations: 1.267 MB / 1.047 GB, free: 216 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4471/0.7036, allocations: 2.026 MB / 1.049 GB, free: 130.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/0.7036, allocations: 4.188 kB / 1.049 GB, free: 130.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=496) (initialization): time 0.003446/0.707, allocations: 2.496 MB / 1.051 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.7071, allocations: 11.91 kB / 1.051 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.7071, allocations: 8.781 kB / 1.051 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.319e-05/0.7071, allocations: 32.25 kB / 1.051 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.709, allocations: 0.7939 MB / 1.052 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.641e-05/0.7091, allocations: 34.91 kB / 1.052 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.7108, allocations: 312.4 kB / 1.052 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.711, allocations: 104.4 kB / 1.053 GB, free: 130.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (496): * Single equations (assignments): 496 * 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.0008102/0.7118, allocations: 360.9 kB / 1.053 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/0.7123, allocations: 425.1 kB / 1.053 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.7151, allocations: 2.411 MB / 1.056 GB, free: 129.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.7151, allocations: 37.34 kB / 1.056 GB, free: 129.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7152, allocations: 0 / 1.056 GB, free: 129.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001848/0.717, allocations: 1.798 MB / 1.057 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006189/0.7232, allocations: 4.647 MB / 1.062 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7232, allocations: 3.875 kB / 1.062 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.725, allocations: 0.7175 MB / 1.063 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.7e-05/0.725, allocations: 16.69 kB / 1.063 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.7252, allocations: 81.91 kB / 1.063 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.7252, allocations: 16.25 kB / 1.063 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7252, allocations: 3.25 kB / 1.063 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.729, allocations: 3.189 MB / 1.066 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.7301, allocations: 0.6344 MB / 1.067 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/0.7305, allocations: 70.44 kB / 1.067 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.7316, allocations: 86.48 kB / 1.067 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.7318, allocations: 247.2 kB / 1.067 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.732, allocations: 90.23 kB / 1.067 GB, free: 128 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006606/0.7326, allocations: 0.8059 MB / 1.068 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7326, allocations: 0 / 1.068 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002721/0.7354, allocations: 1.272 MB / 1.069 GB, free: 127.7 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.0005581/0.7359, allocations: 298.2 kB / 1.069 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003097/0.739, allocations: 1.977 MB / 1.071 GB, free: 127.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.739, allocations: 3.438 kB / 1.071 GB, free: 127.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.7404, allocations: 1.111 MB / 1.072 GB, free: 127.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/0.7446, allocations: 1.499 MB / 1.074 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/0.7533, allocations: 6.215 MB / 1.08 GB, free: 125 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.7541, allocations: 0.7677 MB / 1.081 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002668/0.7567, allocations: 0.5578 MB / 1.081 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/0.7594, allocations: 1.214 MB / 1.082 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of SimCode: time 1.763e-06/0.7594, allocations: 0.5469 kB / 1.082 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.07758/0.837, allocations: 64.72 MB / 1.146 GB, free: 107.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.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.483803430106491]