Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_10_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_10_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.005065/0.005065, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.001118/0.001118, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.7929, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00173/0.7947, allocations: 0.5469 MB / 1.167 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.7956, allocations: 0.7806 MB / 1.168 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.7956, allocations: 0 / 1.168 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.7956, allocations: 0 / 1.168 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.7957, allocations: 3.938 kB / 1.168 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.7959, allocations: 27.91 kB / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.082e-05/0.796, allocations: 0 / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.796, allocations: 0 / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.7961, allocations: 4 kB / 1.168 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.7962, allocations: 19.97 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.7962, allocations: 4 kB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.7962, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.7963, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.7963, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.42e-05/0.7963, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7963, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7963, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7963, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 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.0003026/0.7967, allocations: 319.6 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.7967, allocations: 8.922 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.7967, allocations: 0.9375 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.7968, allocations: 162.9 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.7969, allocations: 4.375 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.7969, allocations: 4.312 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.797, allocations: 30.2 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.797, allocations: 192 / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.797, allocations: 7.875 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.797, allocations: 0 / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.797, allocations: 8 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.7974, allocations: 379.5 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.918e-05/0.7975, allocations: 181 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.7975, allocations: 80.14 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.7975, allocations: 83.28 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.7976, allocations: 105.8 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.7976, allocations: 0 / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.7977, allocations: 25.7 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.7977, allocations: 130.7 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.7978, allocations: 97.8 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.7979, allocations: 25.83 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.7979, allocations: 84.14 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.7979, allocations: 0 / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.7979, allocations: 17.72 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7981, allocations: 310.8 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.7981, allocations: 0 / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.7981, allocations: 0 / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.7981, allocations: 8.859 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7981, allocations: 4.062 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.345e-05/0.7982, allocations: 37.62 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7982, allocations: 4 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7982, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7983, allocations: 7.938 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.7983, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.7983, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.7983, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.7984, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 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 0.0001188/0.7985, allocations: 197.1 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.7985, allocations: 101 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.7986, allocations: 112 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/0.7987, allocations: 180.3 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.408e-05/0.7987, allocations: 176.3 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/0.7988, allocations: 184.2 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.7991, allocations: 405.2 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/0.7991, allocations: 112.9 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.7991, allocations: 101 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.608e-05/0.7992, allocations: 176.3 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.7993, allocations: 188.2 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.605e-05/0.7993, allocations: 188.2 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.94e-05/0.7994, allocations: 180.2 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.7996, allocations: 311.8 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.7997, allocations: 186 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/0.7998, allocations: 180.3 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.7998, allocations: 109.2 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.7999, allocations: 176.3 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.8, allocations: 105 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.8, allocations: 79.27 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8, allocations: 3.938 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00023/0.8003, allocations: 4 kB / 1.173 GB, free: 12.48 MB / 0.9044 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.0001564/0.8004, allocations: 182.6 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.783e-05/0.8005, allocations: 4 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8005, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.8005, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.8009, allocations: 457.8 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.8011, allocations: 159.1 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.8013, allocations: 0.6729 MB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.06e-05/0.8013, allocations: 3.938 kB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.8014, allocations: 7.438 kB / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.8014, allocations: 0 / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.001903/0.8033, allocations: 175.4 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches