Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.828/1.828, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 171.5 kB / 393.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 93.38 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003442, allocations: 8 kB / 0.9225 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6081/0.6085, allocations: 121.3 MB / 1.041 GB, free: 58.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001328/0.6099, allocations: 0.9803 MB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.6107, allocations: 0.5279 MB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.6107, allocations: 0 / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.6108, allocations: 7.719 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.6108, allocations: 1.375 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.6111, allocations: 45.48 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.6112, allocations: 22.23 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.6113, allocations: 1.375 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.6113, allocations: 5.859 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.6114, allocations: 13.45 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.6114, allocations: 1.375 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.6115, allocations: 64.45 kB / 1.043 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.6116, allocations: 6.938 kB / 1.043 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.6117, allocations: 42.14 kB / 1.043 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.6118, allocations: 60.56 kB / 1.043 GB, free: 57.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6118, allocations: 5.469 kB / 1.043 GB, free: 57.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6118, allocations: 0 / 1.043 GB, free: 57.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.6118, allocations: 0 / 1.043 GB, free: 57.68 MB / 0.698 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.0002771/0.6121, allocations: 335.5 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6122, allocations: 9.531 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.6122, allocations: 3.562 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.621e-05/0.6123, allocations: 165.3 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.6123, allocations: 384 / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.6123, allocations: 10.22 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.6124, allocations: 50.34 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.6124, allocations: 3.938 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.6124, allocations: 0 / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6124, allocations: 1.469 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.6125, allocations: 16.47 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.6126, allocations: 158.9 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.276e-05/0.6126, allocations: 39.05 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.6127, allocations: 19.22 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.6127, allocations: 0.7812 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.6128, allocations: 72.27 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.6128, allocations: 0 / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001984/0.613, allocations: 103.4 kB / 1.044 GB, free: 56.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.6131, allocations: 56.28 kB / 1.044 GB, free: 56.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.591e-05/0.6131, allocations: 91.75 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.6131, allocations: 34.02 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.6132, allocations: 81.55 kB / 1.044 GB, free: 56.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.6132, allocations: 17.61 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.6132, allocations: 3.531 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.6132, allocations: 316.2 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.6133, allocations: 23.55 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.6133, allocations: 64.05 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.6135, allocations: 102.1 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6135, allocations: 2.031 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001376/0.6136, allocations: 112.4 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6136, allocations: 12.34 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.6136, allocations: 0.8125 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6137, allocations: 3.094 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.6138, allocations: 13.81 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.6138, allocations: 6.672 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.6138, allocations: 15.19 kB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.6138, allocations: 6.25 kB / 1.045 GB, free: 55.89 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.379e-05/0.6139, allocations: 124.7 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.6139, allocations: 3.938 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.6139, allocations: 5.469 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.614, allocations: 0.8438 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.614, allocations: 0 / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.614, allocations: 0 / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.38e-05/0.6141, allocations: 156.9 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6141, allocations: 2.781 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-06/0.6141, allocations: 3.922 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6141, allocations: 3.938 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.6141, allocations: 0 / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6141, allocations: 3.391 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6141, allocations: 0 / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.6142, allocations: 101.3 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.6143, allocations: 87.98 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.6143, allocations: 11.56 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.6143, allocations: 0.6094 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.6143, allocations: 2.812 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.6144, allocations: 3.844 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.297e-05/0.6144, allocations: 75.28 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6144, allocations: 0 / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002303/0.6146, allocations: 23 kB / 1.045 GB, free: 55.3 MB / 0.698 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 (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.0001769/0.6148, allocations: 143.5 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.6149, allocations: 50.69 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6149, allocations: 1.281 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.615, allocations: 16 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.6151, allocations: 1.031 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.6154, allocations: 131.5 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.6155, allocations: 0.6842 MB / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.6155, allocations: 3.688 kB / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.6156, allocations: 14.59 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6156, allocations: 3.938 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of Templates: time 0.002715/0.6183, allocations: 0.6334 MB / 1.047 GB, free: 54.27 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)