Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.006961/0.006961, allocations: 97.83 kB / 15.73 MB, free: 6.047 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.001631/0.001631, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.771/2.771, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 64.12 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 159.9 MB / 1.226 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001599/0.2951, allocations: 0.5507 MB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.296, allocations: 0.7844 MB / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.502e-05/0.296, allocations: 0 / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.2961, allocations: 0 / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.2961, allocations: 0 / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2963, allocations: 15.92 kB / 1.227 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.978e-05/0.2964, allocations: 7.984 kB / 1.227 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.2964, allocations: 4 kB / 1.227 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.2965, allocations: 3.938 kB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2966, allocations: 19.98 kB / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.2966, allocations: 0 / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-06/0.2966, allocations: 0 / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-06/0.2966, allocations: 0 / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.2966, allocations: 0 / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 3.881e-05/0.2967, allocations: 3.984 kB / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2967, allocations: 0 / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2967, allocations: 3.938 kB / 1.227 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2967, allocations: 8 kB / 1.227 GB, free: 7.746 MB / 0.9825 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.0002767/0.297, allocations: 315.5 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.297, allocations: 12.06 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.2971, allocations: 0.9375 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.2972, allocations: 160.4 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.2972, allocations: 4.375 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.2972, allocations: 384 / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.2973, allocations: 30.2 kB / 1.228 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2973, allocations: 4.188 kB / 1.228 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2973, allocations: 7.938 kB / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2973, allocations: 0 / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.2973, allocations: 0 / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.2976, allocations: 379.5 kB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.2977, allocations: 173.1 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.2978, allocations: 88.08 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2978, allocations: 75.28 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2978, allocations: 109.8 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2978, allocations: 0 / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.378e-05/0.2979, allocations: 29.7 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.298, allocations: 130.7 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.298, allocations: 93.86 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2981, allocations: 25.7 kB / 1.229 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.2981, allocations: 80.14 kB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-06/0.2981, allocations: 4 kB / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.2981, allocations: 9.719 kB / 1.229 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.2982, allocations: 314.8 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.2982, allocations: 0 / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.2983, allocations: 7.938 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.2983, allocations: 9.047 kB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2983, allocations: 0 / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.351e-05/0.2984, allocations: 37.62 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2984, allocations: 8 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2984, allocations: 0 / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2984, allocations: 3.938 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.2985, allocations: 0 / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2985, allocations: 3.938 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.2985, allocations: 4 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2985, allocations: 4.031 kB / 1.229 GB, free: 5.434 MB / 0.9825 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 8.106e-05/0.2986, allocations: 193.5 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.2987, allocations: 101 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.2987, allocations: 112.1 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.2988, allocations: 180.2 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.2988, allocations: 180.3 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-05/0.2989, allocations: 184.2 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.2992, allocations: 409.2 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/0.2993, allocations: 101 kB / 1.23 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.2994, allocations: 104.9 kB / 1.231 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.542e-05/0.2994, allocations: 176.4 kB / 1.231 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.2995, allocations: 188.2 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.598e-05/0.2996, allocations: 184.3 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.317e-05/0.2996, allocations: 180.3 kB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.2998, allocations: 303.7 kB / 1.232 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.2998, allocations: 194 kB / 1.232 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.2999, allocations: 184.3 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.3, allocations: 101 kB / 1.232 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.3, allocations: 180.2 kB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3001, allocations: 101 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.3001, allocations: 79.28 kB / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3001, allocations: 4.094 kB / 1.232 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002188/0.3003, allocations: 3.984 kB / 1.232 GB, free: 1.84 MB / 0.9825 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.0001265/0.3005, allocations: 176.6 kB / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.331e-05/0.3005, allocations: 11.94 kB / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3006, allocations: 0 / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3006, allocations: 0 / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3009, allocations: 470.8 kB / 1.233 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.3011, allocations: 158.3 kB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.3013, allocations: 0.6729 MB / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.078e-05/0.3013, allocations: 0 / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.3014, allocations: 7.438 kB / 1.234 GB, free: 304 kB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3014, allocations: 0 / 1.234 GB, free: 304 kB / 0.9825 GB Notification: Performance of Templates: time 0.001856/0.3032, allocations: 197.7 kB / 1.234 GB, free: 156 kB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches