Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.CountAggregationCells,fileNamePrefix="Buildings_latest_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_latest_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.004661/0.004661, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.001114/0.001114, allocations: 197.9 kB / 16.68 MB, free: 5.965 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.692/2.692, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.89 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.281, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001671/0.2827, allocations: 0.5596 MB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.2836, allocations: 0.7784 MB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.2836, allocations: 4 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.2836, allocations: 3.938 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.2836, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.2839, allocations: 15.92 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.104e-05/0.284, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.284, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.267e-05/0.284, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2842, allocations: 23.97 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.2842, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.115e-06/0.2842, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.2842, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.2842, allocations: 4 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 3.709e-05/0.2843, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2843, allocations: 4 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2843, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2843, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 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.0002465/0.2845, allocations: 319.5 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2846, allocations: 8.031 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.2846, allocations: 34.69 kB / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.74e-05/0.2846, allocations: 0.9375 kB / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.184e-05/0.2847, allocations: 160.4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2847, allocations: 384 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.2848, allocations: 8.375 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.2848, allocations: 30.27 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2849, allocations: 3.938 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.2849, allocations: 3.938 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2849, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.2849, allocations: 4 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.2852, allocations: 375.5 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.2852, allocations: 173.1 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.2853, allocations: 84.17 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2853, allocations: 79.22 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2853, allocations: 105.8 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2854, allocations: 0 / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.496e-05/0.2854, allocations: 29.7 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.2855, allocations: 130.7 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.2856, allocations: 97.86 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.2856, allocations: 25.7 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.2856, allocations: 80.14 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.2856, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2856, allocations: 13.72 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.2857, allocations: 315 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.2858, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.2858, allocations: 3.938 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.2858, allocations: 12.86 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2858, allocations: 3.938 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.509e-05/0.2859, allocations: 33.69 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2859, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2859, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2859, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.286, allocations: 12.09 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.286, allocations: 0 / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.286, allocations: 3.938 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.286, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.9825 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 8.504e-05/0.2861, allocations: 189.6 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.2862, allocations: 108.9 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.2862, allocations: 108.1 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/0.2863, allocations: 184.2 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.2863, allocations: 180.3 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.966e-05/0.2864, allocations: 180.3 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2866, allocations: 409 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/0.2866, allocations: 105 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.2867, allocations: 112.9 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.936e-05/0.2867, allocations: 176.4 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.2868, allocations: 180.2 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.282e-05/0.2868, allocations: 184.2 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-05/0.2869, allocations: 180.3 kB / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.287, allocations: 311.7 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.2871, allocations: 186 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.2871, allocations: 176.3 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.2872, allocations: 101 kB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.2873, allocations: 192.2 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.2873, allocations: 105 kB / 1.226 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.079e-05/0.2873, allocations: 79.27 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2874, allocations: 0 / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002052/0.2876, allocations: 0 / 1.227 GB, free: 7.25 MB / 0.9825 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.0003691/0.2879, allocations: 0.8205 MB / 1.227 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.274e-05/0.288, allocations: 3.984 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.288, allocations: 0 / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.288, allocations: 0 / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2883, allocations: 455.7 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.2886, allocations: 193.8 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.2888, allocations: 0.669 MB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.2888, allocations: 0 / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.2889, allocations: 11.44 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.2889, allocations: 0 / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.3049, allocations: 0.9705 MB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.509, allocations: 2.938 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches