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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001638/0.001638, allocations: 108 kB / 15.61 MB, free: 152 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.002201/0.002201, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.36/1.36, 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 11.0.1-master/package.mo): time 2.82/2.82, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.14 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2633, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002129/0.2655, allocations: 0.5567 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2665, allocations: 0.7766 MB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.2666, allocations: 4 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.2666, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.2666, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.2669, allocations: 23.91 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.399e-05/0.267, allocations: 4 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.267, allocations: 0 / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.267, allocations: 0 / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2672, allocations: 19.98 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.2672, allocations: 0 / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-06/0.2672, allocations: 0 / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.2673, allocations: 7.984 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.2673, allocations: 0 / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.101e-05/0.2673, allocations: 7.938 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2673, allocations: 7.922 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2673, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2673, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 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.0002759/0.2676, allocations: 309.5 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2677, allocations: 12.06 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.2677, allocations: 30.75 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.2678, allocations: 0.9375 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/0.2679, allocations: 164.4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2679, allocations: 384 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-06/0.2679, allocations: 4.312 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.268, allocations: 34.27 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.268, allocations: 3.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.268, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.268, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.268, allocations: 3.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.2683, allocations: 371.5 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.2684, allocations: 177.1 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.2684, allocations: 80.14 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.2685, allocations: 79.28 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2685, allocations: 109.9 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2685, allocations: 0 / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.975e-05/0.2686, allocations: 29.64 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.2687, allocations: 126.7 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.2687, allocations: 97.86 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2688, allocations: 29.83 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.2688, allocations: 80.14 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.2688, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.2688, allocations: 13.7 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.2689, allocations: 314.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.2689, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.2689, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.269, allocations: 16.86 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.269, allocations: 3.938 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.933e-05/0.2691, allocations: 33.7 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2691, allocations: 4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2691, allocations: 3.938 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2691, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.2692, allocations: 4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2692, allocations: 3.984 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.2692, allocations: 4 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2692, allocations: 0 / 1.067 GB, free: 10.7 MB / 0.8262 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.589e-05/0.2693, allocations: 189.1 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.2693, allocations: 110.6 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.2694, allocations: 104.1 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/0.2694, allocations: 180.3 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-05/0.2695, allocations: 188.2 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.827e-05/0.2695, allocations: 180.3 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.2697, allocations: 401.1 kB / 1.068 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/0.2698, allocations: 109 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.2698, allocations: 109 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.519e-05/0.2699, allocations: 180.2 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.2699, allocations: 180.2 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.09e-05/0.27, allocations: 184.2 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.625e-05/0.2701, allocations: 180.3 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2702, allocations: 311.8 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.2703, allocations: 182.1 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.2703, allocations: 192.2 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.2704, allocations: 105 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.2705, allocations: 188.2 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.2705, allocations: 101 kB / 1.07 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.2706, allocations: 75.28 kB / 1.07 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2706, allocations: 0 / 1.07 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002134/0.2708, allocations: 96 / 1.07 GB, free: 7.105 MB / 0.8262 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.0003953/0.2712, allocations: 0.8222 MB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.2713, allocations: 0 / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2713, allocations: 0 / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-06/0.2713, allocations: 4.062 kB / 1.071 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.2716, allocations: 459.6 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.2719, allocations: 190 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.2722, allocations: 0.669 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.175e-05/0.2722, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.2722, allocations: 11.38 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2722, allocations: 4 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.2881, allocations: 0.941 MB / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.644, allocations: 5.203 kB / 1.073 GB, free: 4.105 MB / 0.8262 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