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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001479/0.001479, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001829/0.001829, allocations: 190.3 kB / 16.25 MB, free: 6.629 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 63.55 kB / 0.9116 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2831, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001857/0.285, allocations: 0.6114 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.2859, allocations: 0.7865 MB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.286, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.286, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.286, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.2863, allocations: 19.97 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.562e-05/0.2864, allocations: 0 / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.2864, allocations: 0 / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.2864, allocations: 3.938 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2866, allocations: 27.97 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.2866, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.2866, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.2866, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.2866, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 3.304e-05/0.2867, allocations: 3.938 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2867, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2867, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2867, allocations: 4 kB / 1.069 GB, free: 9.246 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.0002721/0.287, allocations: 307.6 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.287, allocations: 15.95 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.287, allocations: 0.9375 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.473e-05/0.2871, allocations: 164.4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.2872, allocations: 384 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.2872, allocations: 4.375 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.2873, allocations: 26.27 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2873, allocations: 192 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2873, allocations: 7.938 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2873, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.2873, allocations: 4 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.2876, allocations: 379.5 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.816e-05/0.2877, allocations: 169.1 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.2878, allocations: 84.17 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.2878, allocations: 79.28 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.2878, allocations: 105.8 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.2878, allocations: 0 / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.844e-05/0.2879, allocations: 29.64 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.288, allocations: 130.7 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.2881, allocations: 101.8 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2881, allocations: 25.7 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.2881, allocations: 80.14 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.2881, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.2882, allocations: 9.719 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2883, allocations: 314.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.2883, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.2883, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.2884, allocations: 13.05 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2884, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000107/0.2885, allocations: 45.5 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2885, allocations: 5.875 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2885, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2885, allocations: 3.938 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.2886, allocations: 4 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2886, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.2886, allocations: 3.906 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.2886, allocations: 4.031 kB / 1.071 GB, free: 6.938 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 9.965e-05/0.2887, allocations: 189.1 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.2888, allocations: 105 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.2889, allocations: 119.8 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/0.2889, allocations: 176.3 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-05/0.289, allocations: 184.2 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.338e-05/0.2891, allocations: 180.3 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.2893, allocations: 405.2 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/0.2893, allocations: 104.9 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.2894, allocations: 105 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.5e-05/0.2894, allocations: 180.2 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.2895, allocations: 188.3 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.383e-05/0.2896, allocations: 180.2 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.446e-05/0.2896, allocations: 184.4 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.2898, allocations: 311.7 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.2899, allocations: 186.1 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.2899, allocations: 180.3 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.29, allocations: 104.9 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.2901, allocations: 180.3 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.2901, allocations: 104.9 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.2902, allocations: 75.28 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2902, allocations: 96 / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002116/0.2904, allocations: 4 kB / 1.075 GB, free: 3.34 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.00014/0.2905, allocations: 182.5 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.721e-05/0.2906, allocations: 0 / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2906, allocations: 0 / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.2906, allocations: 4 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.291, allocations: 463.7 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.2911, allocations: 152.2 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.2914, allocations: 0.6767 MB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.09e-05/0.2914, allocations: 0 / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.2914, allocations: 11.44 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2914, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of Templates: time 0.001802/0.2932, allocations: 186.8 kB / 1.076 GB, free: 1.66 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