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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.000821/0.0008212, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008149/0.000815, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 10.66 kB / 0.9022 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3047, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006311/0.3054, allocations: 275 kB / 1.058 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.3062, allocations: 0.7729 MB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-06/0.3062, allocations: 0 / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.3062, allocations: 0 / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.3062, allocations: 0 / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.3064, allocations: 11.94 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.637e-05/0.3065, allocations: 3.984 kB / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.3065, allocations: 8 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.298e-05/0.3066, allocations: 3.938 kB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3067, allocations: 19.97 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.3067, allocations: 0 / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.3067, allocations: 0 / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.834e-06/0.3067, allocations: 0 / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.3068, allocations: 25.7 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 2.13e-05/0.3068, allocations: 0 / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3068, allocations: 4 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3068, allocations: 0 / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.3068, allocations: 0 / 1.059 GB, free: 4.137 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.0002188/0.307, allocations: 315.3 kB / 1.059 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3071, allocations: 8.031 kB / 1.059 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.3071, allocations: 0 / 1.059 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.54e-05/0.3072, allocations: 163.1 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3072, allocations: 7.938 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3072, allocations: 7.953 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/0.3073, allocations: 29.7 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.3073, allocations: 0 / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.3073, allocations: 0 / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3073, allocations: 3.938 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.596e-05/0.3074, allocations: 0 / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.3076, allocations: 383.5 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.3077, allocations: 173.1 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.3077, allocations: 80.14 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3078, allocations: 79.31 kB / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3078, allocations: 109.8 kB / 1.06 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3078, allocations: 0 / 1.06 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.789e-05/0.3079, allocations: 25.7 kB / 1.06 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3079, allocations: 134.6 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.308, allocations: 93.86 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.308, allocations: 25.7 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.3081, allocations: 80.14 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.3081, allocations: 0 / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.3081, allocations: 0 / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3082, allocations: 318.8 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.3082, allocations: 0 / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.3082, allocations: 12.06 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.573e-05/0.3082, allocations: 3.953 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3082, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.181e-05/0.3083, allocations: 29.7 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3083, allocations: 8 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3084, allocations: 0 / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.3084, allocations: 0 / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.3084, allocations: 0 / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3084, allocations: 3.938 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.3084, allocations: 4.094 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3085, allocations: 7.984 kB / 1.061 GB, free: 1.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.3085, allocations: 185.1 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.3086, allocations: 105 kB / 1.061 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.3086, allocations: 104.1 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/0.3087, allocations: 184.2 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.193e-05/0.3087, allocations: 184.2 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.851e-05/0.3088, allocations: 180.2 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.309, allocations: 401.2 kB / 1.062 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/0.309, allocations: 104.9 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.3091, allocations: 108.9 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.635e-05/0.3091, allocations: 176.3 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.3092, allocations: 188.2 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.798e-05/0.3092, allocations: 180.3 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.255e-05/0.3093, allocations: 180.2 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.3094, allocations: 304.1 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.3095, allocations: 197.9 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.3096, allocations: 180.3 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.3096, allocations: 112.9 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.3097, allocations: 176.3 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.3097, allocations: 101 kB / 1.064 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.3098, allocations: 79.28 kB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3098, allocations: 4 kB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000202/0.31, allocations: 0 / 1.064 GB, free: 14.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.3101, allocations: 182.5 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.611e-05/0.3102, allocations: 4 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3102, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.3102, allocations: 3.938 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3105, allocations: 0.5265 MB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.3107, allocations: 150 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3109, allocations: 0.6692 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.395e-05/0.3109, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.3109, allocations: 7.438 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3109, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.001664/0.3126, allocations: 178.6 kB / 1.066 GB, free: 12.53 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