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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 196 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 60.36 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3676, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00293/0.3706, allocations: 1.312 MB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.3716, allocations: 0.4908 MB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.3716, allocations: 0 / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.3717, allocations: 4 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.3718, allocations: 0 / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3721, allocations: 51.81 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.3722, allocations: 19.97 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.3722, allocations: 4 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.3723, allocations: 8 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.3723, allocations: 11.98 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.3723, allocations: 0 / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.3725, allocations: 67.84 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.3726, allocations: 11.98 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.3726, allocations: 7.938 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.3728, allocations: 43.92 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3728, allocations: 4 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.031e-06/0.3728, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3728, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 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.0004437/0.3732, allocations: 339.8 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3733, allocations: 11.97 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.3733, allocations: 4.938 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3734, allocations: 164.4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3735, allocations: 4.312 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.3735, allocations: 8.312 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3736, allocations: 50 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3736, allocations: 4 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3736, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3736, allocations: 4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.3737, allocations: 15.98 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.3739, allocations: 157.6 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.374, allocations: 34.56 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.374, allocations: 16.95 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.374, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3742, allocations: 71.33 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.3742, allocations: 0 / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002176/0.3744, allocations: 93.67 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3745, allocations: 63.34 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.232e-05/0.3745, allocations: 89.86 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3745, allocations: 29.7 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.3746, allocations: 84.14 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3746, allocations: 27.72 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.3747, allocations: 25.75 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3748, allocations: 322.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.3749, allocations: 19.98 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.3749, allocations: 62 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3751, allocations: 101.9 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3751, allocations: 4 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001537/0.3752, allocations: 117.5 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3752, allocations: 7.938 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3753, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3753, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.3754, allocations: 19.94 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3754, allocations: 4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.3754, allocations: 7.906 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3754, allocations: 4 kB / 1.057 GB, free: 4.035 MB / 0.8106 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.0001031/0.3755, allocations: 130 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.3756, allocations: 3.938 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.3756, allocations: 7.969 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3756, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3756, allocations: 3.938 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3756, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3757, allocations: 157.6 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3758, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-06/0.3758, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3758, allocations: 11.88 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3758, allocations: 7.984 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3758, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3758, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.3759, allocations: 101 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.376, allocations: 89.03 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.376, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.376, allocations: 4 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.376, allocations: 4.031 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.3761, allocations: 4 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.3761, allocations: 75.28 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3761, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002215/0.3763, allocations: 24 kB / 1.057 GB, free: 3.328 MB / 0.8106 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.0002021/0.3765, allocations: 127.2 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3767, allocations: 59.98 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3767, allocations: 0 / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.3767, allocations: 15.98 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.3769, allocations: 12 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.3772, allocations: 152.9 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3774, allocations: 0.6809 MB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.3774, allocations: 7.812 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3774, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of Templates: time 0.002316/0.3798, allocations: 0.8136 MB / 1.059 GB, free: 1.402 MB / 0.8106 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) 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/jenkins1/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) "" Variables in the reference:time,QAggShi_flow[3],QAggShi_flow[4] Variables in the result:QAggShi_flow[3],QAggShi_flow[4],time