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.001631/0.001631, 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.002826/0.002826, allocations: 211.9 kB / 22.24 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.705/1.705, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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.672/3.672, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002222/0.002222, allocations: 64.09 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4801, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.57/2.05, allocations: 263 MB / 1.621 GB, free: 4.41 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03314/2.083, allocations: 16.05 MB / 1.636 GB, free: 4.379 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006203/2.089, allocations: 106 kB / 1.636 GB, free: 4.379 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007103/2.096, allocations: 1.79 MB / 1.638 GB, free: 4.34 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02547/2.122, allocations: 6.804 MB / 1.645 GB, free: 4.094 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/2.133, allocations: 3.006 MB / 1.648 GB, free: 4.02 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01505/2.148, allocations: 7.863 MB / 1.655 GB, free: 4 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004697/2.153, allocations: 1.955 MB / 1.657 GB, free: 3.828 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009419/2.163, allocations: 3.172 MB / 1.66 GB, free: 3.828 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009998/2.173, allocations: 2.731 MB / 1.663 GB, free: 3.82 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002487/2.175, allocations: 333.3 kB / 1.663 GB, free: 3.82 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/2.195, allocations: 5.083 MB / 1.668 GB, free: 3.758 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003577/2.198, allocations: 1.361 MB / 1.67 GB, free: 3.758 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006647/2.205, allocations: 1.595 MB / 1.671 GB, free: 3.543 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02036/2.225, allocations: 6.784 MB / 1.678 GB, free: 2.766 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/2.225, allocations: 0.9688 kB / 1.678 GB, free: 2.766 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.974e-06/2.225, allocations: 0 / 1.678 GB, free: 2.766 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000274/2.225, allocations: 0.9062 kB / 1.678 GB, free: 2.766 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01594/2.241, allocations: 4.125 MB / 1.682 GB, free: 1.102 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/2.241, allocations: 8.344 kB / 1.682 GB, free: 1.102 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/2.254, allocations: 1.591 MB / 1.683 GB, free: 0.918 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005893/2.259, allocations: 1.86 MB / 1.685 GB, free: 448 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/2.26, allocations: 201.8 kB / 1.686 GB, free: 440 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/2.261, allocations: 259.6 kB / 1.686 GB, free: 436 kB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008053/2.269, allocations: 4.263 MB / 1.69 GB, free: 15.63 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/2.269, allocations: 2.875 kB / 1.69 GB, free: 15.63 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/2.269, allocations: 109.7 kB / 1.69 GB, free: 15.63 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/2.27, allocations: 160.3 kB / 1.69 GB, free: 15.62 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008152/2.278, allocations: 4.254 MB / 1.694 GB, free: 15.59 MB / 1.311 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.01912/2.297, allocations: 8.721 MB / 1.703 GB, free: 13.36 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/2.304, allocations: 3.554 MB / 1.706 GB, free: 13.27 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/2.308, allocations: 2.005 MB / 1.708 GB, free: 13.22 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/2.308, allocations: 46.44 kB / 1.708 GB, free: 13.21 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.119e-05/2.308, allocations: 72.25 kB / 1.708 GB, free: 13.16 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 6.221e-06/2.308, allocations: 0 / 1.708 GB, free: 13.16 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.009752/2.318, allocations: 4.783 MB / 1.713 GB, free: 12.54 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/2.318, allocations: 84.09 kB / 1.713 GB, free: 12.48 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/2.321, allocations: 1.322 MB / 1.714 GB, free: 11.96 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/2.321, allocations: 73.39 kB / 1.714 GB, free: 11.89 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/2.322, allocations: 1.054 MB / 1.716 GB, free: 11.08 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/2.323, allocations: 1.002 MB / 1.717 GB, free: 10.29 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/2.324, allocations: 448.3 kB / 1.717 GB, free: 10.09 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001274/2.324, allocations: 307.2 kB / 1.717 GB, free: 9.785 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003193/2.328, allocations: 1.48 MB / 1.719 GB, free: 9.254 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/2.331, allocations: 1.757 MB / 1.72 GB, free: 8.504 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006552/2.338, allocations: 3.318 MB / 1.724 GB, free: 6.996 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/2.338, allocations: 2.969 kB / 1.724 GB, free: 6.996 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008222/2.346, allocations: 3.753 MB / 1.727 GB, free: 5.531 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/2.346, allocations: 6.062 kB / 1.727 GB, free: 5.531 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/2.346, allocations: 5.906 kB / 1.727 GB, free: 5.531 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.654e-05/2.346, allocations: 14.62 kB / 1.727 GB, free: 5.531 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/2.35, allocations: 0.6232 MB / 1.728 GB, free: 5.504 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.857e-05/2.35, allocations: 16.22 kB / 1.728 GB, free: 5.504 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/2.353, allocations: 272.4 kB / 1.728 GB, free: 5.348 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003583/2.354, allocations: 91.45 kB / 1.728 GB, free: 5.328 MB / 1.311 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.001891/2.356, allocations: 0.6517 MB / 1.729 GB, free: 4.973 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/2.357, allocations: 232.2 kB / 1.729 GB, free: 4.855 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/2.358, allocations: 331.4 kB / 1.729 GB, free: 4.594 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/2.358, allocations: 25.06 kB / 1.729 GB, free: 4.594 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-05/2.358, allocations: 0 / 1.729 GB, free: 4.594 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006648/2.364, allocations: 3.247 MB / 1.733 GB, free: 3.281 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/2.379, allocations: 6.358 MB / 1.739 GB, free: 0.5664 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/2.379, allocations: 0 / 1.739 GB, free: 0.5664 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/2.383, allocations: 0.6165 MB / 1.739 GB, free: 452 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-05/2.383, allocations: 8.562 kB / 1.739 GB, free: 452 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/2.383, allocations: 72.3 kB / 1.74 GB, free: 396 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.053e-05/2.383, allocations: 12.38 kB / 1.74 GB, free: 392 kB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.383, allocations: 6.406 kB / 1.74 GB, free: 392 kB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/2.394, allocations: 5.609 MB / 1.745 GB, free: 13.41 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/2.397, allocations: 0.591 MB / 1.746 GB, free: 13 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007156/2.397, allocations: 51.56 kB / 1.746 GB, free: 12.96 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/2.4, allocations: 139 kB / 1.746 GB, free: 12.88 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004319/2.401, allocations: 170.7 kB / 1.746 GB, free: 12.77 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/2.401, allocations: 86.36 kB / 1.746 GB, free: 12.74 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001962/2.403, allocations: 0.8881 MB / 1.747 GB, free: 12.26 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.3e-07/2.403, allocations: 0 / 1.747 GB, free: 12.26 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003568/2.407, allocations: 1.039 MB / 1.748 GB, free: 12.06 MB / 1.326 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.0008092/2.407, allocations: 316.8 kB / 1.748 GB, free: 11.88 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.007258/2.415, allocations: 3.33 MB / 1.751 GB, free: 10.34 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/2.415, allocations: 320 / 1.751 GB, free: 10.34 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/2.418, allocations: 1.716 MB / 1.753 GB, free: 9.582 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007091/2.425, allocations: 1.292 MB / 1.754 GB, free: 8.883 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/2.443, allocations: 6.593 MB / 1.761 GB, free: 4.531 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/2.446, allocations: 1.345 MB / 1.762 GB, free: 3.145 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.005426/2.452, allocations: 0.9411 MB / 1.763 GB, free: 2.199 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/2.453, allocations: 215.4 kB / 1.763 GB, free: 1.988 MB / 1.326 GB Notification: Performance of SimCode: time 1.723e-06/2.453, allocations: 0 / 1.763 GB, free: 1.988 MB / 1.326 GB Notification: Performance of Templates: time 0.1019/2.555, allocations: 61.64 MB / 1.823 GB, free: 5.555 MB / 1.389 GB " [Timeout remaining time 297] 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: 15.00832400470972]