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.001903/0.001903, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002639/0.002639, allocations: 213.7 kB / 23 MB, free: 4.969 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.636/3.636, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002055/0.002055, allocations: 64.77 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.425, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002679/0.4277, allocations: 0.5793 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.4296, allocations: 1.011 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.4297, allocations: 4 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.4297, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009637/0.4306, allocations: 99.78 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.22e-05/0.4307, allocations: 11.92 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.4307, allocations: 3.984 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.4308, allocations: 8 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.4308, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.4311, allocations: 43.84 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.4311, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.4313, allocations: 79.91 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.4313, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.4314, allocations: 7.984 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4316, allocations: 67.8 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4316, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4316, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4316, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 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.0004971/0.4321, allocations: 258.2 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.4321, allocations: 8.031 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.4322, allocations: 4.891 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.4323, allocations: 110.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4323, allocations: 384 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.4323, allocations: 4.375 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.4325, allocations: 33.83 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4325, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4325, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4325, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.4325, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.433, allocations: 343.1 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.4331, allocations: 169.1 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.4332, allocations: 84.12 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.4332, allocations: 79.28 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.4333, allocations: 109.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4333, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.894e-05/0.4334, allocations: 29.64 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.4334, allocations: 55.34 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4335, allocations: 109.8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4335, allocations: 25.7 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.4336, allocations: 80.14 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.4336, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.4337, allocations: 17.72 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4338, allocations: 310.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.4338, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.4338, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.4339, allocations: 4.859 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4339, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001349/0.434, allocations: 49.52 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.434, allocations: 6.188 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.434, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.434, allocations: 3.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.329e-05/0.4341, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4341, allocations: 4.094 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.4341, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.4341, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 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.0001242/0.4342, allocations: 193.6 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.4343, allocations: 101 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.4344, allocations: 112.1 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.788e-05/0.4345, allocations: 184.3 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.227e-05/0.4345, allocations: 104.9 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.4346, allocations: 105 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/0.4347, allocations: 184.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.4348, allocations: 104.9 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.4349, allocations: 184.2 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001362/0.435, allocations: 259.5 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002459/0.4352, allocations: 387.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.415e-05/0.4353, allocations: 101 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.4354, allocations: 83.28 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.4354, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007498/0.4361, allocations: 145.8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007463/0.4369, allocations: 0.835 MB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of Templates: time 0.003922/0.4408, allocations: 0.7316 MB / 1.335 GB, free: 9.051 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.922527964998153]