Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CountAggregationCells,fileNamePrefix="Buildings_9_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_9_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.007186/0.007186, 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.001611/0.001611, 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.243/2.243, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.38 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2661, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002023/0.2682, allocations: 0.5405 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2692, allocations: 0.7808 MB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.2693, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.2693, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-06/0.2693, allocations: 4 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.2696, allocations: 19.92 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.555e-05/0.2697, allocations: 0 / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.2697, allocations: 4 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.2698, allocations: 3.984 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2699, allocations: 19.98 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.2699, allocations: 0 / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.2699, allocations: 4 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.27, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.27, allocations: 4 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.533e-05/0.27, allocations: 3.938 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.27, allocations: 3.938 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.943e-06/0.27, allocations: 0 / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2701, allocations: 0 / 1.089 GB, free: 0.5781 MB / 0.8419 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.0002582/0.2703, allocations: 311.6 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2704, allocations: 8.031 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.2704, allocations: 34.75 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.2704, allocations: 0.9375 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/0.2705, allocations: 164.3 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2705, allocations: 384 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.2706, allocations: 4.375 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.2706, allocations: 34.25 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2707, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.2707, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2707, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.2707, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.271, allocations: 375.5 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.2711, allocations: 181 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.2711, allocations: 80.14 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2711, allocations: 75.28 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2712, allocations: 109.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.2712, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.868e-05/0.2713, allocations: 25.7 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.2713, allocations: 130.6 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.2714, allocations: 97.86 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.2714, allocations: 25.7 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.2714, allocations: 84.53 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.2715, allocations: 4 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.2715, allocations: 13.72 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.2716, allocations: 314.8 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-06/0.2716, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.2716, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.2716, allocations: 12.86 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2716, allocations: 3.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.875e-05/0.2717, allocations: 41.64 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2718, allocations: 5.562 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.2718, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2718, allocations: 4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.2718, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2719, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.2719, allocations: 11.88 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.2719, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 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.943e-05/0.272, allocations: 193.1 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.272, allocations: 104.9 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.2721, allocations: 113.5 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-05/0.2721, allocations: 180.3 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.514e-05/0.2722, allocations: 180.2 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.082e-05/0.2722, allocations: 180.2 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.2724, allocations: 401.2 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/0.2725, allocations: 116.9 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.2725, allocations: 109 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.933e-05/0.2726, allocations: 176.3 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.2726, allocations: 184.2 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.416e-05/0.2727, allocations: 180.3 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.572e-05/0.2728, allocations: 184.2 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.2729, allocations: 311.9 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.273, allocations: 182.1 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.273, allocations: 176.3 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.2731, allocations: 116.9 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2732, allocations: 180.3 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.2732, allocations: 104.9 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.2733, allocations: 75.28 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2733, allocations: 0 / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002173/0.2735, allocations: 4 kB / 1.094 GB, free: 10.62 MB / 0.8575 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.0003823/0.2739, allocations: 0.8127 MB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.274, allocations: 0 / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.274, allocations: 7.938 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.274, allocations: 0 / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.2743, allocations: 455.8 kB / 1.095 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.2747, allocations: 179.1 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.2749, allocations: 0.6767 MB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.205e-05/0.2749, allocations: 4 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.2749, allocations: 7.438 kB / 1.096 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2749, allocations: 0 / 1.096 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.2922, allocations: 0.9548 MB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.556, allocations: 13.27 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches