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.002782/0.002782, allocations: 79.75 kB / 20.23 MB, free: 4.164 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.00344/0.00344, allocations: 153.4 kB / 23.55 MB, free: 0.8555 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 1.764/1.764, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.892/2.892, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.332e-06/1.332e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.767e-05, allocations: 6.531 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8179/0.818, allocations: 315.3 MB / 1.094 GB, free: 48.87 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.8435, allocations: 18.98 MB / 1.113 GB, free: 48.71 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/0.8473, allocations: 118.7 kB / 1.113 GB, free: 48.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.005431/0.8527, allocations: 2.058 MB / 1.115 GB, free: 48.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01906/0.8718, allocations: 7.832 MB / 1.123 GB, free: 47.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.008548/0.8803, allocations: 3.361 MB / 1.126 GB, free: 47.35 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.8912, allocations: 9.397 MB / 1.135 GB, free: 45.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004281/0.8954, allocations: 2.47 MB / 1.137 GB, free: 45.47 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00931/0.9047, allocations: 4.579 MB / 1.142 GB, free: 45.08 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006104/0.9109, allocations: 3.117 MB / 1.145 GB, free: 44.79 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.9121, allocations: 404.1 kB / 1.145 GB, free: 44.79 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/0.9251, allocations: 5.868 MB / 1.151 GB, free: 44.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003292/0.9284, allocations: 1.844 MB / 1.153 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005641/0.934, allocations: 1.688 MB / 1.155 GB, free: 43.76 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.9501, allocations: 8.365 MB / 1.163 GB, free: 43.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9501, allocations: 0 / 1.163 GB, free: 43.07 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9501, allocations: 2.625 kB / 1.163 GB, free: 43.07 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001653/0.9503, allocations: 2.188 kB / 1.163 GB, free: 43.07 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.0129/0.9632, allocations: 5.33 MB / 1.168 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.9632, allocations: 10.84 kB / 1.168 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.9701, allocations: 1.414 MB / 1.169 GB, free: 40.34 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004919/0.975, allocations: 2.176 MB / 1.171 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.9752, allocations: 244.4 kB / 1.172 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005941/0.9758, allocations: 334.1 kB / 1.172 GB, free: 39.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00666/0.9824, allocations: 3.84 MB / 1.176 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.734e-05/0.9825, allocations: 13.02 kB / 1.176 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003266/0.9828, allocations: 138.9 kB / 1.176 GB, free: 37.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.983, allocations: 166.7 kB / 1.176 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005671/0.9887, allocations: 3.212 MB / 1.179 GB, free: 36.42 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.01713/1.006, allocations: 10.56 MB / 1.189 GB, free: 30.67 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/1.01, allocations: 3.211 MB / 1.193 GB, free: 29.29 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.012, allocations: 1.494 MB / 1.194 GB, free: 28.87 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.013, allocations: 289.5 kB / 1.194 GB, free: 28.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/1.013, allocations: 83.47 kB / 1.194 GB, free: 28.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=392): time 6.563e-06/1.013, allocations: 4 kB / 1.194 GB, free: 28.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392): time 0.006757/1.02, allocations: 3.727 MB / 1.198 GB, free: 27.63 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.02, allocations: 96.06 kB / 1.198 GB, free: 27.56 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.022, allocations: 1.777 MB / 1.2 GB, free: 26.83 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002563/1.023, allocations: 95.02 kB / 1.2 GB, free: 26.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006462/1.023, allocations: 1.305 MB / 1.201 GB, free: 25.75 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/1.024, allocations: 1.465 MB / 1.203 GB, free: 24.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008777/1.025, allocations: 0.645 MB / 1.203 GB, free: 24.28 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/1.025, allocations: 482.5 kB / 1.204 GB, free: 23.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/1.027, allocations: 0.8826 MB / 1.205 GB, free: 23.58 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/1.029, allocations: 1.447 MB / 1.206 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/1.033, allocations: 2.697 MB / 1.209 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.033, allocations: 5.281 kB / 1.209 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005212/1.038, allocations: 2.993 MB / 1.212 GB, free: 20.74 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.038, allocations: 10.98 kB / 1.212 GB, free: 20.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.038, allocations: 3.281 kB / 1.212 GB, free: 20.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/1.038, allocations: 23.69 kB / 1.212 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.041, allocations: 0.6957 MB / 1.212 GB, free: 20.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/1.041, allocations: 22.12 kB / 1.212 GB, free: 20.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/1.043, allocations: 249.2 kB / 1.213 GB, free: 20.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/1.044, allocations: 118 kB / 1.213 GB, free: 20.49 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 (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.001263/1.045, allocations: 0.5355 MB / 1.213 GB, free: 20.12 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007696/1.046, allocations: 415.8 kB / 1.214 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005967/1.052, allocations: 3.141 MB / 1.217 GB, free: 18.74 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/1.052, allocations: 39 kB / 1.217 GB, free: 18.74 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.052, allocations: 4 kB / 1.217 GB, free: 18.73 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00418/1.056, allocations: 2.547 MB / 1.219 GB, free: 17.78 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.068, allocations: 6.473 MB / 1.226 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.068, allocations: 2.562 kB / 1.226 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/1.072, allocations: 0.7235 MB / 1.226 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/1.072, allocations: 14.12 kB / 1.226 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/1.072, allocations: 83.66 kB / 1.226 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.35e-05/1.072, allocations: 19.58 kB / 1.226 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.072, allocations: 2.875 kB / 1.226 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007235/1.079, allocations: 4.565 MB / 1.231 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.081, allocations: 0.694 MB / 1.232 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006211/1.082, allocations: 72 kB / 1.232 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/1.084, allocations: 81.28 kB / 1.232 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004577/1.085, allocations: 250.5 kB / 1.232 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/1.085, allocations: 112 kB / 1.232 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001356/1.087, allocations: 1.063 MB / 1.233 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.087, allocations: 0 / 1.233 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00289/1.089, allocations: 1.26 MB / 1.234 GB, free: 9.5 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.0008505/1.09, allocations: 462.2 kB / 1.235 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004599/1.095, allocations: 2.657 MB / 1.237 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.095, allocations: 0 / 1.237 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002179/1.097, allocations: 1.543 MB / 1.239 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007022/1.104, allocations: 1.499 MB / 1.24 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.116, allocations: 6.617 MB / 1.247 GB, free: 12.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/1.118, allocations: 1.565 MB / 1.248 GB, free: 11.23 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004329/1.122, allocations: 0.9958 MB / 1.249 GB, free: 10.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.123, allocations: 260.5 kB / 1.25 GB, free: 9.98 MB / 1.01 GB Notification: Performance of SimCode: time 1.723e-06/1.123, allocations: 0 / 1.25 GB, free: 9.98 MB / 1.01 GB Notification: Performance of Templates: time 0.1144/1.238, allocations: 60.08 MB / 1.308 GB, free: 15.25 MB / 1.073 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","/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.312997050001286]