Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.001694/0.001694, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002053/0.002053, allocations: 212.1 kB / 22.25 MB, free: 5.262 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.902/2.902, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [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.002118/0.002118, allocations: 66.61 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3737, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3495/0.7232, allocations: 280 MB / 1.556 GB, free: 2.973 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03465/0.7578, allocations: 17.28 MB / 1.573 GB, free: 1.656 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008128/0.7659, allocations: 115.1 kB / 1.573 GB, free: 1.543 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.009142/0.7751, allocations: 2.024 MB / 1.575 GB, free: 15.51 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02477/0.7999, allocations: 7.647 MB / 1.583 GB, free: 7.832 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.8102, allocations: 3.29 MB / 1.586 GB, free: 4.543 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01418/0.8244, allocations: 9.212 MB / 1.595 GB, free: 11.3 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004974/0.8294, allocations: 2.366 MB / 1.597 GB, free: 8.875 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008051/0.8374, allocations: 3.458 MB / 1.601 GB, free: 5.406 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007737/0.8452, allocations: 3.268 MB / 1.604 GB, free: 2.137 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.8465, allocations: 404 kB / 1.604 GB, free: 1.742 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.9496/1.796, allocations: 5.762 MB / 1.61 GB, free: 15.38 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00493/1.801, allocations: 1.725 MB / 1.612 GB, free: 15.38 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01119/1.812, allocations: 1.946 MB / 1.614 GB, free: 15.38 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02855/1.841, allocations: 8.014 MB / 1.621 GB, free: 14.94 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/1.841, allocations: 1.062 kB / 1.621 GB, free: 14.94 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.076e-06/1.841, allocations: 0.625 kB / 1.621 GB, free: 14.94 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002926/1.841, allocations: 0 / 1.621 GB, free: 14.94 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02295/1.864, allocations: 5.035 MB / 1.626 GB, free: 13.02 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.864, allocations: 8.875 kB / 1.626 GB, free: 13.02 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008509/1.873, allocations: 1.027 MB / 1.627 GB, free: 12.8 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007151/1.88, allocations: 2.172 MB / 1.629 GB, free: 12.26 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/1.88, allocations: 244.8 kB / 1.63 GB, free: 12.25 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/1.881, allocations: 324 kB / 1.63 GB, free: 12.25 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009254/1.89, allocations: 4.646 MB / 1.635 GB, free: 11.46 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.202e-05/1.89, allocations: 9.375 kB / 1.635 GB, free: 11.46 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/1.891, allocations: 133.8 kB / 1.635 GB, free: 11.46 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/1.891, allocations: 172.3 kB / 1.635 GB, free: 11.45 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008572/1.9, allocations: 4.733 MB / 1.639 GB, free: 11.42 MB / 1.295 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.02147/1.921, allocations: 9.543 MB / 1.649 GB, free: 9.285 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006998/1.928, allocations: 4.256 MB / 1.653 GB, free: 9.168 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003892/1.932, allocations: 2.234 MB / 1.655 GB, free: 9.133 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.933, allocations: 265.3 kB / 1.655 GB, free: 9.129 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/1.933, allocations: 77.89 kB / 1.655 GB, free: 9.086 MB / 1.295 GB Notification: Performance of pre-optimization done (n=392): time 6.372e-06/1.933, allocations: 0 / 1.655 GB, free: 9.086 MB / 1.295 GB Notification: Performance of matching and sorting (n=392): time 0.009788/1.943, allocations: 5.541 MB / 1.661 GB, free: 8.801 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/1.943, allocations: 95.83 kB / 1.661 GB, free: 8.73 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/1.946, allocations: 1.506 MB / 1.662 GB, free: 8.562 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006579/1.946, allocations: 90.98 kB / 1.662 GB, free: 8.531 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007488/1.947, allocations: 1.17 MB / 1.664 GB, free: 8.051 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.949, allocations: 1.388 MB / 1.665 GB, free: 7.125 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009534/1.95, allocations: 0.5511 MB / 1.666 GB, free: 7.094 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.316e-05/1.95, allocations: 306.1 kB / 1.666 GB, free: 6.797 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/1.952, allocations: 1.56 MB / 1.667 GB, free: 6.789 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/1.955, allocations: 1.971 MB / 1.669 GB, free: 6.516 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005727/1.961, allocations: 3.761 MB / 1.673 GB, free: 6.262 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/1.961, allocations: 2.906 kB / 1.673 GB, free: 6.262 MB / 1.295 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007139/1.968, allocations: 4.175 MB / 1.677 GB, free: 5.992 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.968, allocations: 5.844 kB / 1.677 GB, free: 5.992 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.968, allocations: 6.562 kB / 1.677 GB, free: 5.992 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.561e-05/1.968, allocations: 24.78 kB / 1.677 GB, free: 5.988 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/1.971, allocations: 0.6951 MB / 1.678 GB, free: 5.988 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-05/1.971, allocations: 22.2 kB / 1.678 GB, free: 5.988 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/1.975, allocations: 245.5 kB / 1.678 GB, free: 5.855 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/1.975, allocations: 116.9 kB / 1.678 GB, free: 5.855 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.002151/1.977, allocations: 0.7983 MB / 1.679 GB, free: 21.74 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008997/1.978, allocations: 293 kB / 1.679 GB, free: 21.59 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007315/1.985, allocations: 4.421 MB / 1.683 GB, free: 21.38 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.985, allocations: 38.62 kB / 1.684 GB, free: 21.38 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.985, allocations: 4 kB / 1.684 GB, free: 21.38 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005303/1.991, allocations: 3.792 MB / 1.687 GB, free: 21.04 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/2.006, allocations: 7.599 MB / 1.695 GB, free: 20.43 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/2.006, allocations: 3.75 kB / 1.695 GB, free: 20.43 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/2.009, allocations: 0.7175 MB / 1.695 GB, free: 20.43 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-05/2.009, allocations: 17.53 kB / 1.695 GB, free: 20.43 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/2.009, allocations: 86.11 kB / 1.695 GB, free: 20.43 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.066e-05/2.009, allocations: 21.3 kB / 1.695 GB, free: 20.43 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/2.009, allocations: 2.406 kB / 1.695 GB, free: 20.43 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/2.019, allocations: 6.569 MB / 1.702 GB, free: 19.86 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/2.022, allocations: 0.7221 MB / 1.703 GB, free: 19.65 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/2.023, allocations: 71.62 kB / 1.703 GB, free: 19.65 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/2.025, allocations: 85.8 kB / 1.703 GB, free: 19.65 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/2.025, allocations: 254.6 kB / 1.703 GB, free: 19.64 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/2.026, allocations: 114.9 kB / 1.703 GB, free: 19.64 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001497/2.027, allocations: 1.031 MB / 1.704 GB, free: 19.54 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/2.027, allocations: 0.9062 kB / 1.704 GB, free: 19.54 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003743/2.031, allocations: 1.249 MB / 1.705 GB, free: 19.39 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.0009929/2.032, allocations: 451.6 kB / 1.706 GB, free: 19.28 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.005879/2.038, allocations: 3.725 MB / 1.709 GB, free: 19.2 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/2.038, allocations: 5.562 kB / 1.709 GB, free: 19.2 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002782/2.04, allocations: 1.986 MB / 1.711 GB, free: 19.19 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008286/2.049, allocations: 1.474 MB / 1.713 GB, free: 19 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/2.063, allocations: 7.748 MB / 1.72 GB, free: 16.18 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/2.065, allocations: 1.652 MB / 1.722 GB, free: 15.93 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00467/2.069, allocations: 1.174 MB / 1.723 GB, free: 15.73 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/2.07, allocations: 260.3 kB / 1.723 GB, free: 15.73 MB / 1.311 GB Notification: Performance of SimCode: time 1.703e-06/2.07, allocations: 0 / 1.723 GB, free: 15.73 MB / 1.311 GB Notification: Performance of Templates: time 0.1111/2.181, allocations: 65.96 MB / 1.788 GB, free: 1.074 MB / 1.342 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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: 13.510694501921535]