Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001365/0.001365, 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.001768/0.001768, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 67.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6421, allocations: 140.4 MB / 0.9498 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002198/0.6443, allocations: 1.24 MB / 0.951 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.6451, allocations: 487.2 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.6452, allocations: 0 / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.6452, allocations: 0 / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.6453, allocations: 5.422 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.6456, allocations: 56.25 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.391e-05/0.6457, allocations: 7.344 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.6458, allocations: 13.27 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.6458, allocations: 7.859 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.6458, allocations: 2.75 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.6458, allocations: 0 / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.646, allocations: 70.16 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.6461, allocations: 4.5 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.6461, allocations: 8.062 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.6463, allocations: 65.44 kB / 0.9517 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6463, allocations: 1.406 kB / 0.9517 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6463, allocations: 0 / 0.9517 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6463, allocations: 0 / 0.9517 GB, free: 7.676 MB / 0.7169 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.0003208/0.6466, allocations: 340.5 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.6467, allocations: 13.28 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.53e-05/0.6467, allocations: 38.67 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.6467, allocations: 2.406 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.727e-05/0.6468, allocations: 170 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.6468, allocations: 5.75 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.6468, allocations: 1.531 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6469, allocations: 52.38 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.6469, allocations: 3.938 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.6469, allocations: 5.375 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.647, allocations: 0 / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.647, allocations: 11.73 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.828e-05/0.6471, allocations: 152.6 kB / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.52e-05/0.6471, allocations: 35.61 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.6472, allocations: 17.36 kB / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.6472, allocations: 0 / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.6473, allocations: 77.69 kB / 0.9526 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.6473, allocations: 0 / 0.9526 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000192/0.6475, allocations: 96.02 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.6476, allocations: 55.38 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.936e-05/0.6476, allocations: 98.86 kB / 0.9528 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.6476, allocations: 32.72 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.546e-05/0.6476, allocations: 83.34 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.6477, allocations: 15.25 kB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.6477, allocations: 30.02 kB / 0.953 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.6478, allocations: 317.7 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.6478, allocations: 19.98 kB / 0.9533 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.6479, allocations: 79.58 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.648, allocations: 93.66 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.648, allocations: 1.188 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000167/0.6481, allocations: 118.6 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6482, allocations: 5.375 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6482, allocations: 2.719 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6482, allocations: 5.5 kB / 0.9536 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.6483, allocations: 10.47 kB / 0.9536 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6483, allocations: 3 kB / 0.9536 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.6483, allocations: 14.64 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.6483, allocations: 11.59 kB / 0.9536 GB, free: 5.723 MB / 0.7169 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 7.232e-05/0.6484, allocations: 121.8 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.6484, allocations: 5.406 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.6485, allocations: 3.969 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6485, allocations: 5.5 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6485, allocations: 3.984 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6485, allocations: 3.984 kB / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.758e-05/0.6486, allocations: 150 kB / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6486, allocations: 0 / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.6486, allocations: 3.938 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6486, allocations: 5.422 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.6486, allocations: 1.438 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6486, allocations: 0 / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6486, allocations: 0 / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.6487, allocations: 115.4 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.6488, allocations: 86.36 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.6488, allocations: 3.781 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.6488, allocations: 8 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.6488, allocations: 1.188 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.6488, allocations: 2.344 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.379e-05/0.6489, allocations: 76.34 kB / 0.9542 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6489, allocations: 0 / 0.9542 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002387/0.6491, allocations: 26.09 kB / 0.9542 GB, free: 5.094 MB / 0.7169 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.0003537/0.6495, allocations: 0.6736 MB / 0.9549 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.6496, allocations: 53.08 kB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6496, allocations: 4.125 kB / 0.9549 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.6496, allocations: 19.73 kB / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.6498, allocations: 1.062 kB / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.6502, allocations: 152.7 kB / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.6503, allocations: 0.6797 MB / 0.9557 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.6503, allocations: 6.828 kB / 0.9557 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.6504, allocations: 18.69 kB / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6504, allocations: 0 / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.6663, allocations: 1.571 MB / 0.9573 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.387, allocations: 20.88 kB / 0.9573 GB, free: 2.742 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches