Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.001537/0.001537, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001677/0.001677, allocations: 217.8 kB / 22.3 MB, free: 5.281 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.543/1.543, allocations: 230.6 MB / 256.1 MB, free: 7.746 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.501/3.501, allocations: 0.5107 GB / 0.8159 GB, free: 17.75 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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",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="mat",numberOfIntervals=2500,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") [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.002213/0.002213, allocations: 65.47 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5058, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002989/0.5088, allocations: 1.271 MB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.51, allocations: 490.8 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.51, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.51, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.313e-05/0.5101, allocations: 4 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.5105, allocations: 56.86 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.5106, allocations: 15.97 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.5107, allocations: 8 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.5107, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.5107, allocations: 11.92 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.5107, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.5109, allocations: 75.83 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.511, allocations: 11.98 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.5111, allocations: 4 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.5112, allocations: 63.72 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.5112, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5112, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5113, allocations: 3.938 kB / 1.366 GB, free: 11.57 MB / 1.061 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.0004764/0.5117, allocations: 262.3 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5118, allocations: 12.03 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.5118, allocations: 0.9375 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5119, allocations: 102.5 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.512, allocations: 8.359 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.512, allocations: 384 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.5121, allocations: 54 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5121, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5122, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5122, allocations: 3.984 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.5122, allocations: 19.94 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.5124, allocations: 105.3 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.5124, allocations: 26.58 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.5125, allocations: 16.95 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.5125, allocations: 0 / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.5126, allocations: 71.39 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5126, allocations: 7.875 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002668/0.5129, allocations: 97.59 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.513, allocations: 55.41 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.513, allocations: 93.86 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.5131, allocations: 37.72 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.5131, allocations: 80.14 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.5132, allocations: 19.84 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.5132, allocations: 29.7 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5134, allocations: 318.8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.5134, allocations: 19.98 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.757e-05/0.5135, allocations: 73.92 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.5137, allocations: 93.94 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5137, allocations: 0 / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000192/0.5139, allocations: 117.5 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5139, allocations: 4 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5139, allocations: 7.938 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5139, allocations: 8.156 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.514, allocations: 12 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.514, allocations: 3.984 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.5141, allocations: 8 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5141, allocations: 4 kB / 1.368 GB, free: 9.613 MB / 1.061 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 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.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 0.000137/0.5142, allocations: 130.8 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.5142, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.5142, allocations: 7.906 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5143, allocations: 7.984 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5143, allocations: 7.938 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5143, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.5144, allocations: 101.3 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5144, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-06/0.5144, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5144, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.5144, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5144, allocations: 3.938 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5144, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.5146, allocations: 109 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-06/0.5146, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.5146, allocations: 15.95 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.5146, allocations: 3.938 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.5146, allocations: 4 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5147, allocations: 4 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.5147, allocations: 75.28 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5147, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002353/0.5149, allocations: 23.94 kB / 1.368 GB, free: 9.062 MB / 1.061 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.0002369/0.5152, allocations: 123.2 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.5153, allocations: 59.92 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5153, allocations: 0 / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.5154, allocations: 11.98 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.5155, allocations: 7.938 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.5159, allocations: 113.6 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.5159, allocations: 67.2 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.516, allocations: 4.5 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.516, allocations: 12.5 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.516, allocations: 4 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of Templates: time 0.003651/0.5196, allocations: 0.6922 MB / 1.369 GB, free: 7.984 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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: 9.888951471075416]