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.00104/0.00104, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002456, allocations: 449.7 kB / 10.37 MB, free: 328 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.001006/0.001006, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002288, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8962/0.8962, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07871/0.9749, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.803/1.803, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4453/2.249, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.433e-06/1.433e-06, allocations: 0 / 0.7294 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.094e-05, allocations: 7.938 kB / 0.7294 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001232/0.001253, allocations: 0.6346 MB / 0.73 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009214/0.002175, allocations: 1.048 MB / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.002191, allocations: 0 / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-06/0.002196, allocations: 0.6562 kB / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.00254, allocations: 90.28 kB / 0.7311 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.45e-05/0.002564, allocations: 8.656 kB / 0.7311 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.002603, allocations: 1.75 kB / 0.7311 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.002637, allocations: 9.953 kB / 0.7311 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.002678, allocations: 7.938 kB / 0.7311 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.002817, allocations: 37.75 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.002827, allocations: 0.5 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.002974, allocations: 84.83 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-06/0.002983, allocations: 1.219 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.097e-05/0.002994, allocations: 1.641 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003112, allocations: 69.41 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.003123, allocations: 0 / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003124, allocations: 1.438 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.003135, allocations: 3.938 kB / 0.7313 GB, free: 2.48 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.0002378/0.003373, allocations: 245.4 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.003399, allocations: 8.688 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.003419, allocations: 0.9375 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.003493, allocations: 106.5 kB / 0.7317 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.003502, allocations: 384 / 0.7317 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.003509, allocations: 6.078 kB / 0.7317 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.881e-05/0.003567, allocations: 30.27 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.003573, allocations: 0.7344 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003578, allocations: 4.125 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.003582, allocations: 0.8125 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-06/0.00359, allocations: 3.984 kB / 0.7317 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.003808, allocations: 303.3 kB / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.003863, allocations: 171 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.003887, allocations: 84.12 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.003905, allocations: 76.59 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.003936, allocations: 109.8 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 5.71e-07/0.003937, allocations: 4 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.511e-05/0.003982, allocations: 34.45 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.004023, allocations: 126.7 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.004087, allocations: 107.3 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.004096, allocations: 25.7 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.004124, allocations: 88.81 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-06/0.004128, allocations: 1.422 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.004146, allocations: 11.47 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.004218, allocations: 318.9 kB / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.004223, allocations: 0 / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.004227, allocations: 0 / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.004247, allocations: 9.453 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004249, allocations: 1 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.238e-05/0.004301, allocations: 37.62 kB / 0.7332 GB, free: 472 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.004311, allocations: 4.531 kB / 0.7332 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.004316, allocations: 3.938 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.004323, allocations: 1.125 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.004339, allocations: 4 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.004343, allocations: 4.703 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.427e-06/0.004352, allocations: 0.7656 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.004356, allocations: 0.5312 kB / 0.7332 GB, free: 456 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 5.527e-05/0.004411, allocations: 182.1 kB / 0.7334 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.004448, allocations: 116.9 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.004484, allocations: 108.1 kB / 0.7336 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.358e-05/0.004538, allocations: 182 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-05/0.00458, allocations: 184.2 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/0.004621, allocations: 177 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.004742, allocations: 321.4 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.004766, allocations: 102.2 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.004792, allocations: 109 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.004824, allocations: 105.1 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.166e-05/0.004866, allocations: 185.8 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.004911, allocations: 184.2 kB / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.985e-05/0.00495, allocations: 180.9 kB / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.681e-05/0.004987, allocations: 180.3 kB / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.3e-05/0.00508, allocations: 304.3 kB / 0.7357 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.005129, allocations: 184.2 kB / 0.7359 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.005175, allocations: 109.6 kB / 0.736 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.005216, allocations: 180.2 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.005237, allocations: 106.3 kB / 0.7362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.53e-05/0.005252, allocations: 21 kB / 0.7363 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.005252, allocations: 0.9375 kB / 0.7363 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001532/0.005405, allocations: 23.88 kB / 0.7363 GB, free: 13.1 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.0002688/0.005674, allocations: 228.8 kB / 0.7365 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.993e-05/0.005714, allocations: 8.844 kB / 0.7365 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.005719, allocations: 5.031 kB / 0.7365 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.005721, allocations: 3.938 kB / 0.7365 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.005904, allocations: 460.8 kB / 0.737 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.006208, allocations: 212 kB / 0.7372 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.532e-05/0.006233, allocations: 51.36 kB / 0.7372 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.006258, allocations: 5.031 kB / 0.7372 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.006284, allocations: 47.94 kB / 0.7373 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.006284, allocations: 1 kB / 0.7373 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.002035/0.00832, allocations: 0.8604 MB / 0.7381 GB, free: 11.3 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.865354961715639]