Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007722/0.007722, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.002097/0.002097, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.779, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001543/0.7806, allocations: 0.5536 MB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.7814, allocations: 0.7746 MB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.7814, allocations: 0.75 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.7814, allocations: 0 / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.7814, allocations: 1.094 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.7817, allocations: 22.23 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.449e-05/0.7817, allocations: 0.9062 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.7818, allocations: 6.75 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.235e-05/0.7818, allocations: 0 / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.7819, allocations: 15.89 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.7819, allocations: 3.938 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-06/0.7819, allocations: 0.8438 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.7819, allocations: 3.984 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.432e-05/0.782, allocations: 1.031 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 3.328e-05/0.782, allocations: 4.703 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.782, allocations: 4 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.782, allocations: 1.125 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.782, allocations: 0 / 1.089 GB, free: 4.566 MB / 0.8575 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.0001696/0.7822, allocations: 308.7 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7822, allocations: 12.88 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.7823, allocations: 6.547 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.33e-05/0.7823, allocations: 161 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.7823, allocations: 384 / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.7823, allocations: 5.438 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.577e-05/0.7824, allocations: 28.73 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.7824, allocations: 1.594 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.7824, allocations: 3.938 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7824, allocations: 0 / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.7825, allocations: 2.109 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.7826, allocations: 380 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.7827, allocations: 182.6 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.7827, allocations: 80.14 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.7827, allocations: 76.62 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.7828, allocations: 107.6 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.7828, allocations: 3.984 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.817e-05/0.7828, allocations: 35.48 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.7829, allocations: 126.7 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.7829, allocations: 92.38 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-06/0.7829, allocations: 30.95 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.606e-05/0.783, allocations: 84.66 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.783, allocations: 0 / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.783, allocations: 13.14 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.783, allocations: 315.6 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.783, allocations: 1.344 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.783, allocations: 1.969 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.939e-05/0.7831, allocations: 5.891 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7831, allocations: 0 / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.376e-05/0.7831, allocations: 44.77 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.7832, allocations: 5.703 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7832, allocations: 0 / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.7832, allocations: 0 / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.7832, allocations: 7.281 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7832, allocations: 0 / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.031e-05/0.7833, allocations: 0.75 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.7833, allocations: 5.047 kB / 1.091 GB, free: 2.312 MB / 0.8575 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 4.368e-05/0.7833, allocations: 186.7 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.7834, allocations: 102.8 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.7834, allocations: 114.7 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.7834, allocations: 182 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.7834, allocations: 186 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.7835, allocations: 178 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.7837, allocations: 400.4 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.7837, allocations: 110.3 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.7838, allocations: 106.5 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.515e-05/0.7838, allocations: 186.2 kB / 1.093 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.7839, allocations: 178.2 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.616e-05/0.784, allocations: 177.9 kB / 1.093 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.208e-05/0.784, allocations: 182 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.7842, allocations: 317.5 kB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.7842, allocations: 179.3 kB / 1.094 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.7843, allocations: 178.8 kB / 1.094 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.7844, allocations: 107.2 kB / 1.094 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.7845, allocations: 178.2 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.7845, allocations: 114.9 kB / 1.095 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.7845, allocations: 83.83 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7845, allocations: 1.25 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002088/0.7848, allocations: 0 / 1.095 GB, free: 14.75 MB / 0.8731 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.0001371/0.7849, allocations: 178.1 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.919e-05/0.785, allocations: 2.781 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.785, allocations: 160 / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.785, allocations: 4.969 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.7853, allocations: 461.3 kB / 1.095 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.7855, allocations: 157.1 kB / 1.095 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.7857, allocations: 0.6712 MB / 1.096 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.668e-06/0.7858, allocations: 0 / 1.096 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.7858, allocations: 8.375 kB / 1.096 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.7858, allocations: 4 kB / 1.096 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.001796/0.7876, allocations: 177.2 kB / 1.096 GB, free: 13.23 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches