Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.001686/0.001686, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002219/0.002219, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.623/1.623, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.31/3.31, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.472e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7405/0.7406, allocations: 262.3 MB / 1.134 GB, free: 44.82 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02427/0.7648, allocations: 16.06 MB / 1.149 GB, free: 44.35 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004259/0.7691, allocations: 105.3 kB / 1.15 GB, free: 44.35 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.005243/0.7743, allocations: 1.814 MB / 1.151 GB, free: 43.95 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01859/0.7929, allocations: 6.979 MB / 1.158 GB, free: 41.55 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.007965/0.8009, allocations: 3.047 MB / 1.161 GB, free: 40.41 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.009882/0.8108, allocations: 8.026 MB / 1.169 GB, free: 37.03 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003714/0.8145, allocations: 2.05 MB / 1.171 GB, free: 35.86 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009031/0.8235, allocations: 4.141 MB / 1.175 GB, free: 34.37 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005366/0.8289, allocations: 2.575 MB / 1.178 GB, free: 33.82 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0009401/0.8298, allocations: 329.3 kB / 1.178 GB, free: 33.82 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.8408, allocations: 5.166 MB / 1.183 GB, free: 32 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.8427, allocations: 1.437 MB / 1.184 GB, free: 31.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003182/0.8459, allocations: 1.377 MB / 1.186 GB, free: 30.76 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.8601, allocations: 7.058 MB / 1.193 GB, free: 28.48 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8601, allocations: 4 kB / 1.193 GB, free: 28.48 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8601, allocations: 0 / 1.193 GB, free: 28.48 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001619/0.8603, allocations: 0 / 1.193 GB, free: 28.48 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01165/0.8719, allocations: 4.1 MB / 1.197 GB, free: 26.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.8719, allocations: 10.58 kB / 1.197 GB, free: 26.27 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.8853, allocations: 2.038 MB / 1.199 GB, free: 25.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.8896, allocations: 1.957 MB / 1.2 GB, free: 24.79 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.8898, allocations: 195.4 kB / 1.201 GB, free: 24.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008481/0.8907, allocations: 272.8 kB / 1.201 GB, free: 24.61 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007865/0.8985, allocations: 4.261 MB / 1.205 GB, free: 22.63 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.552e-05/0.8986, allocations: 6.406 kB / 1.205 GB, free: 22.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/0.8991, allocations: 112.4 kB / 1.205 GB, free: 22.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.8993, allocations: 152.6 kB / 1.205 GB, free: 22.53 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007979/0.9072, allocations: 4.248 MB / 1.209 GB, free: 21.18 MB / 1.01 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.01553/0.9228, allocations: 8.821 MB / 1.218 GB, free: 16.41 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006262/0.929, allocations: 3.553 MB / 1.222 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/0.9327, allocations: 2.008 MB / 1.223 GB, free: 13.54 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.9328, allocations: 63.28 kB / 1.224 GB, free: 13.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.9329, allocations: 64.97 kB / 1.224 GB, free: 13.46 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 5.851e-06/0.9329, allocations: 0 / 1.224 GB, free: 13.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.00946/0.9424, allocations: 4.874 MB / 1.228 GB, free: 11.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.9424, allocations: 80.34 kB / 1.228 GB, free: 10.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.9443, allocations: 1.316 MB / 1.23 GB, free: 10.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.9445, allocations: 72.3 kB / 1.23 GB, free: 10.18 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005013/0.945, allocations: 1.064 MB / 1.231 GB, free: 9.242 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007537/0.9458, allocations: 0.9872 MB / 1.232 GB, free: 8.363 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008338/0.9466, allocations: 446.5 kB / 1.232 GB, free: 8.117 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.9466, allocations: 304 kB / 1.233 GB, free: 7.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.9493, allocations: 1.481 MB / 1.234 GB, free: 7.059 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.9521, allocations: 1.759 MB / 1.236 GB, free: 6.047 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005436/0.9575, allocations: 3.322 MB / 1.239 GB, free: 4.223 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.9575, allocations: 0 / 1.239 GB, free: 4.223 MB / 1.01 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006833/0.9644, allocations: 3.854 MB / 1.243 GB, free: 0.9258 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.9644, allocations: 15.94 kB / 1.243 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9644, allocations: 4 kB / 1.243 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/0.9644, allocations: 16 kB / 1.243 GB, free: 0.8906 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.9678, allocations: 0.614 MB / 1.243 GB, free: 316 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/0.9679, allocations: 22.52 kB / 1.243 GB, free: 296 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.971, allocations: 270.3 kB / 1.244 GB, free: 24 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/0.9713, allocations: 91.97 kB / 1.244 GB, free: 15.93 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (332): * Single equations (assignments): 332 * 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.001679/0.973, allocations: 0.6511 MB / 1.244 GB, free: 15.3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.974, allocations: 314.6 kB / 1.245 GB, free: 15 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/0.975, allocations: 334.1 kB / 1.245 GB, free: 14.66 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.975, allocations: 31.98 kB / 1.245 GB, free: 14.63 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-05/0.9751, allocations: 0 / 1.245 GB, free: 14.63 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007475/0.9825, allocations: 3.241 MB / 1.248 GB, free: 11.32 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.9974, allocations: 6.365 MB / 1.254 GB, free: 4.859 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.9975, allocations: 4 kB / 1.254 GB, free: 4.855 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00413/1.002, allocations: 0.6246 MB / 1.255 GB, free: 4.258 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/1.002, allocations: 8 kB / 1.255 GB, free: 4.25 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/1.002, allocations: 60.66 kB / 1.255 GB, free: 4.191 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/1.002, allocations: 12 kB / 1.255 GB, free: 4.18 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.002, allocations: 0 / 1.255 GB, free: 4.18 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.015, allocations: 5.697 MB / 1.261 GB, free: 14.4 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.017, allocations: 0.5875 MB / 1.261 GB, free: 13.81 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/1.017, allocations: 55.31 kB / 1.261 GB, free: 13.76 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.02, allocations: 125.7 kB / 1.261 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000492/1.02, allocations: 169.8 kB / 1.262 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/1.02, allocations: 87.95 kB / 1.262 GB, free: 13.38 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001525/1.022, allocations: 0.8895 MB / 1.262 GB, free: 12.5 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.1e-07/1.022, allocations: 0 / 1.262 GB, free: 12.5 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002704/1.025, allocations: 1.053 MB / 1.263 GB, free: 11.44 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0006463/1.025, allocations: 328.5 kB / 1.264 GB, free: 11.14 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.007956/1.033, allocations: 3.327 MB / 1.267 GB, free: 7.824 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.033, allocations: 4 kB / 1.267 GB, free: 7.82 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00384/1.037, allocations: 1.71 MB / 1.269 GB, free: 6.16 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0064/1.043, allocations: 1.356 MB / 1.27 GB, free: 4.852 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.057, allocations: 6.257 MB / 1.276 GB, free: 14.53 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/1.059, allocations: 1.342 MB / 1.277 GB, free: 13.15 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.004565/1.063, allocations: 0.9372 MB / 1.278 GB, free: 12.21 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/1.065, allocations: 220.4 kB / 1.279 GB, free: 11.99 MB / 1.057 GB Notification: Performance of SimCode: time 1.613e-06/1.065, allocations: 0 / 1.279 GB, free: 11.99 MB / 1.057 GB Notification: Performance of Templates: time 0.1018/1.166, allocations: 56.49 MB / 1.334 GB, free: 4.656 MB / 1.104 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.556223319028504]