Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000908/0.000908, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0008987/0.0008987, allocations: 167.8 kB / 24.87 MB, free: 9.277 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.9296/0.9296, allocations: 177.1 MB / 205.3 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.738/1.738, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.656e-05, allocations: 6.938 kB / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1292/0.1292, allocations: 160.3 MB / 0.9448 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.1431, allocations: 8.172 MB / 0.9528 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/0.1481, allocations: 119.1 kB / 0.9529 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.1505, allocations: 0.7369 MB / 0.9536 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.006854/0.1573, allocations: 3.205 MB / 0.9567 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.1611, allocations: 1.941 MB / 0.9586 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.009431/0.1705, allocations: 9.2 MB / 0.9676 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003796/0.1743, allocations: 2.473 MB / 0.97 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009128/0.1834, allocations: 4.66 MB / 0.9746 GB, free: 12.85 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004961/0.1884, allocations: 3.046 MB / 0.9776 GB, free: 9.793 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.0007939/0.1892, allocations: 396 kB / 0.9779 GB, free: 9.406 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.1911, allocations: 0.8075 MB / 0.9787 GB, free: 8.598 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.1924, allocations: 1.831 MB / 0.9805 GB, free: 6.762 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.1948, allocations: 1.665 MB / 0.9821 GB, free: 5.094 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.1992, allocations: 3.925 MB / 0.986 GB, free: 1.156 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1992, allocations: 0 / 0.986 GB, free: 1.156 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1992, allocations: 0 / 0.986 GB, free: 1.156 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 7.078e-05/0.1993, allocations: 4 kB / 0.986 GB, free: 1.152 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.005909/0.2052, allocations: 4.643 MB / 0.9905 GB, free: 12.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2052, allocations: 12.03 kB / 0.9905 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.2084, allocations: 1.335 MB / 0.9918 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.2108, allocations: 1.948 MB / 0.9937 GB, free: 9.102 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2109, allocations: 246.4 kB / 0.994 GB, free: 8.859 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2112, allocations: 331.9 kB / 0.9943 GB, free: 8.535 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.2143, allocations: 2.882 MB / 0.9971 GB, free: 5.445 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/0.2143, allocations: 11.95 kB / 0.9971 GB, free: 5.434 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.2145, allocations: 135.9 kB / 0.9972 GB, free: 5.301 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.2146, allocations: 166.4 kB / 0.9974 GB, free: 5.137 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.2166, allocations: 1.669 MB / 0.999 GB, free: 3.449 MB / 0.948 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.01003/0.2267, allocations: 9.04 MB / 1.008 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.2293, allocations: 2.963 MB / 1.011 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.2306, allocations: 1.032 MB / 1.012 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.2312, allocations: 294.9 kB / 1.012 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.2312, allocations: 84.47 kB / 1.012 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=392): time 5.831e-06/0.2312, allocations: 0 / 1.012 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of matching and sorting (n=392): time 0.003412/0.2347, allocations: 2.613 MB / 1.015 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.2347, allocations: 98.48 kB / 1.015 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2359, allocations: 1.428 MB / 1.016 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.2361, allocations: 97.7 kB / 1.016 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/0.2367, allocations: 1.289 MB / 1.018 GB, free: 228 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.2377, allocations: 1.421 MB / 1.019 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006085/0.2383, allocations: 0.6056 MB / 1.019 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.2384, allocations: 476.8 kB / 1.02 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.2391, allocations: 498.7 kB / 1.02 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/0.24, allocations: 1.204 MB / 1.022 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.2418, allocations: 1.942 MB / 1.023 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.2418, allocations: 11.94 kB / 1.024 GB, free: 9.637 MB / 0.9792 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.002896/0.2447, allocations: 2.325 MB / 1.026 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.2448, allocations: 12 kB / 1.026 GB, free: 7.277 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.2448, allocations: 11.94 kB / 1.026 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.2448, allocations: 28 kB / 1.026 GB, free: 7.238 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.2465, allocations: 0.7294 MB / 1.027 GB, free: 6.508 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.2465, allocations: 31.94 kB / 1.027 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.2479, allocations: 278.1 kB / 1.027 GB, free: 6.203 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.248, allocations: 99.98 kB / 1.027 GB, free: 6.105 MB / 0.9792 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 (454): * Single equations (assignments): 454 * 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.0006921/0.2487, allocations: 355.6 kB / 1.027 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/0.2492, allocations: 422.2 kB / 1.028 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.2519, allocations: 2.402 MB / 1.03 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.2519, allocations: 40 kB / 1.03 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2519, allocations: 0 / 1.03 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001917/0.2538, allocations: 1.808 MB / 1.032 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00563/0.2595, allocations: 4.651 MB / 1.036 GB, free: 12.2 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2595, allocations: 0 / 1.036 GB, free: 12.2 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.2612, allocations: 0.7104 MB / 1.037 GB, free: 11.49 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.2612, allocations: 16 kB / 1.037 GB, free: 11.48 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.2613, allocations: 87.97 kB / 1.037 GB, free: 11.39 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.2613, allocations: 23.88 kB / 1.037 GB, free: 11.37 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2614, allocations: 0 / 1.037 GB, free: 11.37 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/0.2649, allocations: 3.179 MB / 1.04 GB, free: 8.074 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/0.2658, allocations: 0.6414 MB / 1.041 GB, free: 7.43 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.2661, allocations: 72 kB / 1.041 GB, free: 7.359 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009191/0.267, allocations: 85.98 kB / 1.041 GB, free: 7.277 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.2673, allocations: 242.5 kB / 1.041 GB, free: 7.039 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.2674, allocations: 91.97 kB / 1.041 GB, free: 6.949 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.0006066/0.268, allocations: 0.7995 MB / 1.042 GB, free: 6.125 MB / 0.9949 GB Notification: Performance of sort global known variables: time 2.61e-07/0.268, allocations: 7.938 kB / 1.042 GB, free: 6.117 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.001805/0.2698, allocations: 1.236 MB / 1.043 GB, free: 4.879 MB / 0.9949 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.0004421/0.2703, allocations: 296.3 kB / 1.044 GB, free: 4.582 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.2726, allocations: 1.889 MB / 1.046 GB, free: 2.676 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2726, allocations: 320 / 1.046 GB, free: 2.676 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.2737, allocations: 1.123 MB / 1.047 GB, free: 1.543 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.277, allocations: 1.492 MB / 1.048 GB, free: 84 kB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3498/0.6269, allocations: 6.204 MB / 1.054 GB, free: 155.5 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.6274, allocations: 0.767 MB / 1.055 GB, free: 155.4 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.002265/0.6297, allocations: 0.5501 MB / 1.055 GB, free: 155.3 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/0.6318, allocations: 1.212 MB / 1.057 GB, free: 155.2 MB / 0.9949 GB Notification: Performance of SimCode: time 2.174e-06/0.6318, allocations: 0 / 1.057 GB, free: 155.2 MB / 0.9949 GB Notification: Performance of Templates: time 0.07346/0.7052, allocations: 64.61 MB / 1.12 GB, free: 141.2 MB / 0.9949 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.0070597641170025]