Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001446/0.001446, 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.001617/0.001617, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.591/1.591, 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.682/3.682, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [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.002184/0.002184, allocations: 62.94 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4822, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001971/0.4842, allocations: 0.5793 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.4857, allocations: 1.007 MB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.4858, allocations: 0 / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.4858, allocations: 4 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.4865, allocations: 95.75 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.269e-05/0.4866, allocations: 19.94 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.644e-05/0.4866, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.4867, allocations: 7.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.4867, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.4869, allocations: 39.91 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.4869, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.4871, allocations: 79.83 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.4871, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.4872, allocations: 11.94 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.4873, allocations: 67.86 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4873, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4873, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4873, allocations: 4 kB / 1.366 GB, free: 11.62 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003713/0.4877, allocations: 254.3 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4877, allocations: 8.031 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.4878, allocations: 8.938 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.4879, allocations: 106.5 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4879, allocations: 384 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.4879, allocations: 8.359 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.587e-05/0.488, allocations: 33.83 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.488, allocations: 3.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.488, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.488, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.488, allocations: 7.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.4884, allocations: 339.2 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4885, allocations: 173.1 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.4886, allocations: 80.14 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.4886, allocations: 79.28 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/0.4887, allocations: 109.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4887, allocations: 4 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.539e-05/0.4888, allocations: 25.7 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.4888, allocations: 130.7 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.489, allocations: 105.8 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.489, allocations: 25.7 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.489, allocations: 80.14 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.489, allocations: 0 / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.4891, allocations: 13.72 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4892, allocations: 314.8 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.4892, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.4892, allocations: 4 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.4893, allocations: 12.8 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4893, allocations: 3.938 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.865e-05/0.4894, allocations: 33.69 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4894, allocations: 4 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4894, allocations: 3.938 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4894, allocations: 4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-05/0.4894, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4894, allocations: 3.984 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.4894, allocations: 4.094 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.4894, allocations: 0 / 1.368 GB, free: 9.492 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: 1 (cmp) * 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 0.0001212/0.4896, allocations: 189.1 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.4896, allocations: 114 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.4897, allocations: 104.1 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.99e-05/0.4898, allocations: 184.2 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.705e-05/0.4899, allocations: 180.3 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.304e-05/0.49, allocations: 176.3 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.4902, allocations: 368.7 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-05/0.4903, allocations: 105 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.4903, allocations: 108.9 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.299e-05/0.4904, allocations: 176.3 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.4905, allocations: 180.4 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001233/0.4906, allocations: 188.2 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001136/0.4908, allocations: 184.3 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.491, allocations: 307.7 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.4911, allocations: 109 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4912, allocations: 180.2 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4913, allocations: 105 kB / 1.37 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.4914, allocations: 180.2 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.4915, allocations: 109 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.4916, allocations: 87.47 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4916, allocations: 0 / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003085/0.4919, allocations: 23.88 kB / 1.371 GB, free: 6.016 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 (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.000524/0.4924, allocations: 233.6 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.846e-05/0.4925, allocations: 7.938 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4925, allocations: 4.062 kB / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.4925, allocations: 0 / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.493, allocations: 460.7 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.4935, allocations: 200.2 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.44e-05/0.4936, allocations: 63.2 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.4936, allocations: 0 / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.4936, allocations: 7.438 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.4936, allocations: 3.938 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of Templates: time 0.003745/0.4974, allocations: 0.673 MB / 1.372 GB, free: 4.375 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.181875189766288]