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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_latest_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_latest_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.001262/0.001262, allocations: 108 kB / 15.6 MB, free: 132 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.001544/0.001544, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.11 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.265, allocations: 159.1 MB / 1.064 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002354/0.2674, allocations: 1.246 MB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.2682, allocations: 492.5 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.2683, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.2683, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.2684, allocations: 3.984 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.2687, allocations: 51.86 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.01e-05/0.2688, allocations: 11.94 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.2688, allocations: 11.98 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.2688, allocations: 4 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.2689, allocations: 7.922 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.2689, allocations: 4 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2691, allocations: 71.8 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.2691, allocations: 7.984 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.2692, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2693, allocations: 59.84 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2693, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2693, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2693, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 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.0003378/0.2697, allocations: 335.8 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2697, allocations: 16.03 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.2697, allocations: 30.75 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.2698, allocations: 8.828 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2699, allocations: 168.3 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2699, allocations: 384 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.2699, allocations: 384 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.27, allocations: 53.81 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.27, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.2701, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2701, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.2701, allocations: 19.98 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.2703, allocations: 149.8 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.2703, allocations: 34.5 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.2704, allocations: 16.95 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.2704, allocations: 3.938 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.2705, allocations: 75.33 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2705, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0001913/0.2707, allocations: 105.6 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2708, allocations: 59.41 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.61e-05/0.2708, allocations: 89.86 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2708, allocations: 33.69 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.2709, allocations: 84.14 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2709, allocations: 15.75 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.2709, allocations: 25.72 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2711, allocations: 322.9 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.2711, allocations: 27.98 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.2712, allocations: 65.38 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2713, allocations: 101.9 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2713, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001629/0.2715, allocations: 125.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2715, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2715, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2715, allocations: 7.938 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.2716, allocations: 11.94 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2716, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.2716, allocations: 8 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2717, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 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 8.835e-05/0.2718, allocations: 126.4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.2718, allocations: 7.875 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.2718, allocations: 3.969 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2718, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2718, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2718, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.2719, allocations: 157.5 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2719, allocations: 4 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-06/0.272, allocations: 3.938 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.272, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.272, allocations: 7.984 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.272, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.272, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.2721, allocations: 105.1 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.2722, allocations: 89.02 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2722, allocations: 4 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.2722, allocations: 0 / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.2722, allocations: 0 / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2722, allocations: 8.031 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.413e-05/0.2723, allocations: 79.22 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2723, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002226/0.2725, allocations: 24 kB / 1.068 GB, free: 9.508 MB / 0.8262 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.0004574/0.273, allocations: 0.6676 MB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.2731, allocations: 55.95 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2731, allocations: 0 / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.2731, allocations: 27.92 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2733, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.2737, allocations: 160.7 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2739, allocations: 0.6729 MB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.2739, allocations: 11.98 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.274, allocations: 11.44 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.274, allocations: 0 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.2902, allocations: 1.584 MB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.783, allocations: 11.31 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > 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.csv","/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) Reference file matches