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.001185/0.001185, allocations: 109.4 kB / 16.41 MB, free: 6.496 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.001316/0.001316, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 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.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8552, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001718/0.8569, allocations: 0.5577 MB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.8579, allocations: 0.7783 MB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.8579, allocations: 0 / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.8579, allocations: 1.344 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.8579, allocations: 0 / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.8582, allocations: 22.7 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.905e-05/0.8583, allocations: 1.875 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.8583, allocations: 1.969 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.348e-05/0.8583, allocations: 0 / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.8585, allocations: 23.95 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.8585, allocations: 0 / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-06/0.8585, allocations: 3.938 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.8585, allocations: 5.297 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.8585, allocations: 0 / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.008e-05/0.8586, allocations: 0.8125 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8586, allocations: 0.7969 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8586, allocations: 0 / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8586, allocations: 4.875 kB / 1.09 GB, free: 4.555 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.0002112/0.8588, allocations: 308.3 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8589, allocations: 8.719 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.8589, allocations: 1.906 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.344e-05/0.859, allocations: 161.5 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.859, allocations: 1.438 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.859, allocations: 6.016 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.781e-05/0.8591, allocations: 27.55 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8591, allocations: 4.906 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.8591, allocations: 3.938 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8591, allocations: 0.8438 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.8591, allocations: 5.656 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.8593, allocations: 372.2 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.8594, allocations: 182.1 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.8594, allocations: 86.03 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.8595, allocations: 75.28 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.8595, allocations: 107.7 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.8595, allocations: 0 / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.938e-05/0.8596, allocations: 27.84 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.8596, allocations: 126.7 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.8597, allocations: 104.5 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.8597, allocations: 26.55 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.503e-05/0.8597, allocations: 84.08 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.8597, allocations: 0.9375 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.8597, allocations: 11.83 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.8598, allocations: 312.2 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-06/0.8598, allocations: 4.688 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.8598, allocations: 5.562 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.877e-05/0.8598, allocations: 7.047 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.8598, allocations: 0.6094 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.102e-05/0.8599, allocations: 39.86 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8599, allocations: 5.562 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8599, allocations: 0 / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.8599, allocations: 5.766 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.86, allocations: 1.094 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.86, allocations: 1.094 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.86, allocations: 4.609 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.86, allocations: 1.062 kB / 1.092 GB, free: 2.309 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 5.547e-05/0.8601, allocations: 187.1 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.8601, allocations: 102.8 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.8602, allocations: 110.6 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.8602, allocations: 186.2 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.121e-05/0.8602, allocations: 181.9 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/0.8603, allocations: 182 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.8605, allocations: 405 kB / 1.093 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-05/0.8606, allocations: 105.5 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.8606, allocations: 106.9 kB / 1.094 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.986e-05/0.8607, allocations: 178.2 kB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/0.8608, allocations: 186.2 kB / 1.094 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.819e-05/0.8609, allocations: 176.9 kB / 1.094 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.427e-05/0.8609, allocations: 182.5 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.8611, allocations: 308.9 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.8612, allocations: 188.6 kB / 1.095 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.8612, allocations: 178.2 kB / 1.095 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.8613, allocations: 106.8 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.8614, allocations: 178.8 kB / 1.095 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.8615, allocations: 110.1 kB / 1.095 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.8615, allocations: 80.38 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.8615, allocations: 7.875 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002219/0.8617, allocations: 2.281 kB / 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.0001559/0.8619, allocations: 177.1 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.862, allocations: 2.906 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.862, allocations: 0 / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.862, allocations: 1.062 kB / 1.096 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.0003944/0.8624, allocations: 463 kB / 1.096 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.8626, allocations: 179.9 kB / 1.096 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.8628, allocations: 0.671 MB / 1.097 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.8629, allocations: 16.38 kB / 1.097 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8629, allocations: 0 / 1.097 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.001636/0.8645, allocations: 324.3 kB / 1.097 GB, free: 13.21 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/jenkins1/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