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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.000928, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005714/0.005714, allocations: 169 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 16 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2749, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006307/0.2756, allocations: 283 kB / 1.059 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008378/0.2764, allocations: 0.7844 MB / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-06/0.2765, allocations: 0 / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.969e-06/0.2765, allocations: 0 / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-06/0.2765, allocations: 0 / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.2767, allocations: 19.98 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.866e-05/0.2767, allocations: 4 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.2768, allocations: 4 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.2768, allocations: 3.984 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.2769, allocations: 15.98 kB / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.2769, allocations: 0 / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-06/0.2769, allocations: 0 / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.2769, allocations: 4 kB / 1.06 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.277, allocations: 33.64 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 2.921e-05/0.277, allocations: 4 kB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.277, allocations: 3.938 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.277, allocations: 0 / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.277, allocations: 0 / 1.06 GB, free: 4.289 MB / 0.8106 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.0002392/0.2773, allocations: 311.5 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2773, allocations: 8.094 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.2773, allocations: 4.938 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.217e-05/0.2774, allocations: 160.4 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2774, allocations: 4.375 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.2774, allocations: 384 / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.793e-05/0.2775, allocations: 26.27 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.2775, allocations: 192 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2775, allocations: 7.938 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2776, allocations: 3.938 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.46e-05/0.2776, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.2778, allocations: 387.5 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.2779, allocations: 169.1 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.278, allocations: 84.14 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.278, allocations: 75.28 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.278, allocations: 105.8 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.278, allocations: 4 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.675e-05/0.2781, allocations: 33.64 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.2782, allocations: 130.7 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.2782, allocations: 89.86 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2783, allocations: 25.7 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.2783, allocations: 84.12 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.2783, allocations: 4 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.2783, allocations: 13.72 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2784, allocations: 315 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-06/0.2785, allocations: 0 / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.2785, allocations: 0 / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.2785, allocations: 8.859 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2785, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.429e-05/0.2786, allocations: 41.56 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2786, allocations: 4 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.2786, allocations: 0 / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2786, allocations: 8.094 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.2787, allocations: 3.938 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2787, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-06/0.2787, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.2787, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 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.742e-05/0.2788, allocations: 193.1 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.2789, allocations: 104.9 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.2789, allocations: 112.1 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.836e-05/0.279, allocations: 176.3 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-05/0.279, allocations: 184.2 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/0.2791, allocations: 180.3 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.2793, allocations: 405.1 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.2793, allocations: 105 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.2794, allocations: 109.1 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.284e-05/0.2794, allocations: 184.2 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.2795, allocations: 180.3 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.402e-05/0.2796, allocations: 192.2 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.007e-05/0.2797, allocations: 176.3 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.2798, allocations: 311.7 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.2799, allocations: 186 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.28, allocations: 180.2 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.28, allocations: 105 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.2801, allocations: 180.3 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.2801, allocations: 108.9 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.2802, allocations: 75.28 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2802, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002025/0.2804, allocations: 0 / 1.065 GB, free: 14.39 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.0001381/0.2805, allocations: 186.5 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.608e-05/0.2806, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2806, allocations: 4.156 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.2806, allocations: 4 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.281, allocations: 0.5237 MB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.2812, allocations: 159.6 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2814, allocations: 0.6731 MB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.012e-05/0.2814, allocations: 4 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.2814, allocations: 7.438 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2814, allocations: 0 / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.001758/0.2832, allocations: 173.5 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins/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