Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001076/0.001076, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002847, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001124/0.001124, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.00284, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9227/0.9227, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0912/1.014, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.754/1.754, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.436/2.19, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.829e-05, allocations: 6.906 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001732/0.00175, allocations: 0.6509 MB / 0.7303 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.0029, allocations: 1.042 MB / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.002917, allocations: 4 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-06/0.002921, allocations: 0 / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.003379, allocations: 90.86 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.277e-05/0.003412, allocations: 4 kB / 0.7314 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.036e-05/0.003463, allocations: 1.531 kB / 0.7315 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.003502, allocations: 5.156 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.003551, allocations: 8.641 kB / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.003738, allocations: 44.58 kB / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.003748, allocations: 0 / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.003934, allocations: 84.5 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.003947, allocations: 2.359 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.342e-05/0.00396, allocations: 4.781 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.004117, allocations: 69.12 kB / 0.7317 GB, free: 2.402 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.004129, allocations: 0.625 kB / 0.7317 GB, free: 2.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00413, allocations: 0 / 0.7317 GB, free: 2.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.004144, allocations: 4.906 kB / 0.7317 GB, free: 2.398 MB / 0.698 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.0003173/0.004461, allocations: 241.2 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.004494, allocations: 8.719 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.004522, allocations: 0.9375 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.291e-05/0.004615, allocations: 108.4 kB / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.004624, allocations: 384 / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.004633, allocations: 384 / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.45e-05/0.004698, allocations: 30.8 kB / 0.732 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004705, allocations: 192 / 0.732 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.004714, allocations: 9.688 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004719, allocations: 0 / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-06/0.004727, allocations: 3.984 kB / 0.7321 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.004976, allocations: 294.8 kB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.364e-05/0.00505, allocations: 170.1 kB / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.005074, allocations: 80.14 kB / 0.7326 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.005094, allocations: 76.59 kB / 0.7326 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.005137, allocations: 117.8 kB / 0.7328 GB, free: 1.195 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.005137, allocations: 1.406 kB / 0.7328 GB, free: 1.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.022e-05/0.005198, allocations: 33.58 kB / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.005245, allocations: 126.7 kB / 0.7329 GB, free: 1.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.005318, allocations: 100.5 kB / 0.733 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005327, allocations: 27.12 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.005364, allocations: 96.06 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.005367, allocations: 0 / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.005396, allocations: 13.75 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.005479, allocations: 315.6 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-06/0.005484, allocations: 0 / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.00549, allocations: 1.281 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.005515, allocations: 8.859 kB / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005516, allocations: 5.656 kB / 0.7335 GB, free: 440 kB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.959e-05/0.005586, allocations: 33.69 kB / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.005598, allocations: 4 kB / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.005605, allocations: 11.98 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.005617, allocations: 5.234 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.682e-05/0.005633, allocations: 0.7656 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005636, allocations: 0 / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.005649, allocations: 0.6562 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005654, allocations: 0 / 0.7335 GB, free: 380 kB / 0.698 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 7.439e-05/0.005728, allocations: 190.2 kB / 0.7337 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.005775, allocations: 104.9 kB / 0.7338 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.005837, allocations: 112.1 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/0.005882, allocations: 182.1 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.893e-05/0.005931, allocations: 180.2 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-05/0.005979, allocations: 181.5 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.006145, allocations: 321.4 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/0.006176, allocations: 109 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.006204, allocations: 102.2 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.006241, allocations: 105.1 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.118e-05/0.006292, allocations: 188.3 kB / 0.7352 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.00634, allocations: 181.2 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.836e-05/0.006388, allocations: 181.1 kB / 0.7355 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-05/0.006436, allocations: 180.3 kB / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.006543, allocations: 308.3 kB / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.006598, allocations: 181.4 kB / 0.7362 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.006667, allocations: 109 kB / 0.7363 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.006722, allocations: 184.1 kB / 0.7365 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.006749, allocations: 101 kB / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.782e-05/0.006767, allocations: 13.59 kB / 0.7366 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006767, allocations: 1.094 kB / 0.7366 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002303/0.006997, allocations: 25.09 kB / 0.7366 GB, free: 13.04 MB / 0.7136 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.0003929/0.00739, allocations: 225.1 kB / 0.7368 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.968e-05/0.00745, allocations: 11.33 kB / 0.7368 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.007456, allocations: 0 / 0.7368 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-06/0.00746, allocations: 0.875 kB / 0.7368 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.007738, allocations: 475.5 kB / 0.7373 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.008139, allocations: 209.3 kB / 0.7375 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.008178, allocations: 51.36 kB / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.008201, allocations: 0.6875 kB / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.008235, allocations: 56.64 kB / 0.7376 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.008235, allocations: 0 / 0.7376 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.002861/0.0111, allocations: 0.8672 MB / 0.7384 GB, free: 11.22 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.675979324616492]