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.001707/0.001707, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002337/0.002337, allocations: 166.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.72/2.72, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] 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.1.",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.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.352e-05, allocations: 6.219 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8903/0.8903, allocations: 279.2 MB / 1.224 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03203/0.9224, allocations: 17.28 MB / 1.241 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005449/0.9278, allocations: 119.8 kB / 1.241 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007083/0.9349, allocations: 2.066 MB / 1.243 GB, free: 7.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02288/0.9578, allocations: 7.814 MB / 1.25 GB, free: 2.086 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.9679, allocations: 3.363 MB / 1.254 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01535/0.9832, allocations: 9.378 MB / 1.263 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005304/0.9885, allocations: 2.384 MB / 1.265 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/1.002, allocations: 4.562 MB / 1.269 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008135/1.01, allocations: 3.051 MB / 1.272 GB, free: 3.898 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001301/1.011, allocations: 405.1 kB / 1.273 GB, free: 3.898 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/1.027, allocations: 5.862 MB / 1.279 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003257/1.03, allocations: 1.818 MB / 1.28 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004046/1.034, allocations: 1.684 MB / 1.282 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0201/1.054, allocations: 8.341 MB / 1.29 GB, free: 4.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.054, allocations: 0 / 1.29 GB, free: 4.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.054, allocations: 0 / 1.29 GB, free: 4.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001946/1.054, allocations: 0 / 1.29 GB, free: 4.91 MB / 1.061 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.01609/1.071, allocations: 5.008 MB / 1.295 GB, free: 15.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.071, allocations: 8.031 kB / 1.295 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007468/1.078, allocations: 1.035 MB / 1.296 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005767/1.084, allocations: 2.174 MB / 1.298 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/1.084, allocations: 247.2 kB / 1.298 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009271/1.085, allocations: 323.9 kB / 1.299 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00909/1.094, allocations: 4.637 MB / 1.303 GB, free: 7.207 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/1.094, allocations: 11.89 kB / 1.303 GB, free: 7.195 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/1.095, allocations: 136 kB / 1.303 GB, free: 7.062 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/1.095, allocations: 170.4 kB / 1.304 GB, free: 6.895 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00942/1.104, allocations: 4.729 MB / 1.308 GB, free: 2.156 MB / 1.076 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.02089/1.125, allocations: 9.545 MB / 1.317 GB, free: 8.488 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006774/1.132, allocations: 4.261 MB / 1.322 GB, free: 4.238 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/1.136, allocations: 2.24 MB / 1.324 GB, free: 1.988 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.137, allocations: 254.9 kB / 1.324 GB, free: 1.738 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.494e-05/1.137, allocations: 77.64 kB / 1.324 GB, free: 1.652 MB / 1.092 GB Notification: Performance of pre-optimization done (n=392): time 1.133e-05/1.137, allocations: 0 / 1.324 GB, free: 1.652 MB / 1.092 GB Notification: Performance of matching and sorting (n=392): time 0.01071/1.148, allocations: 5.541 MB / 1.33 GB, free: 12.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/1.148, allocations: 94.48 kB / 1.33 GB, free: 11.98 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/1.15, allocations: 1.508 MB / 1.331 GB, free: 10.47 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/1.151, allocations: 93.7 kB / 1.331 GB, free: 10.38 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.152, allocations: 1.16 MB / 1.332 GB, free: 9.203 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.153, allocations: 1.367 MB / 1.334 GB, free: 7.824 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.154, allocations: 0.5547 MB / 1.334 GB, free: 7.262 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.154, allocations: 301.1 kB / 1.335 GB, free: 6.965 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.157, allocations: 1.564 MB / 1.336 GB, free: 5.398 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/1.161, allocations: 1.966 MB / 1.338 GB, free: 3.352 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006639/1.167, allocations: 3.77 MB / 1.342 GB, free: 15.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.167, allocations: 0 / 1.342 GB, free: 15.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007837/1.175, allocations: 4.179 MB / 1.346 GB, free: 11.29 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/1.175, allocations: 11.94 kB / 1.346 GB, free: 11.28 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/1.175, allocations: 4.656 kB / 1.346 GB, free: 11.28 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/1.175, allocations: 20 kB / 1.346 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/1.179, allocations: 0.7021 MB / 1.346 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-05/1.179, allocations: 19.98 kB / 1.346 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/1.181, allocations: 246.1 kB / 1.347 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/1.182, allocations: 116 kB / 1.347 GB, free: 10.18 MB / 1.123 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 (430): * Single equations (assignments): 430 * 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.001729/1.183, allocations: 0.7938 MB / 1.348 GB, free: 9.375 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/1.184, allocations: 298.2 kB / 1.348 GB, free: 9.082 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00838/1.193, allocations: 4.422 MB / 1.352 GB, free: 4.625 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/1.193, allocations: 39.98 kB / 1.352 GB, free: 4.586 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.193, allocations: 0 / 1.352 GB, free: 4.586 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006693/1.199, allocations: 3.792 MB / 1.356 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/1.216, allocations: 7.599 MB / 1.363 GB, free: 9.016 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.216, allocations: 4 kB / 1.363 GB, free: 9.012 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003791/1.22, allocations: 0.7101 MB / 1.364 GB, free: 8.301 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.489e-05/1.22, allocations: 19.94 kB / 1.364 GB, free: 8.281 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/1.22, allocations: 92.12 kB / 1.364 GB, free: 8.191 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.821e-05/1.22, allocations: 23.88 kB / 1.364 GB, free: 8.168 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.22, allocations: 0 / 1.364 GB, free: 8.168 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.233, allocations: 6.569 MB / 1.371 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/1.235, allocations: 0.7159 MB / 1.371 GB, free: 0.7891 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006674/1.235, allocations: 72 kB / 1.371 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.238, allocations: 93.58 kB / 1.371 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005983/1.238, allocations: 242.5 kB / 1.372 GB, free: 400 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/1.239, allocations: 124 kB / 1.372 GB, free: 276 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002107/1.241, allocations: 1.024 MB / 1.373 GB, free: 15.25 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.241, allocations: 0 / 1.373 GB, free: 15.25 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003511/1.244, allocations: 1.256 MB / 1.374 GB, free: 14 MB / 1.154 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.00105/1.246, allocations: 449 kB / 1.374 GB, free: 13.55 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006923/1.252, allocations: 3.726 MB / 1.378 GB, free: 9.809 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.252, allocations: 0 / 1.378 GB, free: 9.809 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003434/1.256, allocations: 1.988 MB / 1.38 GB, free: 7.82 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007348/1.263, allocations: 1.479 MB / 1.381 GB, free: 6.375 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/1.277, allocations: 7.31 MB / 1.389 GB, free: 14.98 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/1.279, allocations: 1.647 MB / 1.39 GB, free: 13.29 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004305/1.283, allocations: 1.179 MB / 1.391 GB, free: 12.11 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.285, allocations: 260.5 kB / 1.392 GB, free: 11.86 MB / 1.17 GB Notification: Performance of SimCode: time 1.493e-06/1.285, allocations: 4 kB / 1.392 GB, free: 11.85 MB / 1.17 GB Notification: Performance of Templates: time 0.1062/1.391, allocations: 59.65 MB / 1.45 GB, free: 1.367 MB / 1.217 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.566625982522964]