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.001503/0.001503, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001583/0.001583, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.308/2.308, allocations: 390.2 MB / 0.665 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 66.94 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.284, allocations: 140.4 MB / 0.9498 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002343/0.2864, allocations: 0.6067 MB / 0.9504 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2874, allocations: 0.7827 MB / 0.9512 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.2875, allocations: 3.938 kB / 0.9512 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.2875, allocations: 3.938 kB / 0.9512 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.2875, allocations: 0 / 0.9512 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2878, allocations: 15.94 kB / 0.9512 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.414e-05/0.2879, allocations: 7.984 kB / 0.9512 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.288, allocations: 3.984 kB / 0.9512 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.288, allocations: 4 kB / 0.9512 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.2881, allocations: 15.98 kB / 0.9512 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.2881, allocations: 0 / 0.9512 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.937e-06/0.2882, allocations: 0 / 0.9512 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.2882, allocations: 0 / 0.9512 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.2882, allocations: 4 kB / 0.9512 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.535e-05/0.2882, allocations: 3.984 kB / 0.9512 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2882, allocations: 0 / 0.9512 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2882, allocations: 0 / 0.9512 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2883, allocations: 0 / 0.9512 GB, free: 7.668 MB / 0.7325 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.0002933/0.2886, allocations: 311.6 kB / 0.9515 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2886, allocations: 8.031 kB / 0.9515 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.2886, allocations: 0.9375 kB / 0.9515 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.2887, allocations: 168.4 kB / 0.9517 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2888, allocations: 4.375 kB / 0.9517 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2888, allocations: 384 / 0.9517 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.953e-05/0.2889, allocations: 30.2 kB / 0.9517 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2889, allocations: 192 / 0.9517 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2889, allocations: 3.938 kB / 0.9517 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2889, allocations: 4 kB / 0.9517 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.2889, allocations: 3.938 kB / 0.9517 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.2893, allocations: 383.4 kB / 0.9521 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/0.2894, allocations: 177 kB / 0.9523 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.2894, allocations: 80.14 kB / 0.9524 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.2895, allocations: 79.28 kB / 0.9524 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.2895, allocations: 105.8 kB / 0.9525 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.2895, allocations: 0 / 0.9525 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.553e-05/0.2896, allocations: 29.7 kB / 0.9526 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.2897, allocations: 130.7 kB / 0.9527 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.2898, allocations: 89.86 kB / 0.9528 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2898, allocations: 25.7 kB / 0.9528 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.2898, allocations: 84.08 kB / 0.9529 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-06/0.2898, allocations: 3.984 kB / 0.9529 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.2899, allocations: 17.72 kB / 0.9529 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.29, allocations: 315 kB / 0.9532 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.29, allocations: 0 / 0.9532 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.29, allocations: 3.938 kB / 0.9532 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.2901, allocations: 8.859 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2901, allocations: 0 / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.798e-05/0.2902, allocations: 33.64 kB / 0.9532 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2902, allocations: 8 kB / 0.9532 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2902, allocations: 0 / 0.9532 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2902, allocations: 4.094 kB / 0.9532 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.2903, allocations: 7.922 kB / 0.9533 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2903, allocations: 0 / 0.9533 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.2903, allocations: 0 / 0.9533 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.2903, allocations: 4 kB / 0.9533 GB, free: 5.355 MB / 0.7325 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.314e-05/0.2904, allocations: 189.1 kB / 0.9534 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.2905, allocations: 101 kB / 0.9535 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.2906, allocations: 115.9 kB / 0.9536 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.199e-05/0.2906, allocations: 188.2 kB / 0.9538 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.6e-05/0.2907, allocations: 176.3 kB / 0.954 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-05/0.2908, allocations: 184.2 kB / 0.9542 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.291, allocations: 401.2 kB / 0.9546 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-05/0.291, allocations: 105 kB / 0.9547 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.2911, allocations: 112.9 kB / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.964e-05/0.2911, allocations: 184.2 kB / 0.9549 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.2912, allocations: 184.2 kB / 0.9551 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.667e-05/0.2913, allocations: 180.5 kB / 0.9553 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.845e-05/0.2913, allocations: 180.2 kB / 0.9555 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.2915, allocations: 315.8 kB / 0.9558 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.2915, allocations: 182 kB / 0.9559 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.2916, allocations: 180.2 kB / 0.9561 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.2917, allocations: 108.9 kB / 0.9562 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.2917, allocations: 176.3 kB / 0.9564 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.2918, allocations: 105 kB / 0.9565 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.2918, allocations: 75.28 kB / 0.9565 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2918, allocations: 4 kB / 0.9566 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002054/0.292, allocations: 0 / 0.9566 GB, free: 1.758 MB / 0.7325 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.0001441/0.2922, allocations: 186.5 kB / 0.9567 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.8e-05/0.2923, allocations: 4 kB / 0.9567 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2923, allocations: 4.156 kB / 0.9567 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.2923, allocations: 0 / 0.9567 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2926, allocations: 455.6 kB / 0.9572 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.2928, allocations: 182 kB / 0.9573 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2931, allocations: 0.6766 MB / 0.958 GB, free: 200 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.2931, allocations: 11.44 kB / 0.958 GB, free: 188 kB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.2931, allocations: 3.938 kB / 0.958 GB, free: 184 kB / 0.7325 GB Notification: Performance of Templates: time 0.0018/0.2949, allocations: 324 kB / 0.9583 GB, free: 15.86 MB / 0.7481 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