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.007361/0.007362, allocations: 100.3 kB / 15.73 MB, free: 6.059 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.00176/0.00176, allocations: 192 kB / 16.67 MB, free: 5.969 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.421/2.421, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.81 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.853, allocations: 151.6 MB / 1.167 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001686/0.8547, allocations: 0.5562 MB / 1.167 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.8556, allocations: 0.7805 MB / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.8557, allocations: 0 / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.8557, allocations: 0 / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.8557, allocations: 0 / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.856, allocations: 23.92 kB / 1.168 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.856, allocations: 3.984 kB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.8561, allocations: 3.984 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.375e-05/0.8561, allocations: 0 / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.8563, allocations: 23.98 kB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.8563, allocations: 0 / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-06/0.8563, allocations: 0 / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.8563, allocations: 0 / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.8563, allocations: 7.984 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.45e-05/0.8564, allocations: 3.938 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8564, allocations: 0 / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8564, allocations: 0 / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.8564, allocations: 0 / 1.168 GB, free: 2.336 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.0002777/0.8567, allocations: 311.6 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.8567, allocations: 8.625 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.8568, allocations: 0.9375 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.8569, allocations: 170.8 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.8569, allocations: 384 / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.8569, allocations: 4.375 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.469e-05/0.857, allocations: 30.27 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.857, allocations: 192 / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.857, allocations: 3.938 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.857, allocations: 0 / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.857, allocations: 8 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.8573, allocations: 375.5 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.8574, allocations: 181 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.8575, allocations: 84.17 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.8575, allocations: 83.27 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.8575, allocations: 105.8 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.8575, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.872e-05/0.8576, allocations: 29.64 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.8577, allocations: 126.7 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.8577, allocations: 101.8 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.8578, allocations: 25.7 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.8578, allocations: 84.27 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-06/0.8578, allocations: 3.984 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.8578, allocations: 13.72 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.8579, allocations: 310.8 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.858, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.858, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.858, allocations: 12.86 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.858, allocations: 4.062 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.913e-05/0.8581, allocations: 37.58 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.8581, allocations: 7.938 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8581, allocations: 0 / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.8581, allocations: 0 / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.8582, allocations: 7.984 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8582, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.044e-05/0.8582, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.8582, allocations: 0 / 1.17 GB, free: 20 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.0001046/0.8583, allocations: 193.1 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.8584, allocations: 105 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.8584, allocations: 108 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/0.8585, allocations: 184.2 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-05/0.8586, allocations: 184.2 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-05/0.8587, allocations: 176.3 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.8589, allocations: 401.2 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/0.8589, allocations: 108.9 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.859, allocations: 109 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.478e-05/0.859, allocations: 180.2 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.8591, allocations: 176.3 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.417e-05/0.8591, allocations: 180.3 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.326e-05/0.8592, allocations: 188.2 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.8593, allocations: 315.7 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.8594, allocations: 178.1 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.8595, allocations: 180.2 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.8596, allocations: 109.2 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.8596, allocations: 184.3 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.8597, allocations: 109 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.05e-05/0.8597, allocations: 75.28 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8597, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002004/0.8599, allocations: 0 / 1.173 GB, free: 12.42 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.0001334/0.8601, allocations: 186.6 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.857e-05/0.8601, allocations: 4 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8601, allocations: 3.938 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.8601, allocations: 0 / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.8605, allocations: 459.6 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.8606, allocations: 155.4 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.8609, allocations: 0.6729 MB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.165e-05/0.8609, allocations: 3.938 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.8609, allocations: 7.438 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8609, allocations: 0 / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.001886/0.8628, allocations: 180.1 kB / 1.175 GB, free: 10.75 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