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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007362/0.007362, allocations: 103.9 kB / 15.74 MB, free: 6.027 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.001905/0.001905, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.637/2.637, allocations: 437.1 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 59.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2934, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00264/0.2961, allocations: 1.253 MB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.2972, allocations: 483.1 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.2972, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.2972, allocations: 3.984 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.2973, allocations: 3.984 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.2977, allocations: 55.81 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.2978, allocations: 15.92 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.2978, allocations: 8 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.2978, allocations: 7.938 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.416e-05/0.2979, allocations: 4 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.2979, allocations: 3.984 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2981, allocations: 75.84 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.2981, allocations: 4 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.2982, allocations: 11.92 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.2984, allocations: 56.14 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2984, allocations: 8 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2984, allocations: 0 / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2984, allocations: 0 / 1.168 GB, free: 5.34 MB / 0.92 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.0004256/0.2988, allocations: 335.4 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2989, allocations: 12.03 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.2989, allocations: 34.73 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.299, allocations: 4.938 kB / 1.169 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2991, allocations: 168.3 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2991, allocations: 4.375 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2991, allocations: 8.312 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.2993, allocations: 53.81 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2993, allocations: 0 / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.2993, allocations: 0 / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2993, allocations: 0 / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.2993, allocations: 15.97 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.2995, allocations: 153.7 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.2996, allocations: 34.58 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.2996, allocations: 20.95 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.2997, allocations: 3.984 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.2998, allocations: 67.34 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2998, allocations: 0 / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002396/0.3001, allocations: 101.5 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3001, allocations: 55.41 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.3002, allocations: 101.9 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3002, allocations: 29.7 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.3003, allocations: 80.14 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.3003, allocations: 19.84 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.3004, allocations: 33.7 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3005, allocations: 314.8 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.3006, allocations: 19.98 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.3007, allocations: 77.48 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3008, allocations: 97.88 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3008, allocations: 3.938 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001727/0.301, allocations: 113.5 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.301, allocations: 8 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.301, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.301, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.3011, allocations: 16.14 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3012, allocations: 8 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.3012, allocations: 7.953 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3012, allocations: 8 kB / 1.17 GB, free: 3.094 MB / 0.92 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.000111/0.3013, allocations: 119.9 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.3013, allocations: 3.938 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.3014, allocations: 7.953 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3014, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3014, allocations: 7.938 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3014, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.3015, allocations: 157.6 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3015, allocations: 3.938 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-06/0.3016, allocations: 3.938 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3016, allocations: 4 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3016, allocations: 4 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3016, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3016, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.3017, allocations: 109.1 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.3018, allocations: 81.05 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3018, allocations: 4 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.3018, allocations: 4 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.3019, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3019, allocations: 7.984 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.3019, allocations: 75.28 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3019, allocations: 0 / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002299/0.3022, allocations: 20 kB / 1.171 GB, free: 2.391 MB / 0.92 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.0005448/0.3027, allocations: 0.6787 MB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3029, allocations: 55.91 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3029, allocations: 480 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.3029, allocations: 19.94 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3031, allocations: 4 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.3035, allocations: 147 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3038, allocations: 0.6807 MB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.3038, allocations: 7.938 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.3038, allocations: 11.44 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.3038, allocations: 0 / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.3261, allocations: 1.604 MB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.382, allocations: 17.14 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv --start-time 3.5 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/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