Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001164/0.001164, 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.001153/0.001154, allocations: 192 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.351/1.351, 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 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437.1 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5663, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001595/0.5679, allocations: 0.5424 MB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.5687, allocations: 0.7844 MB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.304e-05/0.5687, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.5687, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.5687, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.569, allocations: 27.91 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.082e-05/0.569, allocations: 0 / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.5691, allocations: 0 / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.5691, allocations: 4 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.5692, allocations: 23.97 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-06/0.5692, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.985e-06/0.5692, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.5692, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.5692, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 2.712e-05/0.5693, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5693, allocations: 3.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5693, allocations: 0 / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5693, allocations: 0 / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002292/0.5695, allocations: 315.6 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.5696, allocations: 8.031 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.66e-05/0.5696, allocations: 34.69 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.709e-05/0.5696, allocations: 8.922 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.629e-05/0.5697, allocations: 160.4 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.5697, allocations: 384 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-06/0.5697, allocations: 384 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.434e-05/0.5698, allocations: 30.2 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.5698, allocations: 3.938 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.5698, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.5698, allocations: 4 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.365e-05/0.5699, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.5701, allocations: 383.5 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.166e-05/0.5702, allocations: 169.1 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.5702, allocations: 88.08 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.5703, allocations: 79.28 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.5703, allocations: 105.9 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.5703, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.177e-05/0.5704, allocations: 33.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5704, allocations: 126.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.306e-05/0.5705, allocations: 93.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.5705, allocations: 29.83 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.5705, allocations: 80.14 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.5706, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.5706, allocations: 17.72 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.5707, allocations: 310.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-06/0.5707, allocations: 3.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.5707, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/0.5707, allocations: 8.922 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5707, allocations: 3.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.4e-05/0.5708, allocations: 33.69 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5708, allocations: 8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.5708, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.5708, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.142e-05/0.5709, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.5709, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.5709, allocations: 8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5709, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.101e-05/0.571, allocations: 193 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.5711, allocations: 104.9 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.5711, allocations: 112.1 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/0.5712, allocations: 180.2 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.503e-05/0.5712, allocations: 184.2 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.533e-05/0.5713, allocations: 188.2 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.5715, allocations: 405.2 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.114e-05/0.5715, allocations: 101 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.5716, allocations: 104.9 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-05/0.5716, allocations: 176.3 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.5717, allocations: 188.2 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.092e-05/0.5717, allocations: 184.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.79e-05/0.5718, allocations: 176.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.5719, allocations: 311.7 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.572, allocations: 186 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.572, allocations: 184.3 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.5721, allocations: 101 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.5722, allocations: 180.2 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.5722, allocations: 101.3 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.5722, allocations: 79.28 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5722, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002077/0.5725, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003219/0.5728, allocations: 0.8127 MB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.153e-05/0.5728, allocations: 12.03 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5729, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.5729, allocations: 4.062 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.5732, allocations: 457.9 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.5735, allocations: 185.9 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.5737, allocations: 0.669 MB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.987e-06/0.5737, allocations: 4 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.5737, allocations: 7.438 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5737, allocations: 4 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.5886, allocations: 0.923 MB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.876, allocations: 17.86 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches