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.002501/0.002501, allocations: 93.47 kB / 19.44 MB, free: 336 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.003116/0.003116, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.351/3.351, allocations: 429.4 MB / 0.6729 GB, free: 4.023 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.412e-06/1.412e-06, allocations: 0 / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.805e-05, allocations: 7.125 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7214/0.7215, allocations: 295.7 MB / 1.166 GB, free: 41.2 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.7434, allocations: 17.67 MB / 1.183 GB, free: 30.41 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.7466, allocations: 108.6 kB / 1.184 GB, free: 30.41 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003904/0.7505, allocations: 1.813 MB / 1.185 GB, free: 29.82 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.7652, allocations: 6.972 MB / 1.192 GB, free: 26.47 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006647/0.7719, allocations: 3.049 MB / 1.195 GB, free: 25 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.007614/0.7795, allocations: 8.015 MB / 1.203 GB, free: 21.26 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.7821, allocations: 2.065 MB / 1.205 GB, free: 19.99 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006142/0.7883, allocations: 4.136 MB / 1.209 GB, free: 18.28 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.7925, allocations: 2.589 MB / 1.212 GB, free: 17.47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005561/0.7931, allocations: 336.3 kB / 1.212 GB, free: 17.46 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009114/0.8022, allocations: 5.165 MB / 1.217 GB, free: 15.59 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.8035, allocations: 1.464 MB / 1.218 GB, free: 14.84 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.8055, allocations: 1.382 MB / 1.22 GB, free: 14.29 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.8164, allocations: 7.064 MB / 1.227 GB, free: 12.03 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8164, allocations: 0 / 1.227 GB, free: 12.03 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8164, allocations: 3.5 kB / 1.227 GB, free: 12.03 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.939e-05/0.8165, allocations: 4 kB / 1.227 GB, free: 12.03 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.009178/0.8257, allocations: 4.38 MB / 1.231 GB, free: 9.551 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8257, allocations: 14.19 kB / 1.231 GB, free: 9.547 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.8382, allocations: 2.042 MB / 1.233 GB, free: 9.016 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.8425, allocations: 1.883 MB / 1.235 GB, free: 8.082 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.8427, allocations: 202.1 kB / 1.235 GB, free: 7.988 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005517/0.8432, allocations: 269.3 kB / 1.235 GB, free: 7.902 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005879/0.8491, allocations: 3.66 MB / 1.239 GB, free: 5.535 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-05/0.8492, allocations: 9.5 kB / 1.239 GB, free: 5.527 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/0.8495, allocations: 117.3 kB / 1.239 GB, free: 5.441 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.8496, allocations: 153.9 kB / 1.239 GB, free: 5.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006315/0.856, allocations: 3.126 MB / 1.242 GB, free: 4.137 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.01584/0.8718, allocations: 9.82 MB / 1.252 GB, free: 13.34 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006345/0.8781, allocations: 2.848 MB / 1.254 GB, free: 12.04 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/0.8815, allocations: 1.532 MB / 1.256 GB, free: 11.43 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.8818, allocations: 60.19 kB / 1.256 GB, free: 11.41 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.946e-05/0.8818, allocations: 65.45 kB / 1.256 GB, free: 11.35 MB / 1.026 GB Notification: Performance of pre-optimization done (n=278): time 5.129e-06/0.8818, allocations: 0 / 1.256 GB, free: 11.35 MB / 1.026 GB Notification: Performance of matching and sorting (n=278): time 0.009495/0.8913, allocations: 3.566 MB / 1.26 GB, free: 9.02 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.8914, allocations: 81.59 kB / 1.26 GB, free: 8.926 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.8941, allocations: 1.586 MB / 1.261 GB, free: 7.316 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/0.8944, allocations: 73.7 kB / 1.261 GB, free: 7.238 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.8955, allocations: 1.184 MB / 1.262 GB, free: 6.039 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/0.8968, allocations: 1.058 MB / 1.263 GB, free: 4.973 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.8979, allocations: 0.5155 MB / 1.264 GB, free: 4.449 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.8981, allocations: 480.8 kB / 1.264 GB, free: 3.977 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.901, allocations: 1.012 MB / 1.265 GB, free: 2.961 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/0.9042, allocations: 1.42 MB / 1.267 GB, free: 1.457 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006599/0.9108, allocations: 2.688 MB / 1.269 GB, free: 14.68 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.9108, allocations: 4 kB / 1.269 GB, free: 14.67 MB / 1.042 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007729/0.9186, allocations: 2.971 MB / 1.272 GB, free: 11.69 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.9186, allocations: 8 kB / 1.272 GB, free: 11.68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.9186, allocations: 4 kB / 1.272 GB, free: 11.68 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.9187, allocations: 23.94 kB / 1.272 GB, free: 11.65 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/0.9225, allocations: 0.616 MB / 1.273 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/0.9225, allocations: 18.72 kB / 1.273 GB, free: 11.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.9257, allocations: 270.4 kB / 1.273 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.926, allocations: 91.97 kB / 1.273 GB, free: 10.7 MB / 1.042 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.001228/0.9272, allocations: 480.9 kB / 1.274 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007823/0.928, allocations: 322.5 kB / 1.274 GB, free: 9.93 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009342/0.929, allocations: 322.2 kB / 1.274 GB, free: 9.605 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.929, allocations: 34 kB / 1.274 GB, free: 9.574 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.929, allocations: 0 / 1.274 GB, free: 9.574 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006265/0.9353, allocations: 2.368 MB / 1.277 GB, free: 7.137 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.9494, allocations: 5.623 MB / 1.282 GB, free: 1.406 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9495, allocations: 3.938 kB / 1.282 GB, free: 1.402 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0042/0.9537, allocations: 0.6215 MB / 1.283 GB, free: 0.8086 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.699e-05/0.9537, allocations: 12 kB / 1.283 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/0.954, allocations: 63.97 kB / 1.283 GB, free: 0.7344 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/0.954, allocations: 13.31 kB / 1.283 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.954, allocations: 0 / 1.283 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.9646, allocations: 4.242 MB / 1.287 GB, free: 12.39 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/0.9666, allocations: 0.5718 MB / 1.288 GB, free: 11.82 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/0.967, allocations: 59.98 kB / 1.288 GB, free: 11.76 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/0.9697, allocations: 129.7 kB / 1.288 GB, free: 11.63 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/0.9702, allocations: 173.2 kB / 1.288 GB, free: 11.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/0.9704, allocations: 85.33 kB / 1.288 GB, free: 11.38 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001533/0.972, allocations: 0.9402 MB / 1.289 GB, free: 10.45 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.972, allocations: 4 kB / 1.289 GB, free: 10.44 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002846/0.9748, allocations: 1.045 MB / 1.29 GB, free: 9.395 MB / 1.057 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.0006175/0.9754, allocations: 339 kB / 1.29 GB, free: 9.082 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006645/0.9821, allocations: 2.626 MB / 1.293 GB, free: 6.461 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9821, allocations: 0 / 1.293 GB, free: 6.461 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003288/0.9854, allocations: 1.408 MB / 1.294 GB, free: 5.094 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006465/0.9918, allocations: 1.355 MB / 1.296 GB, free: 3.777 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.004, allocations: 5.578 MB / 1.301 GB, free: 14.14 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.006, allocations: 1.283 MB / 1.302 GB, free: 12.81 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.003805/1.009, allocations: 0.7849 MB / 1.303 GB, free: 12.02 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.011, allocations: 224.4 kB / 1.303 GB, free: 11.8 MB / 1.073 GB Notification: Performance of SimCode: time 1.503e-06/1.011, allocations: 0 / 1.303 GB, free: 11.8 MB / 1.073 GB Notification: Performance of Templates: time 0.1005/1.111, allocations: 56.84 MB / 1.359 GB, free: 4.113 MB / 1.12 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] 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.390475028078072]