Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001462/0.001462, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 194.8 kB / 16.26 MB, free: 6.625 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.91 kB / 0.8688 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6431, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002215/0.6454, allocations: 1.312 MB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.6463, allocations: 486.8 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.6463, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.6463, allocations: 3.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.6464, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.6467, allocations: 55.88 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.163e-05/0.6468, allocations: 15.97 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.6468, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.6469, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.6469, allocations: 7.984 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.6469, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.6471, allocations: 67.86 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.6471, allocations: 15.97 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.6472, allocations: 11.94 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.6473, allocations: 63.84 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6473, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6473, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6473, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 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.0003697/0.6477, allocations: 337.5 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6478, allocations: 12.03 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.6478, allocations: 0.9375 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.038e-05/0.6479, allocations: 168.3 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6479, allocations: 8.375 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.6479, allocations: 384 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.6481, allocations: 54.25 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6481, allocations: 3.938 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.6481, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6481, allocations: 3.984 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.6482, allocations: 12 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.6484, allocations: 157.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.6484, allocations: 34.58 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.6485, allocations: 20.94 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.6485, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.6486, allocations: 67.34 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.6486, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000203/0.6489, allocations: 97.52 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.6489, allocations: 59.41 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.6489, allocations: 101.9 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.649, allocations: 29.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.649, allocations: 80.14 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.649, allocations: 19.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.6491, allocations: 37.64 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6492, allocations: 310.8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.6493, allocations: 19.98 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.6493, allocations: 73.98 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.6495, allocations: 101.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6495, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001672/0.6496, allocations: 109.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6497, allocations: 11.94 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6497, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6497, allocations: 4.219 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.6498, allocations: 23.92 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6498, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.6498, allocations: 7.844 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.6499, allocations: 8 kB / 1.021 GB, free: 14.45 MB / 0.7794 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 9.968e-05/0.65, allocations: 115.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.65, allocations: 15.86 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.65, allocations: 3.969 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.65, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.65, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.65, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.6502, allocations: 153.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6502, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.6502, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6502, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.6502, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6502, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6502, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.6504, allocations: 105.1 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.6504, allocations: 85.02 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.6504, allocations: 7.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.6505, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.6505, allocations: 3.984 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.6505, allocations: 4 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.6505, allocations: 79.22 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6505, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002303/0.6508, allocations: 27.97 kB / 1.021 GB, free: 13.75 MB / 0.7794 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.0002297/0.651, allocations: 131.2 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.6511, allocations: 55.91 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6512, allocations: 0 / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.6512, allocations: 20 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.6513, allocations: 0.5 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.6516, allocations: 125.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.6519, allocations: 0.6806 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.652, allocations: 4 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.652, allocations: 15.38 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.652, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002829/0.6548, allocations: 0.6612 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches