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.001211/0.001211, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001287/0.001287, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9039/0.9039, allocations: 177.2 MB / 203.5 MB, free: 5.734 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 1.761/1.761, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 2.365e-06/2.365e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.586e-05, allocations: 5.094 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8063/0.8063, allocations: 262.3 MB / 1.257 GB, free: 5.449 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.02168/0.828, allocations: 16.05 MB / 1.273 GB, free: 5.367 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/0.8322, allocations: 107.2 kB / 1.273 GB, free: 5.262 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.8362, allocations: 1.813 MB / 1.275 GB, free: 3.438 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.01505/0.8512, allocations: 6.961 MB / 1.281 GB, free: 12.45 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.006381/0.8576, allocations: 3.057 MB / 1.284 GB, free: 9.387 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.008352/0.866, allocations: 8 MB / 1.292 GB, free: 1.363 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.8682, allocations: 1.978 MB / 1.294 GB, free: 15.33 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.8729, allocations: 4.119 MB / 1.298 GB, free: 11.2 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.8759, allocations: 2.533 MB / 1.301 GB, free: 8.68 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.8762, allocations: 334.9 kB / 1.301 GB, free: 8.355 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009187/0.8854, allocations: 5.167 MB / 1.306 GB, free: 3.172 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.8865, allocations: 1.43 MB / 1.307 GB, free: 1.738 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.8878, allocations: 1.384 MB / 1.309 GB, free: 360 kB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.009717/0.8975, allocations: 7.035 MB / 1.316 GB, free: 9.297 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.8975, allocations: 0 / 1.316 GB, free: 9.297 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8975, allocations: 0 / 1.316 GB, free: 9.297 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.782e-05/0.8976, allocations: 0 / 1.316 GB, free: 9.297 MB / 1.151 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.005695/0.9032, allocations: 4.117 MB / 1.32 GB, free: 5.125 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.9033, allocations: 8.75 kB / 1.32 GB, free: 5.117 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005611/0.9089, allocations: 1.59 MB / 1.321 GB, free: 3.523 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.9113, allocations: 1.861 MB / 1.323 GB, free: 1.609 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.9114, allocations: 197.1 kB / 1.323 GB, free: 1.414 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/0.9117, allocations: 267.9 kB / 1.323 GB, free: 1.152 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/0.9165, allocations: 4.253 MB / 1.328 GB, free: 12.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/0.9165, allocations: 3.938 kB / 1.328 GB, free: 12.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.9167, allocations: 108 kB / 1.328 GB, free: 12.59 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.9169, allocations: 161.2 kB / 1.328 GB, free: 12.43 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005136/0.922, allocations: 4.259 MB / 1.332 GB, free: 8.156 MB / 1.167 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.00999/0.932, allocations: 8.723 MB / 1.341 GB, free: 15.31 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/0.9363, allocations: 3.574 MB / 1.344 GB, free: 11.75 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.9387, allocations: 2.005 MB / 1.346 GB, free: 9.742 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.9388, allocations: 42.73 kB / 1.346 GB, free: 9.699 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.9388, allocations: 72.31 kB / 1.346 GB, free: 9.621 MB / 1.182 GB Notification: Performance of pre-optimization done (n=278): time 4.388e-06/0.9388, allocations: 0 / 1.346 GB, free: 9.621 MB / 1.182 GB Notification: Performance of matching and sorting (n=278): time 0.006401/0.9452, allocations: 4.78 MB / 1.351 GB, free: 4.789 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.9453, allocations: 81.59 kB / 1.351 GB, free: 4.695 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.9466, allocations: 1.321 MB / 1.352 GB, free: 3.363 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.9467, allocations: 73.7 kB / 1.352 GB, free: 3.285 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/0.9472, allocations: 1.055 MB / 1.353 GB, free: 2.219 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000644/0.9479, allocations: 0.9875 MB / 1.354 GB, free: 1.223 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005644/0.9484, allocations: 453.4 kB / 1.355 GB, free: 0.7734 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.9485, allocations: 305.1 kB / 1.355 GB, free: 484 kB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.9505, allocations: 1.481 MB / 1.356 GB, free: 14.98 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.9524, allocations: 1.755 MB / 1.358 GB, free: 13.16 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.9563, allocations: 3.32 MB / 1.361 GB, free: 9.754 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.9563, allocations: 0 / 1.361 GB, free: 9.754 MB / 1.198 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004666/0.9609, allocations: 3.748 MB / 1.365 GB, free: 5.965 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.961, allocations: 12.09 kB / 1.365 GB, free: 5.953 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.961, allocations: 4 kB / 1.365 GB, free: 5.949 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.961, allocations: 16 kB / 1.365 GB, free: 5.934 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.9627, allocations: 0.6202 MB / 1.366 GB, free: 5.312 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.9627, allocations: 23.94 kB / 1.366 GB, free: 5.289 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.9642, allocations: 258.4 kB / 1.366 GB, free: 5.035 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.9644, allocations: 97.47 kB / 1.366 GB, free: 4.941 MB / 1.198 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.001039/0.9654, allocations: 0.6533 MB / 1.367 GB, free: 4.277 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.9657, allocations: 234.6 kB / 1.367 GB, free: 4.047 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.9661, allocations: 330.2 kB / 1.367 GB, free: 3.715 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.9661, allocations: 28 kB / 1.367 GB, free: 3.688 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/0.9661, allocations: 4 kB / 1.367 GB, free: 3.684 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004023/0.9702, allocations: 3.239 MB / 1.37 GB, free: 384 kB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007808/0.978, allocations: 6.351 MB / 1.377 GB, free: 9.93 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.978, allocations: 0 / 1.377 GB, free: 9.93 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.98, allocations: 0.6164 MB / 1.377 GB, free: 9.312 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.98, allocations: 12 kB / 1.377 GB, free: 9.301 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.9801, allocations: 75.89 kB / 1.377 GB, free: 9.227 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/0.9801, allocations: 11.94 kB / 1.377 GB, free: 9.215 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9801, allocations: 3.938 kB / 1.377 GB, free: 9.211 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006528/0.9867, allocations: 5.609 MB / 1.383 GB, free: 3.52 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009573/0.9876, allocations: 0.5952 MB / 1.383 GB, free: 2.922 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.9878, allocations: 48 kB / 1.383 GB, free: 2.875 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.9889, allocations: 136.9 kB / 1.383 GB, free: 2.746 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.9892, allocations: 169.8 kB / 1.384 GB, free: 2.578 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/0.9896, allocations: 87.95 kB / 1.384 GB, free: 2.492 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.000888/0.9905, allocations: 0.8856 MB / 1.385 GB, free: 1.609 MB / 1.214 GB Notification: Performance of sort global known variables: time 5e-08/0.9905, allocations: 0 / 1.385 GB, free: 1.609 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.001832/0.9924, allocations: 1.041 MB / 1.386 GB, free: 0.5664 MB / 1.214 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.0004767/0.9928, allocations: 330.1 kB / 1.386 GB, free: 244 kB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.004088/0.9969, allocations: 3.337 MB / 1.389 GB, free: 12.87 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9969, allocations: 0 / 1.389 GB, free: 12.87 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.999, allocations: 1.708 MB / 1.391 GB, free: 11.16 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.002, allocations: 1.281 MB / 1.392 GB, free: 9.906 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/1.009, allocations: 6.334 MB / 1.398 GB, free: 3.512 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009364/1.01, allocations: 1.349 MB / 1.4 GB, free: 2.117 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.011, allocations: 248.4 kB / 1.4 GB, free: 1.875 MB / 1.229 GB Notification: Performance of SimCode: time 1.714e-06/1.011, allocations: 4 kB / 1.4 GB, free: 1.871 MB / 1.229 GB Notification: Performance of Templates: time 0.04929/1.061, allocations: 49.68 MB / 1.448 GB, free: 348 kB / 1.276 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: 12.553967352956533]