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.001594/0.001594, 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.001834/0.001834, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.387/2.387, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.8121 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.7061, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001957/0.7081, allocations: 0.62 MB / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.7091, allocations: 0.7674 MB / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.7091, allocations: 1.375 kB / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.7091, allocations: 0 / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.7092, allocations: 0 / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.7095, allocations: 22.78 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.073e-05/0.7095, allocations: 9.312 kB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.7096, allocations: 1.375 kB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.7096, allocations: 1.375 kB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.7098, allocations: 18.98 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.7098, allocations: 0 / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-06/0.7098, allocations: 0 / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.7098, allocations: 5.359 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.7098, allocations: 4 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.747e-05/0.7099, allocations: 0 / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7099, allocations: 1.375 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7099, allocations: 0 / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7099, allocations: 0 / 0.9506 GB, free: 7.988 MB / 0.7169 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.0002178/0.7101, allocations: 310.3 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7102, allocations: 9.625 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.7102, allocations: 0.9375 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.25e-05/0.7103, allocations: 165.7 kB / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.7103, allocations: 4.375 kB / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.7103, allocations: 1.75 kB / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.182e-05/0.7104, allocations: 35.62 kB / 0.9511 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.7104, allocations: 192 / 0.9511 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.7104, allocations: 3.938 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7105, allocations: 0 / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.7105, allocations: 5.312 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.7107, allocations: 378.2 kB / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.7108, allocations: 174.5 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.7108, allocations: 80.14 kB / 0.9517 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.7108, allocations: 80.64 kB / 0.9517 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.7109, allocations: 109.8 kB / 0.9519 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.883e-06/0.7109, allocations: 4 kB / 0.9519 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.967e-05/0.7109, allocations: 27.08 kB / 0.9519 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.711, allocations: 126.7 kB / 0.952 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.7111, allocations: 100.5 kB / 0.9521 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.7111, allocations: 25.7 kB / 0.9521 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.7111, allocations: 80.14 kB / 0.9522 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.7111, allocations: 1.375 kB / 0.9522 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.7111, allocations: 11.09 kB / 0.9522 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.7112, allocations: 320.3 kB / 0.9525 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.7112, allocations: 0 / 0.9525 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.7112, allocations: 1.375 kB / 0.9525 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.7112, allocations: 10.2 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7112, allocations: 1.375 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.121e-05/0.7113, allocations: 37.77 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7114, allocations: 5.5 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7114, allocations: 96 / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7114, allocations: 4 kB / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.7115, allocations: 2.75 kB / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7115, allocations: 0 / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.7115, allocations: 0 / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.7115, allocations: 1.375 kB / 0.9526 GB, free: 5.73 MB / 0.7169 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.812e-05/0.7116, allocations: 194.4 kB / 0.9528 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.7116, allocations: 110.3 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.7116, allocations: 111.9 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.7117, allocations: 185.6 kB / 0.9532 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.772e-05/0.7117, allocations: 177.6 kB / 0.9533 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.7117, allocations: 183.1 kB / 0.9535 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.7119, allocations: 402.5 kB / 0.9539 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.7119, allocations: 101 kB / 0.954 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.7119, allocations: 126.2 kB / 0.9541 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.599e-05/0.7119, allocations: 177.6 kB / 0.9543 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.712, allocations: 180.2 kB / 0.9544 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-05/0.712, allocations: 181.6 kB / 0.9546 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.721e-05/0.712, allocations: 177.6 kB / 0.9548 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.079e-05/0.7121, allocations: 314.4 kB / 0.9551 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.7122, allocations: 179.5 kB / 0.9553 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.7122, allocations: 181.9 kB / 0.9554 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.7123, allocations: 106.4 kB / 0.9555 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.7123, allocations: 197.6 kB / 0.9557 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.7123, allocations: 101 kB / 0.9558 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.91e-05/0.7123, allocations: 76.66 kB / 0.9559 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7124, allocations: 0 / 0.9559 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002224/0.7126, allocations: 1.375 kB / 0.9559 GB, free: 2.141 MB / 0.7169 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.00013/0.7127, allocations: 176.5 kB / 0.9561 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.279e-05/0.7128, allocations: 1.469 kB / 0.9561 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7128, allocations: 9.375 kB / 0.9561 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.7128, allocations: 0 / 0.9561 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.7131, allocations: 461 kB / 0.9565 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.7132, allocations: 152.5 kB / 0.9566 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.66e-05/0.7133, allocations: 0.6741 MB / 0.9573 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.7133, allocations: 4 kB / 0.9573 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.7134, allocations: 8.812 kB / 0.9573 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7134, allocations: 0 / 0.9573 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of Templates: time 0.001931/0.7153, allocations: 178.4 kB / 0.9575 GB, free: 0.5742 MB / 0.7169 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