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.0008262/0.0008262, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001863, allocations: 435.8 kB / 10.33 MB, free: 368 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.000712/0.000712, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009007/0.001613, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9704/0.9704, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09782/1.068, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.305/2.305, allocations: 446.7 MB / 0.6745 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2276/2.532, allocations: 145.9 MB / 0.817 GB, free: 4.16 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8183 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.465e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000979/0.0009937, allocations: 0.652 MB / 0.819 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.001869, allocations: 1.042 MB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.001886, allocations: 0 / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-06/0.00189, allocations: 0 / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.00221, allocations: 83.7 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.115e-05/0.002231, allocations: 8 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.002281, allocations: 7.938 kB / 0.8201 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.002317, allocations: 7.984 kB / 0.8201 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.002363, allocations: 7.984 kB / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.002507, allocations: 35.97 kB / 0.8201 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.002516, allocations: 0 / 0.8201 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.002667, allocations: 91.78 kB / 0.8202 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.002675, allocations: 0 / 0.8202 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.568e-06/0.002684, allocations: 3.938 kB / 0.8202 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.002801, allocations: 63.89 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.002816, allocations: 0 / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002816, allocations: 0 / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.002831, allocations: 0 / 0.8203 GB, free: 0.7891 MB / 0.7917 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.0002857/0.003116, allocations: 256.4 kB / 0.8205 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.003146, allocations: 12.62 kB / 0.8205 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.00317, allocations: 0.9375 kB / 0.8205 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.345e-05/0.003264, allocations: 109.7 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003273, allocations: 384 / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.003279, allocations: 384 / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/0.003347, allocations: 34.27 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.003356, allocations: 4.172 kB / 0.8207 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.003364, allocations: 4.125 kB / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.003369, allocations: 0 / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.269e-05/0.003382, allocations: 0 / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.003626, allocations: 294.9 kB / 0.821 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.438e-05/0.0037, allocations: 177.1 kB / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.003722, allocations: 80.14 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.003741, allocations: 75.28 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.003777, allocations: 105.8 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.003777, allocations: 0 / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.124e-05/0.003829, allocations: 37.58 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.003877, allocations: 126.7 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.003954, allocations: 110.7 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.003964, allocations: 25.7 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.003996, allocations: 92.09 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.004003, allocations: 0 / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.004023, allocations: 9.719 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.004094, allocations: 322.9 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-06/0.004099, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.004103, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.004125, allocations: 12.86 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004127, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.344e-05/0.004191, allocations: 37.62 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.004203, allocations: 4.094 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.004208, allocations: 7.938 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.004216, allocations: 0 / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.558e-05/0.004232, allocations: 0 / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.004234, allocations: 4 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.004244, allocations: 0 / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.004249, allocations: 3.938 kB / 0.8221 GB, free: 14.72 MB / 0.8073 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.815e-05/0.004307, allocations: 185.1 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.004343, allocations: 109 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.004381, allocations: 112 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-05/0.004422, allocations: 180.3 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.261e-05/0.004465, allocations: 188.2 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/0.004502, allocations: 176.3 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.004903, allocations: 321.4 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/0.004926, allocations: 104.9 kB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.004953, allocations: 105 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.00498, allocations: 104.9 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-05/0.005021, allocations: 184.2 kB / 0.8238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.005061, allocations: 180.3 kB / 0.824 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.76e-05/0.005098, allocations: 184.1 kB / 0.8242 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-05/0.005138, allocations: 180.2 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.005222, allocations: 311.9 kB / 0.8247 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.005266, allocations: 176.3 kB / 0.8248 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.005313, allocations: 112.9 kB / 0.8249 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.005356, allocations: 188.5 kB / 0.8251 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.005379, allocations: 104.9 kB / 0.8252 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.611e-05/0.005395, allocations: 12.84 kB / 0.8252 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005395, allocations: 0 / 0.8252 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001386/0.005534, allocations: 19.94 kB / 0.8252 GB, free: 11.38 MB / 0.8073 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.0002651/0.005799, allocations: 235.2 kB / 0.8255 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.367e-05/0.005842, allocations: 4.859 kB / 0.8255 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.005847, allocations: 0 / 0.8255 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.005847, allocations: 4 kB / 0.8255 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.006023, allocations: 467.6 kB / 0.8259 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.006332, allocations: 214.2 kB / 0.8261 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.006359, allocations: 51.36 kB / 0.8262 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.902e-05/0.006378, allocations: 4.062 kB / 0.8262 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.006404, allocations: 51.38 kB / 0.8262 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.006405, allocations: 3.938 kB / 0.8262 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.002085/0.00849, allocations: 0.8486 MB / 0.8271 GB, free: 9.516 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction/Buildings_latest_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: 5.247787951491773]