Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005851/0.005851, allocations: 97.66 kB / 15.73 MB, free: 6.059 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.001794/0.001794, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2977, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002232/0.3, allocations: 1.256 MB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.3008, allocations: 486.7 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.3008, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3008, allocations: 4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.3009, allocations: 3.984 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.3012, allocations: 59.81 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.3012, allocations: 11.98 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.3013, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.3013, allocations: 4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.3013, allocations: 7.984 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.3014, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.3015, allocations: 67.84 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.3016, allocations: 11.94 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.3016, allocations: 7.984 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3017, allocations: 63.73 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3017, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3017, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3017, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 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.0003765/0.3021, allocations: 345.1 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3021, allocations: 8.031 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.3022, allocations: 4.922 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.3023, allocations: 164.4 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3023, allocations: 384 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3023, allocations: 384 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3024, allocations: 58 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3024, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3024, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3024, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.3025, allocations: 15.92 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.3026, allocations: 157.7 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.023e-05/0.3027, allocations: 26.56 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.3027, allocations: 16.95 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.3027, allocations: 4 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.3028, allocations: 75.27 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3028, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002257/0.3031, allocations: 93.89 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3031, allocations: 55.41 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.405e-05/0.3032, allocations: 97.8 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3032, allocations: 29.7 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.3032, allocations: 88.16 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3032, allocations: 19.84 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.3033, allocations: 29.72 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3034, allocations: 318.8 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.3035, allocations: 19.98 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.3035, allocations: 69.94 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3036, allocations: 97.92 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3036, allocations: 8 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001614/0.3038, allocations: 113.5 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3038, allocations: 15.88 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3038, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3038, allocations: 4 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.3039, allocations: 8 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3039, allocations: 7.984 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.304, allocations: 12.16 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.304, allocations: 4 kB / 1.224 GB, free: 9.625 MB / 0.9825 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.0001016/0.3041, allocations: 131.5 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.3041, allocations: 7.938 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.3041, allocations: 3.969 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3041, allocations: 0 / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3041, allocations: 0 / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3041, allocations: 0 / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.3042, allocations: 157.6 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3042, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-06/0.3043, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3043, allocations: 3.938 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3043, allocations: 11.98 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3043, allocations: 0 / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3043, allocations: 0 / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.3044, allocations: 105 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.3044, allocations: 93.06 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3045, allocations: 4 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.3045, allocations: 0 / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.3045, allocations: 0 / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3045, allocations: 7.938 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.3045, allocations: 79.31 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3045, allocations: 0 / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002362/0.3048, allocations: 23.94 kB / 1.225 GB, free: 8.91 MB / 0.9825 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.0002205/0.305, allocations: 135.2 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.3051, allocations: 47.92 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3051, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.3051, allocations: 19.92 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.3053, allocations: 10.12 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.3055, allocations: 125.3 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3058, allocations: 0.6812 MB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.3058, allocations: 8 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.3058, allocations: 11.42 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3058, allocations: 0 / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.002701/0.3085, allocations: 0.6604 MB / 1.227 GB, free: 7.203 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches