Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009512/0.0009512, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0009085/0.0009085, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.9315/0.9315, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.747/1.747, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.82e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9264/0.9264, allocations: 262.3 MB / 1.238 GB, free: 14.73 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.9481, allocations: 15.93 MB / 1.254 GB, free: 2.082 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004279/0.9523, allocations: 107.3 kB / 1.254 GB, free: 2.031 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.004135/0.9565, allocations: 1.804 MB / 1.256 GB, free: 0.5859 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.9719, allocations: 6.887 MB / 1.262 GB, free: 11.04 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.007019/0.9789, allocations: 3.076 MB / 1.265 GB, free: 7.965 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.009182/0.9881, allocations: 7.96 MB / 1.273 GB, free: 15.98 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.9903, allocations: 1.955 MB / 1.275 GB, free: 13.97 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005189/0.9955, allocations: 4.099 MB / 1.279 GB, free: 9.863 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.9983, allocations: 2.516 MB / 1.282 GB, free: 7.359 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.9986, allocations: 328 kB / 1.282 GB, free: 7.039 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009739/1.008, allocations: 5.132 MB / 1.287 GB, free: 1.891 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/1.009, allocations: 1.43 MB / 1.288 GB, free: 468 kB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/1.011, allocations: 1.36 MB / 1.29 GB, free: 15.09 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.009841/1.021, allocations: 6.981 MB / 1.296 GB, free: 8.094 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.021, allocations: 3.984 kB / 1.296 GB, free: 8.09 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.234e-06/1.021, allocations: 0 / 1.296 GB, free: 8.09 MB / 1.12 GB Notification: Performance of Transformations before backend: time 3.039e-05/1.021, allocations: 0 / 1.296 GB, free: 8.09 MB / 1.12 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.005898/1.027, allocations: 4.081 MB / 1.3 GB, free: 3.953 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.027, allocations: 8.031 kB / 1.3 GB, free: 3.945 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/1.03, allocations: 0.9462 MB / 1.301 GB, free: 2.996 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/1.032, allocations: 1.79 MB / 1.303 GB, free: 1.16 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.032, allocations: 193.1 kB / 1.303 GB, free: 0.9688 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/1.032, allocations: 271.9 kB / 1.304 GB, free: 0.7031 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/1.036, allocations: 3.812 MB / 1.307 GB, free: 12.69 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/1.037, allocations: 11.94 kB / 1.307 GB, free: 12.68 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/1.037, allocations: 107.1 kB / 1.307 GB, free: 12.58 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/1.037, allocations: 161.1 kB / 1.308 GB, free: 12.42 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/1.041, allocations: 3.597 MB / 1.311 GB, free: 8.809 MB / 1.135 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.00836/1.049, allocations: 7.981 MB / 1.319 GB, free: 0.6992 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/1.052, allocations: 2.924 MB / 1.322 GB, free: 13.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/1.054, allocations: 1.702 MB / 1.323 GB, free: 12.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/1.054, allocations: 213.9 kB / 1.324 GB, free: 11.87 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/1.055, allocations: 72.69 kB / 1.324 GB, free: 11.79 MB / 1.151 GB Notification: Performance of pre-optimization done (n=278): time 4.048e-06/1.055, allocations: 0 / 1.324 GB, free: 11.79 MB / 1.151 GB Notification: Performance of matching and sorting (n=278): time 0.00434/1.059, allocations: 3.886 MB / 1.327 GB, free: 7.852 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.059, allocations: 81.59 kB / 1.328 GB, free: 7.758 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.06, allocations: 1.308 MB / 1.329 GB, free: 6.441 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.06, allocations: 77.7 kB / 1.329 GB, free: 6.359 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/1.061, allocations: 1.044 MB / 1.33 GB, free: 5.309 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/1.061, allocations: 0.9913 MB / 1.331 GB, free: 4.309 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004385/1.062, allocations: 433.5 kB / 1.331 GB, free: 3.879 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/1.062, allocations: 309.1 kB / 1.332 GB, free: 3.574 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/1.063, allocations: 1.145 MB / 1.333 GB, free: 2.426 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/1.064, allocations: 1.421 MB / 1.334 GB, free: 0.9414 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/1.067, allocations: 2.723 MB / 1.337 GB, free: 14.13 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.067, allocations: 0 / 1.337 GB, free: 14.13 MB / 1.167 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003262/1.071, allocations: 3.114 MB / 1.34 GB, free: 10.98 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.071, allocations: 8.562 kB / 1.34 GB, free: 10.97 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.071, allocations: 4 kB / 1.34 GB, free: 10.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/1.071, allocations: 20 kB / 1.34 GB, free: 10.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.072, allocations: 0.5422 MB / 1.34 GB, free: 10.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.072, allocations: 16 kB / 1.34 GB, free: 10.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.073, allocations: 198.5 kB / 1.341 GB, free: 10.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.073, allocations: 87.98 kB / 1.341 GB, free: 10.11 MB / 1.167 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.0009407/1.074, allocations: 0.6572 MB / 1.341 GB, free: 9.438 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/1.074, allocations: 234.6 kB / 1.341 GB, free: 9.207 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/1.078, allocations: 3.105 MB / 1.345 GB, free: 6.047 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/1.078, allocations: 28 kB / 1.345 GB, free: 6.02 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.078, allocations: 0 / 1.345 GB, free: 6.02 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002597/1.08, allocations: 2.657 MB / 1.347 GB, free: 3.293 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/1.086, allocations: 5.428 MB / 1.352 GB, free: 13.77 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.086, allocations: 0 / 1.352 GB, free: 13.77 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.088, allocations: 0.5423 MB / 1.353 GB, free: 13.23 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.088, allocations: 8 kB / 1.353 GB, free: 13.22 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.088, allocations: 59.92 kB / 1.353 GB, free: 13.16 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.088, allocations: 12 kB / 1.353 GB, free: 13.15 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.088, allocations: 0 / 1.353 GB, free: 13.15 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/1.092, allocations: 4.574 MB / 1.358 GB, free: 8.492 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008649/1.093, allocations: 0.5484 MB / 1.358 GB, free: 7.941 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/1.093, allocations: 51.94 kB / 1.358 GB, free: 7.891 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/1.094, allocations: 73.02 kB / 1.358 GB, free: 7.824 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/1.094, allocations: 173.8 kB / 1.358 GB, free: 7.652 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.094, allocations: 79.97 kB / 1.358 GB, free: 7.574 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0008349/1.095, allocations: 0.8735 MB / 1.359 GB, free: 6.703 MB / 1.182 GB Notification: Performance of sort global known variables: time 6e-08/1.095, allocations: 0 / 1.359 GB, free: 6.703 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.001777/1.097, allocations: 1.014 MB / 1.36 GB, free: 5.688 MB / 1.182 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.0005731/1.098, allocations: 382.2 kB / 1.361 GB, free: 5.301 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003095/1.101, allocations: 2.69 MB / 1.363 GB, free: 2.582 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.101, allocations: 0 / 1.363 GB, free: 2.582 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/1.102, allocations: 1.394 MB / 1.365 GB, free: 1.184 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.105, allocations: 1.283 MB / 1.366 GB, free: 15.93 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/1.111, allocations: 5.831 MB / 1.372 GB, free: 10.04 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009289/1.112, allocations: 1.337 MB / 1.373 GB, free: 8.672 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/1.113, allocations: 224.5 kB / 1.373 GB, free: 8.453 MB / 1.198 GB Notification: Performance of SimCode: time 1.513e-06/1.113, allocations: 4 kB / 1.373 GB, free: 8.449 MB / 1.198 GB Notification: Performance of Templates: time 0.04907/1.162, allocations: 44.63 MB / 1.417 GB, free: 12.01 MB / 1.245 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.861365803517401]