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.0008423/0.0008422, allocations: 98.56 kB / 16.02 MB, free: 76 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.001176/0.001176, allocations: 188 kB / 16.92 MB, free: 6.75 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.468/1.468, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.846/2.846, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12.28 kB / 0.9035 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3842, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001468/0.3858, allocations: 0.9712 MB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3868, allocations: 498.6 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.3868, allocations: 0 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.3869, allocations: 0 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.387, allocations: 11.97 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.3873, allocations: 39.89 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.3874, allocations: 23.97 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.3875, allocations: 4 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.3875, allocations: 0 / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.3876, allocations: 8 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3876, allocations: 11.94 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.3878, allocations: 67.83 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.3879, allocations: 15.92 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.3879, allocations: 33.7 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.388, allocations: 35.94 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.388, allocations: 0 / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3881, allocations: 0 / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3881, allocations: 0 / 1.061 GB, free: 3.191 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.000375/0.3884, allocations: 335.8 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3885, allocations: 15.97 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3885, allocations: 4.938 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3886, allocations: 168.3 kB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3887, allocations: 4.312 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3887, allocations: 8.375 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3888, allocations: 46 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3888, allocations: 0 / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3889, allocations: 0 / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3889, allocations: 0 / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.3889, allocations: 12 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.3891, allocations: 165.6 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.3891, allocations: 34.56 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.3892, allocations: 16.95 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.3892, allocations: 4 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3894, allocations: 71.33 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.3894, allocations: 4 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000226/0.3896, allocations: 97.61 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3897, allocations: 55.41 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.767e-05/0.3897, allocations: 89.86 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.3897, allocations: 33.7 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.3898, allocations: 80.14 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3898, allocations: 23.73 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3898, allocations: 17.72 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.39, allocations: 314.8 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.39, allocations: 28.02 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.3901, allocations: 62 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3902, allocations: 101.9 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3902, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001635/0.3904, allocations: 109.5 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.3904, allocations: 22.02 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3904, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3905, allocations: 4 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.3906, allocations: 11.94 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3906, allocations: 7.938 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.3906, allocations: 7.906 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3906, allocations: 4 kB / 1.063 GB, free: 1.008 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 9.886e-05/0.3907, allocations: 122.5 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.3908, allocations: 7.938 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.3908, allocations: 7.969 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3908, allocations: 3.938 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3908, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3908, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.3909, allocations: 161.5 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.391, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-06/0.391, allocations: 4 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.391, allocations: 3.938 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.391, allocations: 4 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.391, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.391, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3911, allocations: 109 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.3912, allocations: 81.05 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3912, allocations: 7.984 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.3912, allocations: 3.984 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.3913, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3913, allocations: 4 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.3913, allocations: 79.31 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3913, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002433/0.3916, allocations: 24 kB / 1.063 GB, free: 304 kB / 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.000232/0.3918, allocations: 131.2 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.392, allocations: 55.92 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.392, allocations: 448 / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.392, allocations: 23.98 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.3922, allocations: 2.25 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.3925, allocations: 150.3 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3927, allocations: 0.6809 MB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.3928, allocations: 11.44 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3928, allocations: 0 / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.002398/0.3952, allocations: 0.8097 MB / 1.065 GB, free: 14.38 MB / 0.8262 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