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.0009222/0.0009222, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009745/0.0009745, allocations: 169 kB / 24.27 MB, free: 284 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.9125/0.9125, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.766/1.766, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.653e-06/1.653e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.475e-05, allocations: 3.188 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5888/0.5888, allocations: 315.7 MB / 1.12 GB, free: 48.16 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.6095, allocations: 19 MB / 1.138 GB, free: 47.94 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.6119, allocations: 116.5 kB / 1.138 GB, free: 47.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.6153, allocations: 2.065 MB / 1.141 GB, free: 47.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.6261, allocations: 7.825 MB / 1.148 GB, free: 46.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005122/0.6312, allocations: 3.359 MB / 1.151 GB, free: 46.05 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006337/0.6376, allocations: 9.399 MB / 1.161 GB, free: 44.4 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.6402, allocations: 2.482 MB / 1.163 GB, free: 43.96 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.6451, allocations: 4.917 MB / 1.168 GB, free: 42.21 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.6482, allocations: 3.057 MB / 1.171 GB, free: 41.56 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005433/0.6488, allocations: 405.1 kB / 1.171 GB, free: 41.56 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007058/0.6558, allocations: 5.833 MB / 1.177 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009977/0.6568, allocations: 1.799 MB / 1.179 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.6583, allocations: 1.676 MB / 1.18 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006779/0.6651, allocations: 6.559 MB / 1.187 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6651, allocations: 6.906 kB / 1.187 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6651, allocations: 0 / 1.187 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001005/0.6652, allocations: 0 / 1.187 GB, free: 36.94 MB / 0.9948 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.006194/0.6714, allocations: 5.017 MB / 1.192 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6714, allocations: 8.844 kB / 1.192 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.675, allocations: 1.409 MB / 1.193 GB, free: 33.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.677, allocations: 2.08 MB / 1.195 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/0.6771, allocations: 250.3 kB / 1.195 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.6775, allocations: 336.5 kB / 1.196 GB, free: 32.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.6807, allocations: 3.241 MB / 1.199 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/0.6808, allocations: 5.266 kB / 1.199 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.681, allocations: 140.1 kB / 1.199 GB, free: 30.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.6811, allocations: 214.3 kB / 1.199 GB, free: 30.93 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/0.6844, allocations: 2.365 MB / 1.201 GB, free: 30.57 MB / 0.9948 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.008174/0.6926, allocations: 9.403 MB / 1.211 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.6953, allocations: 3.188 MB / 1.214 GB, free: 24.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.6968, allocations: 1.214 MB / 1.215 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005901/0.6973, allocations: 293.5 kB / 1.215 GB, free: 23.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.6974, allocations: 80.72 kB / 1.215 GB, free: 23.83 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=392): time 4.639e-06/0.6974, allocations: 4 kB / 1.215 GB, free: 23.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392): time 0.004008/0.7014, allocations: 3.068 MB / 1.218 GB, free: 23.04 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.7014, allocations: 91.42 kB / 1.218 GB, free: 22.97 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.7025, allocations: 1.438 MB / 1.22 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.7027, allocations: 93.7 kB / 1.22 GB, free: 22.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/0.7031, allocations: 1.311 MB / 1.221 GB, free: 21.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005409/0.7036, allocations: 1.411 MB / 1.222 GB, free: 20.17 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006068/0.7043, allocations: 0.6235 MB / 1.223 GB, free: 19.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.121e-05/0.7043, allocations: 479.8 kB / 1.224 GB, free: 19.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.7053, allocations: 0.6844 MB / 1.224 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.7066, allocations: 1.207 MB / 1.225 GB, free: 18.71 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.7089, allocations: 2.085 MB / 1.227 GB, free: 17.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.7089, allocations: 4 kB / 1.227 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.003163/0.7121, allocations: 2.692 MB / 1.23 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.7121, allocations: 12.56 kB / 1.23 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7121, allocations: 3.031 kB / 1.23 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.7122, allocations: 21.31 kB / 1.23 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.7138, allocations: 0.7604 MB / 1.231 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.7139, allocations: 24.89 kB / 1.231 GB, free: 16.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.715, allocations: 289.9 kB / 1.231 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.7152, allocations: 127.1 kB / 1.231 GB, free: 16.37 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (472): * Single equations (assignments): 472 * 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.0005193/0.7157, allocations: 344.3 kB / 1.232 GB, free: 16.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.7161, allocations: 409.8 kB / 1.232 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/0.7192, allocations: 2.711 MB / 1.235 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.7192, allocations: 34.66 kB / 1.235 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7192, allocations: 2.938 kB / 1.235 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00231/0.7215, allocations: 2.097 MB / 1.237 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.7272, allocations: 5.418 MB / 1.242 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.7272, allocations: 4 kB / 1.242 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.7288, allocations: 0.7248 MB / 1.243 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.7289, allocations: 16 kB / 1.243 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.729, allocations: 83.98 kB / 1.243 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.729, allocations: 14.53 kB / 1.243 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.729, allocations: 4 kB / 1.243 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.7328, allocations: 3.621 MB / 1.246 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/0.7336, allocations: 0.6884 MB / 1.247 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.7338, allocations: 71.98 kB / 1.247 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/0.7347, allocations: 85.81 kB / 1.247 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.735, allocations: 246.5 kB / 1.247 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.7351, allocations: 116.8 kB / 1.248 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006784/0.7358, allocations: 0.8468 MB / 1.248 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7358, allocations: 4 kB / 1.248 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001764/0.7376, allocations: 1.295 MB / 1.25 GB, free: 1.25 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.0005965/0.7382, allocations: 470.7 kB / 1.25 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002906/0.7411, allocations: 2.217 MB / 1.252 GB, free: 14.67 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7411, allocations: 448 / 1.252 GB, free: 14.67 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.7426, allocations: 1.268 MB / 1.253 GB, free: 13.47 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.746, allocations: 1.498 MB / 1.255 GB, free: 12.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/0.7527, allocations: 6.281 MB / 1.261 GB, free: 5.641 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.7533, allocations: 0.7587 MB / 1.262 GB, free: 4.852 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002055/0.7553, allocations: 1.04 MB / 1.263 GB, free: 3.805 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000671/0.756, allocations: 272.5 kB / 1.263 GB, free: 3.539 MB / 1.01 GB Notification: Performance of SimCode: time 1.713e-06/0.756, allocations: 0 / 1.263 GB, free: 3.539 MB / 1.01 GB Notification: Performance of Templates: time 0.05948/0.8155, allocations: 60.21 MB / 1.322 GB, free: 8.707 MB / 1.073 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: 6.655607134103775]