Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01007/0.01007, allocations: 109.7 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002007/0.002007, allocations: 181.2 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.995/1.995, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.126/2.126, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 16 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5322, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001135/0.5334, allocations: 0.9709 MB / 0.6843 GB, free: 16.1 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.5342, allocations: 482.3 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.5343, allocations: 1.031 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.5343, allocations: 0 / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 1.423e-05/0.5343, allocations: 0 / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.5346, allocations: 34.03 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.48e-05/0.5347, allocations: 9.453 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.5347, allocations: 1.5 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.103e-05/0.5347, allocations: 8.125 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.464e-05/0.5348, allocations: 10.14 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.509e-06/0.5348, allocations: 0 / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.5349, allocations: 37.64 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.535, allocations: 12.28 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.535, allocations: 28.92 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.5351, allocations: 35.36 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.479e-06/0.5351, allocations: 1.469 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.277e-06/0.5352, allocations: 4 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.5352, allocations: 0 / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002354/0.5354, allocations: 330.5 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5355, allocations: 13.36 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.5355, allocations: 4.891 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.22e-05/0.5356, allocations: 165.2 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5356, allocations: 1.125 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5356, allocations: 3.594 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.5357, allocations: 48.42 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.929e-06/0.5357, allocations: 4 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-06/0.5358, allocations: 0.9688 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-06/0.5358, allocations: 0 / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.5358, allocations: 13.2 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.5359, allocations: 161 kB / 0.6857 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.059e-05/0.536, allocations: 36.59 kB / 0.6857 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-06/0.536, allocations: 0.7031 kB / 0.6857 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.5362, allocations: 67.38 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.296e-06/0.5362, allocations: 1.312 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002546/0.5364, allocations: 174.2 kB / 0.6859 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5365, allocations: 61.16 kB / 0.686 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.389e-05/0.5365, allocations: 90.52 kB / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.5365, allocations: 33.14 kB / 0.6861 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.876e-05/0.5366, allocations: 81.42 kB / 0.6862 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.5366, allocations: 25.41 kB / 0.6862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-06/0.5366, allocations: 0 / 0.6862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.5367, allocations: 322.6 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.5368, allocations: 20.14 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.5368, allocations: 64.45 kB / 0.6866 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.461e-05/0.5369, allocations: 37.03 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.008e-06/0.5369, allocations: 0 / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002084/0.5371, allocations: 109.5 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5372, allocations: 5.25 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.097e-06/0.5372, allocations: 10.16 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5372, allocations: 4.078 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.5373, allocations: 14.05 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5373, allocations: 3.672 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.5374, allocations: 10.59 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.5374, allocations: 8.969 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.988e-05/0.5375, allocations: 123.8 kB / 0.6869 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.5375, allocations: 1.594 kB / 0.6869 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.5375, allocations: 8.859 kB / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-06/0.5376, allocations: 0 / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.08e-06/0.5376, allocations: 1.375 kB / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.64e-06/0.5376, allocations: 4.875 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.5377, allocations: 156.2 kB / 0.6871 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-06/0.5377, allocations: 0 / 0.6871 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-06/0.5377, allocations: 2.109 kB / 0.6871 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.592e-06/0.5377, allocations: 3.938 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-06/0.5377, allocations: 1.984 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-06/0.5377, allocations: 1.312 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5377, allocations: 4 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.5379, allocations: 110 kB / 0.6872 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.5379, allocations: 77.95 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.538, allocations: 5.266 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.538, allocations: 4.656 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.538, allocations: 2.766 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.5381, allocations: 6.406 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.385e-05/0.5381, allocations: 75.31 kB / 0.6874 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.3e-07/0.5381, allocations: 4 kB / 0.6874 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000312/0.5384, allocations: 27.19 kB / 0.6874 GB, free: 13.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001856/0.5386, allocations: 120.9 kB / 0.6875 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.5388, allocations: 61.78 kB / 0.6876 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5388, allocations: 448 / 0.6876 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.5388, allocations: 20.73 kB / 0.6876 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.539, allocations: 5.781 kB / 0.6876 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.5392, allocations: 121.8 kB / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.5393, allocations: 0.6801 MB / 0.6884 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.5394, allocations: 5.375 kB / 0.6884 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.5394, allocations: 9.844 kB / 0.6884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.256e-06/0.5394, allocations: 64 / 0.6884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.003088/0.5425, allocations: 0.6424 MB / 0.689 GB, free: 12.27 MB / 0.5261 GB