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.001537/0.001537, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001917/0.001917, allocations: 191 kB / 16.25 MB, free: 6.641 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.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.532/2.532, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5853, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001661/0.587, allocations: 0.6228 MB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.5878, allocations: 0.7728 MB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.5878, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.5878, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.93e-06/0.5878, allocations: 3.938 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.5881, allocations: 23.91 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.799e-05/0.5882, allocations: 4 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.5882, allocations: 4 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.3e-05/0.5882, allocations: 0 / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.5884, allocations: 19.98 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.5884, allocations: 0 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.5884, allocations: 0 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.5884, allocations: 3.984 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.5884, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 2.849e-05/0.5884, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5885, allocations: 8 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5885, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5885, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.7637 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.0002456/0.5887, allocations: 315.5 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5888, allocations: 12.06 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.5888, allocations: 0.9375 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.5889, allocations: 160.4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.5889, allocations: 384 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.5889, allocations: 384 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.589, allocations: 38.2 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.589, allocations: 192 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.589, allocations: 3.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.589, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.589, allocations: 4 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.5893, allocations: 379.4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.5894, allocations: 181 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.5894, allocations: 80.14 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.5894, allocations: 75.28 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.5895, allocations: 109.9 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5895, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.34e-05/0.5896, allocations: 25.7 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.5896, allocations: 134.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.5897, allocations: 97.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.5897, allocations: 25.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.5897, allocations: 84.14 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.5897, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.5898, allocations: 9.719 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.5899, allocations: 310.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.5899, allocations: 4.125 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-06/0.5899, allocations: 4.031 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.5899, allocations: 8.859 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5899, allocations: 3.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.418e-05/0.59, allocations: 45.62 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.59, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.59, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5901, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.5901, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5901, allocations: 4.094 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.097e-05/0.5901, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.5901, allocations: 3.938 kB / 1.02 GB, free: 14.97 MB / 0.7794 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 7.822e-05/0.5902, allocations: 185.6 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.5903, allocations: 109 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.5903, allocations: 108 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/0.5904, allocations: 184.3 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-05/0.5904, allocations: 176.3 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.248e-05/0.5905, allocations: 184.2 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.5907, allocations: 401.2 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.5907, allocations: 104.9 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.5908, allocations: 101 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.141e-05/0.5908, allocations: 188.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.5909, allocations: 184.2 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.974e-05/0.5909, allocations: 180.3 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.194e-05/0.591, allocations: 184.2 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.5911, allocations: 307.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.5912, allocations: 190 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.5912, allocations: 180.3 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.5913, allocations: 105.2 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.5914, allocations: 176.3 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.5914, allocations: 113 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.5915, allocations: 83.27 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.342e-06/0.5915, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000204/0.5917, allocations: 3.938 kB / 1.024 GB, free: 11.38 MB / 0.7794 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.0001232/0.5918, allocations: 178.5 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.304e-05/0.5919, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5919, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.5919, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.5922, allocations: 463.8 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001652/0.5924, allocations: 152.3 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.5926, allocations: 0.6767 MB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.23e-05/0.5926, allocations: 0 / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.5926, allocations: 7.438 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5926, allocations: 3.938 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of Templates: time 0.001725/0.5944, allocations: 187.3 kB / 1.025 GB, free: 9.707 MB / 0.7794 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