Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001363/0.001363, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001448/0.001448, allocations: 173 kB / 23.49 MB, free: 1.055 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.8899/0.8899, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.034/2.034, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.526e-05, allocations: 6.453 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6087/0.6088, allocations: 315.8 MB / 1.187 GB, free: 29.44 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.6271, allocations: 19.12 MB / 1.205 GB, free: 17.43 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.6293, allocations: 117.6 kB / 1.205 GB, free: 17.43 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.6326, allocations: 2.068 MB / 1.207 GB, free: 16.75 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.6441, allocations: 7.902 MB / 1.215 GB, free: 12.97 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005003/0.6491, allocations: 3.343 MB / 1.218 GB, free: 11.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00662/0.6557, allocations: 9.448 MB / 1.228 GB, free: 6.977 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.6584, allocations: 2.443 MB / 1.23 GB, free: 5.484 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00543/0.6639, allocations: 4.944 MB / 1.235 GB, free: 3.438 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.667, allocations: 3.1 MB / 1.238 GB, free: 2.457 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.6674, allocations: 407.9 kB / 1.238 GB, free: 2.457 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007636/0.6751, allocations: 5.862 MB / 1.244 GB, free: 232 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.6762, allocations: 1.813 MB / 1.246 GB, free: 15.2 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.6777, allocations: 1.692 MB / 1.247 GB, free: 14.38 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.007887/0.6856, allocations: 6.615 MB / 1.254 GB, free: 10.57 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6856, allocations: 0 / 1.254 GB, free: 10.57 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6856, allocations: 0 / 1.254 GB, free: 10.57 MB / 1.026 GB Notification: Performance of Transformations before backend: time 4.107e-05/0.6856, allocations: 0 / 1.254 GB, free: 10.57 MB / 1.026 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.006286/0.6919, allocations: 5.038 MB / 1.259 GB, free: 7.172 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.692, allocations: 9.219 kB / 1.259 GB, free: 7.172 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008493/0.7004, allocations: 2.636 MB / 1.261 GB, free: 5.836 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.703, allocations: 2.165 MB / 1.263 GB, free: 4.363 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.7031, allocations: 255.7 kB / 1.264 GB, free: 4.246 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/0.7035, allocations: 338.3 kB / 1.264 GB, free: 4.133 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004397/0.7079, allocations: 3.818 MB / 1.268 GB, free: 1.719 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/0.708, allocations: 10.7 kB / 1.268 GB, free: 1.711 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/0.7083, allocations: 132 kB / 1.268 GB, free: 1.609 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.7084, allocations: 215.6 kB / 1.268 GB, free: 1.562 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.7126, allocations: 2.866 MB / 1.271 GB, free: 15.09 MB / 1.042 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.01064/0.7233, allocations: 10.26 MB / 1.281 GB, free: 4.688 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.7273, allocations: 3.567 MB / 1.284 GB, free: 1.129 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.7293, allocations: 1.4 MB / 1.286 GB, free: 15.72 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.7295, allocations: 103 kB / 1.286 GB, free: 15.62 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.7296, allocations: 80.47 kB / 1.286 GB, free: 15.53 MB / 1.057 GB Notification: Performance of pre-optimization done (n=392): time 5.531e-06/0.7296, allocations: 0 / 1.286 GB, free: 15.53 MB / 1.057 GB Notification: Performance of matching and sorting (n=392): time 0.005842/0.7354, allocations: 3.554 MB / 1.289 GB, free: 11.95 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.7355, allocations: 102.4 kB / 1.289 GB, free: 11.84 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.7367, allocations: 1.456 MB / 1.291 GB, free: 10.38 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002338/0.737, allocations: 89.7 kB / 1.291 GB, free: 10.28 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.7376, allocations: 1.315 MB / 1.292 GB, free: 8.953 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008139/0.7384, allocations: 1.406 MB / 1.294 GB, free: 7.535 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008513/0.7392, allocations: 0.6416 MB / 1.294 GB, free: 6.883 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.7393, allocations: 480.7 kB / 1.295 GB, free: 6.41 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.7409, allocations: 0.948 MB / 1.296 GB, free: 5.465 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.7428, allocations: 1.463 MB / 1.297 GB, free: 3.898 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.7463, allocations: 2.55 MB / 1.3 GB, free: 1.242 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.7463, allocations: 0 / 1.3 GB, free: 1.242 MB / 1.057 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.004813/0.7511, allocations: 3.199 MB / 1.303 GB, free: 14.03 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.7511, allocations: 8 kB / 1.303 GB, free: 14.02 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7511, allocations: 4 kB / 1.303 GB, free: 14.02 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.7512, allocations: 24.53 kB / 1.303 GB, free: 13.99 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.7538, allocations: 0.8894 MB / 1.304 GB, free: 13.1 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.7538, allocations: 24 kB / 1.304 GB, free: 13.08 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.7557, allocations: 410.5 kB / 1.304 GB, free: 12.68 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.756, allocations: 128 kB / 1.304 GB, free: 12.55 MB / 1.073 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.0007501/0.7567, allocations: 355.8 kB / 1.304 GB, free: 12.19 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/0.7574, allocations: 410.2 kB / 1.305 GB, free: 11.79 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.7578, allocations: 440.6 kB / 1.305 GB, free: 11.35 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.7579, allocations: 40 kB / 1.305 GB, free: 11.31 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.7579, allocations: 0 / 1.305 GB, free: 11.31 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003623/0.7615, allocations: 2.433 MB / 1.308 GB, free: 8.809 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/0.7703, allocations: 6.027 MB / 1.314 GB, free: 2.656 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7703, allocations: 0 / 1.314 GB, free: 2.656 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/0.7729, allocations: 0.8546 MB / 1.314 GB, free: 1.801 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.7729, allocations: 20 kB / 1.314 GB, free: 1.781 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.7731, allocations: 87.95 kB / 1.315 GB, free: 1.695 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.7731, allocations: 16 kB / 1.315 GB, free: 1.68 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7731, allocations: 4 kB / 1.315 GB, free: 1.676 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.7791, allocations: 4.176 MB / 1.319 GB, free: 13.39 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.7803, allocations: 0.7703 MB / 1.319 GB, free: 12.62 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/0.7807, allocations: 75.94 kB / 1.319 GB, free: 12.55 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.7823, allocations: 199.8 kB / 1.32 GB, free: 12.35 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/0.7827, allocations: 243.5 kB / 1.32 GB, free: 12.11 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/0.7829, allocations: 119.9 kB / 1.32 GB, free: 12 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0008218/0.7837, allocations: 0.8604 MB / 1.321 GB, free: 11.14 MB / 1.089 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7837, allocations: 0 / 1.321 GB, free: 11.14 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.002123/0.7858, allocations: 1.361 MB / 1.322 GB, free: 9.781 MB / 1.089 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.0006018/0.7864, allocations: 411.2 kB / 1.323 GB, free: 9.375 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.003837/0.7903, allocations: 2.693 MB / 1.325 GB, free: 6.664 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7903, allocations: 5.312 kB / 1.325 GB, free: 6.66 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.7922, allocations: 1.459 MB / 1.327 GB, free: 5.191 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/0.7956, allocations: 1.554 MB / 1.328 GB, free: 3.676 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/0.8038, allocations: 6.714 MB / 1.335 GB, free: 12.84 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.8044, allocations: 0.763 MB / 1.335 GB, free: 12.05 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.002957/0.8073, allocations: 1.168 MB / 1.337 GB, free: 10.88 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.8084, allocations: 284.4 kB / 1.337 GB, free: 10.59 MB / 1.104 GB Notification: Performance of SimCode: time 1.433e-06/0.8084, allocations: 0 / 1.337 GB, free: 10.59 MB / 1.104 GB Notification: Performance of Templates: time 0.06885/0.8772, allocations: 72.43 MB / 1.408 GB, free: 3.398 MB / 1.167 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.569903820054606]