Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.002052/0.002052, allocations: 110 kB / 19.7 MB, free: 2.25 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.002005/0.002005, allocations: 221.7 kB / 23.01 MB, free: 5.082 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.315/3.315, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") [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.002059/0.002059, allocations: 64.92 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4451, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.003139/0.4482, allocations: 1.32 MB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.4493, allocations: 490.8 kB / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.4493, allocations: 0 / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.4494, allocations: 7.938 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.4495, allocations: 15.91 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.4498, allocations: 31.91 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.4499, allocations: 19.91 kB / 1.356 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.45, allocations: 12 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.45, allocations: 11.92 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.4501, allocations: 12 kB / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4501, allocations: 3.984 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.4503, allocations: 47.88 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.4503, allocations: 15.92 kB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.4504, allocations: 19.88 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.4505, allocations: 55.75 kB / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4506, allocations: 0 / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4506, allocations: 0 / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4506, allocations: 4 kB / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004797/0.451, allocations: 279.7 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4511, allocations: 8.031 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.4511, allocations: 4.922 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.4513, allocations: 126.4 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4513, allocations: 4.375 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.4513, allocations: 4.312 kB / 1.357 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.4515, allocations: 51.72 kB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4515, allocations: 0 / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.4515, allocations: 0 / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4515, allocations: 0 / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.4515, allocations: 7.938 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.4517, allocations: 141.7 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.751e-05/0.4518, allocations: 41.2 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.4518, allocations: 17.78 kB / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.4518, allocations: 0 / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.4519, allocations: 42.44 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4519, allocations: 0 / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.452, allocations: 53.58 kB / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.4521, allocations: 81.36 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.4522, allocations: 140.2 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4523, allocations: 25.7 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.4523, allocations: 88.09 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.4523, allocations: 11.89 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.4524, allocations: 25.7 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4525, allocations: 318.8 kB / 1.358 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.4526, allocations: 24 kB / 1.358 GB, free: 4.215 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.4526, allocations: 27.98 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.4527, allocations: 46.97 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4527, allocations: 3.938 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001478/0.4528, allocations: 101.6 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4529, allocations: 11.94 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.4529, allocations: 0 / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4529, allocations: 0 / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.4529, allocations: 4 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4529, allocations: 0 / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.453, allocations: 7.891 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.453, allocations: 8 kB / 1.358 GB, free: 4 MB / 1.045 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001011/0.4531, allocations: 121.7 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.4531, allocations: 3.938 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.4531, allocations: 7.469 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4531, allocations: 4.094 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4531, allocations: 11.92 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4531, allocations: 0 / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.4533, allocations: 136.7 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4533, allocations: 0 / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.4533, allocations: 8 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4533, allocations: 3.938 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4533, allocations: 0 / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4533, allocations: 3.938 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4533, allocations: 4 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.295e-05/0.4534, allocations: 65.98 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.4534, allocations: 19.92 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.4534, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.4534, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.4535, allocations: 4 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.4535, allocations: 0 / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.28e-05/0.4535, allocations: 103.2 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4535, allocations: 0 / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002133/0.4537, allocations: 12 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002049/0.4539, allocations: 127.1 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.4541, allocations: 73.67 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4541, allocations: 0 / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.4541, allocations: 4 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.4543, allocations: 4 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.4546, allocations: 169.5 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.455, allocations: 0.6847 MB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.455, allocations: 11.44 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.455, allocations: 0 / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of Templates: time 0.00254/0.4575, allocations: 0.7416 MB / 1.36 GB, free: 1.551 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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: 11.988898455019807]