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.008007/0.008007, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001894/0.001894, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.318/1.318, 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.499/2.499, allocations: 437 MB / 0.7105 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00171/0.3032, allocations: 0.5537 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008934/0.3041, allocations: 0.777 MB / 1.168 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.3042, allocations: 0 / 1.168 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.3042, allocations: 0 / 1.168 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.3042, allocations: 0 / 1.168 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.3045, allocations: 23.91 kB / 1.168 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.586e-05/0.3045, allocations: 0 / 1.168 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3046, allocations: 4 kB / 1.168 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.3046, allocations: 11.94 kB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.3047, allocations: 15.98 kB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.3047, allocations: 0 / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.3047, allocations: 0 / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.3048, allocations: 3.984 kB / 1.168 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.3048, allocations: 4 kB / 1.168 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 3.694e-05/0.3048, allocations: 0 / 1.168 GB, free: 5.914 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3048, allocations: 4 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3048, allocations: 0 / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3048, allocations: 0 / 1.168 GB, free: 5.91 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.0002451/0.3051, allocations: 311.6 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3051, allocations: 8.031 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.3052, allocations: 30.75 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.099e-05/0.3052, allocations: 8.938 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.3053, allocations: 164.3 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3053, allocations: 384 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.3053, allocations: 384 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.3054, allocations: 38.19 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3054, allocations: 3.938 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.3054, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3054, allocations: 4 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.3055, allocations: 4 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.3057, allocations: 375.5 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.3058, allocations: 185 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.3059, allocations: 84.12 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3059, allocations: 79.22 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.3059, allocations: 105.8 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3059, allocations: 0 / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.355e-05/0.306, allocations: 29.7 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.306, allocations: 130.7 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.3061, allocations: 97.8 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3061, allocations: 25.7 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.3062, allocations: 80.42 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.3062, allocations: 0 / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.3062, allocations: 13.72 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.3063, allocations: 314.8 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-06/0.3063, allocations: 4.125 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.3063, allocations: 4 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.164e-05/0.3064, allocations: 4.859 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3064, allocations: 3.938 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.722e-05/0.3065, allocations: 33.7 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3065, allocations: 8 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3065, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3065, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.3066, allocations: 8.031 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.3066, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.3066, allocations: 3.938 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3066, allocations: 7.984 kB / 1.17 GB, free: 3.543 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 7.628e-05/0.3067, allocations: 185.1 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.3067, allocations: 101 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.3068, allocations: 112 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/0.3068, allocations: 184.3 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-05/0.3069, allocations: 180.2 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.396e-05/0.307, allocations: 180.2 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3072, allocations: 401.2 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/0.3072, allocations: 104.9 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.3073, allocations: 108.9 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-05/0.3073, allocations: 184.3 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.3074, allocations: 188.2 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/0.3074, allocations: 176.3 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.564e-05/0.3075, allocations: 180.2 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3076, allocations: 319.9 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.3077, allocations: 186.1 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.3078, allocations: 180.3 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.3078, allocations: 108.9 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.3079, allocations: 176.3 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.3079, allocations: 109 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.308, allocations: 79.28 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.583e-06/0.308, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002054/0.3082, allocations: 3.938 kB / 1.173 GB, free: 15.95 MB / 0.9356 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.0003607/0.3086, allocations: 0.8127 MB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.55e-05/0.3086, allocations: 4 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3086, allocations: 0 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.3087, allocations: 3.938 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.309, allocations: 451.7 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.3093, allocations: 181.9 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.3095, allocations: 0.6729 MB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.25e-05/0.3095, allocations: 4 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.3095, allocations: 7.438 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3095, allocations: 0 / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/1.372, allocations: 0.956 MB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.82, allocations: 12.52 kB / 1.176 GB, free: 12.95 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