Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 215.5 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.577/3.577, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67 kB / 1.186 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.503, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002816/0.5058, allocations: 1.282 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.5078, allocations: 0.8582 MB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.5078, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.5078, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.508, allocations: 31.94 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.5089, allocations: 259.4 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.509, allocations: 31.91 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.5091, allocations: 3.984 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.5091, allocations: 19.92 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.5093, allocations: 55.92 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.5093, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.5099, allocations: 299.5 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.5099, allocations: 11.98 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.51, allocations: 11.88 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.5104, allocations: 247.3 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5104, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5104, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5104, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005013/0.5109, allocations: 309.7 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5109, allocations: 12.03 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.511, allocations: 4.891 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.5111, allocations: 122.4 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5111, allocations: 4.375 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.5111, allocations: 384 / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5113, allocations: 58 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.5113, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5113, allocations: 4 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.5113, allocations: 11.98 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.5114, allocations: 31.97 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.5116, allocations: 125.2 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.5117, allocations: 42.56 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.5117, allocations: 40.88 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.5117, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5118, allocations: 30.56 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5118, allocations: 0 / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0002469/0.512, allocations: 134 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.5121, allocations: 59.39 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5122, allocations: 125.8 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5122, allocations: 29.64 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5123, allocations: 100.1 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.5124, allocations: 23.7 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.5124, allocations: 25.7 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5126, allocations: 322.9 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.5126, allocations: 23.98 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.5127, allocations: 31.92 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.885e-05/0.5127, allocations: 72.77 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5128, allocations: 0 / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001185/0.5129, allocations: 101.6 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5129, allocations: 8 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5129, allocations: 3.938 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5129, allocations: 0 / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.5129, allocations: 0 / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5129, allocations: 4.062 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.5129, allocations: 11.95 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5129, allocations: 0 / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001042/0.5131, allocations: 121.8 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.5131, allocations: 3.953 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.5131, allocations: 16.3 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.5131, allocations: 8 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5131, allocations: 4 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.5131, allocations: 0 / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5132, allocations: 117.3 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5132, allocations: 96 / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.5132, allocations: 11.94 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5132, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5133, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5133, allocations: 3.938 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5133, allocations: 0 / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.5134, allocations: 129 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.5134, allocations: 11.89 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.5134, allocations: 3.984 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.5134, allocations: 3.938 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.5135, allocations: 0 / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.5135, allocations: 4.031 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.356e-05/0.5136, allocations: 103.3 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5136, allocations: 0 / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003063/0.5139, allocations: 75.84 kB / 1.369 GB, free: 7.746 MB / 1.061 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003519/0.5142, allocations: 168.9 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.5143, allocations: 67.91 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5144, allocations: 0 / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.5144, allocations: 28 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.5145, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.5149, allocations: 202.2 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.955e-05/0.515, allocations: 87.3 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.5151, allocations: 4 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.5151, allocations: 11.44 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.5151, allocations: 0 / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of Templates: time 0.005042/0.5202, allocations: 1.498 MB / 1.371 GB, free: 5.688 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.104584095999599]