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.00539/0.00539, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001366/0.001366, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.582/2.582, allocations: 437.1 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.89 kB / 1.018 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2771, allocations: 151.6 MB / 1.166 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001702/0.2788, allocations: 0.5681 MB / 1.167 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.2798, allocations: 0.7809 MB / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.2798, allocations: 0 / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.2798, allocations: 0 / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.2799, allocations: 0 / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.2801, allocations: 15.92 kB / 1.168 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.623e-05/0.2801, allocations: 3.984 kB / 1.168 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.2802, allocations: 4 kB / 1.168 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.2802, allocations: 7.938 kB / 1.168 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2803, allocations: 23.97 kB / 1.168 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.2803, allocations: 0 / 1.168 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-06/0.2804, allocations: 4 kB / 1.168 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.2804, allocations: 0 / 1.168 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.291e-05/0.2804, allocations: 0 / 1.168 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 3.4e-05/0.2804, allocations: 0 / 1.168 GB, free: 6.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2804, allocations: 0 / 1.168 GB, free: 6.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2804, allocations: 4 kB / 1.168 GB, free: 6.039 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2804, allocations: 0 / 1.168 GB, free: 6.039 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002912/0.2807, allocations: 307.6 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2808, allocations: 8.031 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.2808, allocations: 34.75 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.882e-05/0.2808, allocations: 0.9375 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.281, allocations: 168.3 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.281, allocations: 4.375 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-06/0.281, allocations: 384 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.2811, allocations: 30.27 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2811, allocations: 3.938 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.2811, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2811, allocations: 3.938 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.2811, allocations: 4 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.2814, allocations: 379.5 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.728e-05/0.2815, allocations: 181 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.2816, allocations: 84.08 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.2816, allocations: 75.28 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.2817, allocations: 105.8 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.2817, allocations: 0 / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.743e-05/0.2817, allocations: 33.64 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.2818, allocations: 134.7 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.2819, allocations: 93.84 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2819, allocations: 25.7 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.282, allocations: 80.42 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.282, allocations: 0 / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.282, allocations: 13.72 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2821, allocations: 314.8 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.2821, allocations: 128 / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-06/0.2822, allocations: 4 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.2822, allocations: 8.859 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2822, allocations: 3.938 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.351e-05/0.2823, allocations: 33.64 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2823, allocations: 7.984 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2823, allocations: 4 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2824, allocations: 0 / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.2824, allocations: 0 / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2824, allocations: 4.094 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.2824, allocations: 3.938 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2824, allocations: 4 kB / 1.17 GB, free: 3.684 MB / 0.92 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 9.866e-05/0.2825, allocations: 189.1 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.2826, allocations: 105 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.2827, allocations: 112 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-05/0.2828, allocations: 180.3 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.43e-05/0.2828, allocations: 184.2 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-05/0.2829, allocations: 176.3 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.2832, allocations: 405.2 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.517e-05/0.2832, allocations: 108.9 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.2833, allocations: 101 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-05/0.2833, allocations: 184.2 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.2834, allocations: 180.3 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.071e-05/0.2835, allocations: 180.3 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.551e-05/0.2836, allocations: 192.1 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.2837, allocations: 307.9 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.2838, allocations: 186.1 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.2839, allocations: 184.2 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.284, allocations: 108.9 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.2841, allocations: 176.3 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.2841, allocations: 104.9 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.2842, allocations: 79.28 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2842, allocations: 0 / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002256/0.2844, allocations: 4 kB / 1.173 GB, free: 88 kB / 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: 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.000464/0.2849, allocations: 0.8126 MB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.262e-05/0.285, allocations: 12.03 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.285, allocations: 0 / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.285, allocations: 0 / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.2854, allocations: 455.7 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.2857, allocations: 173.9 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.286, allocations: 0.6768 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.286, allocations: 4 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.286, allocations: 7.438 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.286, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.3075, allocations: 0.9555 MB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.173, allocations: 8.766 kB / 1.176 GB, free: 13.09 MB / 0.9356 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