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.00141/0.00141, allocations: 112.4 kB / 17.13 MB, free: 6.008 MB / 14.72 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.00149/0.00149, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 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.666/1.666, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 71.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423/1.425, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.4083/1.833, allocations: 299.6 MB / 1.615 GB, free: 13.24 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03173/1.865, allocations: 17.06 MB / 1.631 GB, free: 12.14 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004835/1.87, allocations: 103.2 kB / 1.631 GB, free: 12.04 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.006264/1.876, allocations: 1.993 MB / 1.633 GB, free: 10.04 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.01983/1.896, allocations: 6.626 MB / 1.64 GB, free: 3.383 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.009455/1.905, allocations: 2.977 MB / 1.643 GB, free: 416 kB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.01347/1.919, allocations: 7.715 MB / 1.65 GB, free: 8.672 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004417/1.923, allocations: 2.162 MB / 1.652 GB, free: 6.445 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008053/1.931, allocations: 3.135 MB / 1.655 GB, free: 3.301 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006861/1.938, allocations: 2.82 MB / 1.658 GB, free: 492 kB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.001089/1.939, allocations: 328 kB / 1.658 GB, free: 164 kB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/1.955, allocations: 6.535 MB / 1.665 GB, free: 9.609 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.002601/1.958, allocations: 1.344 MB / 1.666 GB, free: 8.262 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.003784/1.961, allocations: 1.879 MB / 1.668 GB, free: 6.375 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/1.979, allocations: 6.908 MB / 1.675 GB, free: 15.45 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.979, allocations: 0 / 1.675 GB, free: 15.45 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.993e-06/1.979, allocations: 0 / 1.675 GB, free: 15.45 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0001299/1.98, allocations: 0 / 1.675 GB, free: 15.45 MB / 1.357 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.01523/1.995, allocations: 4.195 MB / 1.679 GB, free: 11.18 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 7.199e-05/1.995, allocations: 11.98 kB / 1.679 GB, free: 11.16 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007579/2.002, allocations: 0.9346 MB / 1.68 GB, free: 10.23 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004867/2.007, allocations: 1.893 MB / 1.682 GB, free: 8.277 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/2.007, allocations: 201.1 kB / 1.682 GB, free: 8.078 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005209/2.008, allocations: 259.9 kB / 1.682 GB, free: 7.824 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/2.014, allocations: 3.418 MB / 1.685 GB, free: 4.305 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.455e-05/2.015, allocations: 11.98 kB / 1.685 GB, free: 4.293 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/2.015, allocations: 104 kB / 1.685 GB, free: 4.191 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/2.015, allocations: 153.2 kB / 1.686 GB, free: 4.039 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/2.022, allocations: 3.635 MB / 1.689 GB, free: 400 kB / 1.357 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.0207/2.042, allocations: 12.56 MB / 1.701 GB, free: 2.879 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/2.048, allocations: 3.314 MB / 1.705 GB, free: 15.49 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/2.051, allocations: 1.705 MB / 1.706 GB, free: 13.78 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00178/2.053, allocations: 1.493 MB / 1.708 GB, free: 11.97 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.507e-05/2.053, allocations: 64.75 kB / 1.708 GB, free: 11.89 MB / 1.389 GB Notification: Performance of pre-optimization done (n=278): time 4.368e-06/2.053, allocations: 0 / 1.708 GB, free: 11.89 MB / 1.389 GB Notification: Performance of matching and sorting (n=278): time 0.007659/2.06, allocations: 3.902 MB / 1.712 GB, free: 7.945 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/2.06, allocations: 85.53 kB / 1.712 GB, free: 7.848 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/2.063, allocations: 1.395 MB / 1.713 GB, free: 6.445 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/2.063, allocations: 73.7 kB / 1.713 GB, free: 6.367 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009442/2.064, allocations: 1.044 MB / 1.714 GB, free: 5.312 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/2.065, allocations: 0.9991 MB / 1.715 GB, free: 4.305 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007815/2.066, allocations: 445.4 kB / 1.716 GB, free: 3.863 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001436/2.066, allocations: 301.1 kB / 1.716 GB, free: 3.566 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/2.068, allocations: 1.141 MB / 1.717 GB, free: 2.422 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/2.07, allocations: 1.419 MB / 1.718 GB, free: 0.9375 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/2.075, allocations: 2.723 MB / 1.721 GB, free: 14.12 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/2.075, allocations: 4 kB / 1.721 GB, free: 14.12 MB / 1.404 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005858/2.081, allocations: 3.115 MB / 1.724 GB, free: 10.96 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/2.081, allocations: 8 kB / 1.724 GB, free: 10.96 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/2.081, allocations: 7.938 kB / 1.724 GB, free: 10.95 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/2.081, allocations: 16 kB / 1.724 GB, free: 10.93 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/2.083, allocations: 0.5388 MB / 1.725 GB, free: 10.39 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.65e-05/2.083, allocations: 23.94 kB / 1.725 GB, free: 10.37 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/2.086, allocations: 210.3 kB / 1.725 GB, free: 10.16 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/2.086, allocations: 91.97 kB / 1.725 GB, free: 10.07 MB / 1.404 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.00147/2.088, allocations: 0.6494 MB / 1.726 GB, free: 9.414 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007468/2.088, allocations: 238.5 kB / 1.726 GB, free: 9.18 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005836/2.094, allocations: 3.116 MB / 1.729 GB, free: 6.008 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/2.094, allocations: 27.98 kB / 1.729 GB, free: 5.98 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/2.094, allocations: 4 kB / 1.729 GB, free: 5.977 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004312/2.099, allocations: 2.661 MB / 1.731 GB, free: 3.246 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/2.11, allocations: 6.214 MB / 1.737 GB, free: 12.93 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/2.11, allocations: 0 / 1.737 GB, free: 12.93 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/2.113, allocations: 0.5423 MB / 1.738 GB, free: 12.38 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.119e-05/2.113, allocations: 8 kB / 1.738 GB, free: 12.38 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/2.113, allocations: 63.98 kB / 1.738 GB, free: 12.31 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/2.113, allocations: 8 kB / 1.738 GB, free: 12.3 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/2.113, allocations: 0 / 1.738 GB, free: 12.3 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/2.121, allocations: 4.582 MB / 1.743 GB, free: 7.641 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/2.123, allocations: 0.6198 MB / 1.743 GB, free: 7 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/2.123, allocations: 52 kB / 1.743 GB, free: 6.949 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/2.125, allocations: 70.56 kB / 1.743 GB, free: 6.883 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003861/2.125, allocations: 169.9 kB / 1.743 GB, free: 6.715 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/2.125, allocations: 79.97 kB / 1.744 GB, free: 6.637 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001544/2.127, allocations: 0.9423 MB / 1.744 GB, free: 5.699 MB / 1.42 GB Notification: Performance of sort global known variables: time 9e-08/2.127, allocations: 0 / 1.744 GB, free: 5.699 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.002741/2.13, allocations: 0.9985 MB / 1.745 GB, free: 4.699 MB / 1.42 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.0007918/2.13, allocations: 382.4 kB / 1.746 GB, free: 4.312 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.005202/2.136, allocations: 2.689 MB / 1.748 GB, free: 1.594 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/2.136, allocations: 0 / 1.748 GB, free: 1.594 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/2.138, allocations: 1.394 MB / 1.75 GB, free: 200 kB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00718/2.145, allocations: 1.357 MB / 1.751 GB, free: 14.87 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/2.158, allocations: 6.252 MB / 1.757 GB, free: 8.551 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/2.16, allocations: 1.891 MB / 1.759 GB, free: 6.625 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/2.161, allocations: 239.4 kB / 1.759 GB, free: 6.391 MB / 1.436 GB Notification: Performance of SimCode: time 2.274e-06/2.161, allocations: 4 kB / 1.759 GB, free: 6.387 MB / 1.436 GB Notification: Performance of Templates: time 0.08828/2.25, allocations: 43.78 MB / 1.802 GB, free: 10.82 MB / 1.482 GB " [Timeout remaining time 298] 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/jenkins1/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: 22.29542915300408]