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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001258/0.001258, allocations: 196.8 kB / 16.14 MB, free: 6.645 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.8 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 68.95 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2918, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001715/0.2935, allocations: 0.6114 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.2944, allocations: 0.7805 MB / 1.053 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-06/0.2944, allocations: 4 kB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.2945, allocations: 0 / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-06/0.2945, allocations: 0 / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.2947, allocations: 19.92 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.279e-05/0.2947, allocations: 4 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.2948, allocations: 4 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.148e-05/0.2948, allocations: 0 / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2949, allocations: 23.97 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.2949, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-06/0.2949, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.2949, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.295, allocations: 4 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.129e-05/0.295, allocations: 0 / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.295, allocations: 3.938 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.295, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.295, allocations: 3.938 kB / 1.054 GB, free: 7.348 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.0002554/0.2953, allocations: 319.5 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2953, allocations: 12.03 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.2954, allocations: 0.9375 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.583e-05/0.2954, allocations: 160.4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2955, allocations: 384 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.2955, allocations: 384 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.712e-05/0.2956, allocations: 30.27 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.2956, allocations: 192 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2956, allocations: 3.938 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2956, allocations: 3.938 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.371e-05/0.2956, allocations: 4 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.2959, allocations: 379.5 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.296, allocations: 169.1 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.296, allocations: 80.14 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.296, allocations: 79.31 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2961, allocations: 117.8 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2961, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.084e-05/0.2962, allocations: 29.69 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.2962, allocations: 126.7 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.2963, allocations: 93.86 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2963, allocations: 25.7 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.2963, allocations: 84.27 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.2963, allocations: 0 / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.2964, allocations: 9.719 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.2965, allocations: 318.8 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.2965, allocations: 0 / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.2965, allocations: 0 / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.2965, allocations: 16.78 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2965, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.696e-05/0.2966, allocations: 37.7 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2966, allocations: 4 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2966, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2967, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-05/0.2967, allocations: 7.938 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.2967, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.2967, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.2967, allocations: 0 / 1.056 GB, free: 5.047 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.831e-05/0.2968, allocations: 194.6 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.2969, allocations: 112.9 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.2969, allocations: 104.1 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-05/0.297, allocations: 180.2 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-05/0.2971, allocations: 184.2 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-05/0.2971, allocations: 176.3 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2974, allocations: 413.1 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.2974, allocations: 101 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.2974, allocations: 109.1 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.208e-05/0.2975, allocations: 184.3 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.2976, allocations: 184.3 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.471e-05/0.2977, allocations: 188.2 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.263e-05/0.2977, allocations: 184.3 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2978, allocations: 303.7 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.2979, allocations: 186.1 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.298, allocations: 180.2 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.2981, allocations: 105 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.2981, allocations: 184.2 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.2982, allocations: 105 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.2982, allocations: 75.28 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2982, allocations: 0 / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002075/0.2984, allocations: 0 / 1.059 GB, free: 1.449 MB / 0.8106 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.0001404/0.2986, allocations: 182.6 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.584e-05/0.2986, allocations: 7.938 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2986, allocations: 0 / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.2987, allocations: 4 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.299, allocations: 0.5185 MB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.2992, allocations: 161.9 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.2994, allocations: 0.6692 MB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.2995, allocations: 3.984 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.2995, allocations: 7.438 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2995, allocations: 0 / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.001749/0.3012, allocations: 185.5 kB / 1.061 GB, free: 15.69 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