Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.03 kB / 0.8984 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2729, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002341/0.2753, allocations: 1.489 MB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006163/0.2815, allocations: 4.496 MB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.2816, allocations: 3.938 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2817, allocations: 11.92 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2819, allocations: 23.91 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.2849, allocations: 1.188 MB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.285, allocations: 123.6 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.2851, allocations: 4 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.2852, allocations: 51.77 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.2854, allocations: 157 kB / 1.06 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.2854, allocations: 12 kB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.2886, allocations: 2.184 MB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.2888, allocations: 267.8 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.2891, allocations: 274.3 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.2916, allocations: 2.163 MB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2917, allocations: 4 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2917, allocations: 0 / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2917, allocations: 0 / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008098/0.2998, allocations: 1.304 MB / 1.066 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2998, allocations: 8.031 kB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.3002, allocations: 83.69 kB / 1.066 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.3006, allocations: 357 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3006, allocations: 12.36 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.3007, allocations: 8.375 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.3011, allocations: 391.4 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3011, allocations: 0 / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3011, allocations: 0 / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3011, allocations: 0 / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.3016, allocations: 443.7 kB / 1.067 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3021, allocations: 0.6404 MB / 1.067 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.3026, allocations: 0.5632 MB / 1.068 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.3029, allocations: 341.7 kB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009891/0.3039, allocations: 1.025 MB / 1.069 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/0.3043, allocations: 416.8 kB / 1.07 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.3043, allocations: 0 / 1.07 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001259/0.3056, allocations: 1.293 MB / 1.071 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3057, allocations: 77.11 kB / 1.071 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3067, allocations: 1.21 MB / 1.072 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.3068, allocations: 33.7 kB / 1.072 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.307, allocations: 265.5 kB / 1.073 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.307, allocations: 19.73 kB / 1.073 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.3073, allocations: 355.6 kB / 1.073 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.3074, allocations: 314 kB / 1.073 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.3086, allocations: 1.369 MB / 1.074 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.3099, allocations: 1.498 MB / 1.076 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007091/0.317, allocations: 3.564 MB / 1.079 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.317, allocations: 4 kB / 1.079 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004176/0.3212, allocations: 3.999 MB / 1.083 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3212, allocations: 8 kB / 1.083 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.3213, allocations: 8.016 kB / 1.083 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3213, allocations: 4 kB / 1.083 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3214, allocations: 15.94 kB / 1.083 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3214, allocations: 0 / 1.083 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.3219, allocations: 236.2 kB / 1.084 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.322, allocations: 23.98 kB / 1.084 GB, free: 7.891 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003105/0.3223, allocations: 237.7 kB / 1.084 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.3223, allocations: 70.72 kB / 1.084 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.3227, allocations: 86.84 kB / 1.084 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3227, allocations: 0 / 1.084 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3227, allocations: 4 kB / 1.084 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3227, allocations: 0 / 1.084 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.3231, allocations: 492.9 kB / 1.084 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3232, allocations: 0 / 1.084 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.3e-05/0.3232, allocations: 15.92 kB / 1.084 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3233, allocations: 4.031 kB / 1.085 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3233, allocations: 0 / 1.085 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3233, allocations: 4 kB / 1.085 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3233, allocations: 0 / 1.085 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.3242, allocations: 1.001 MB / 1.085 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3243, allocations: 163.8 kB / 1.086 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.3244, allocations: 0 / 1.086 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3245, allocations: 11.92 kB / 1.086 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3246, allocations: 7.984 kB / 1.086 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.3246, allocations: 15.97 kB / 1.086 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006685/0.3253, allocations: 0.6689 MB / 1.086 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3253, allocations: 0 / 1.086 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001673/0.327, allocations: 0.5857 MB / 1.087 GB, free: 4.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001891/0.3289, allocations: 0.6931 MB / 1.088 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.3311, allocations: 2.544 MB / 1.09 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3312, allocations: 0 / 1.09 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3315, allocations: 339.8 kB / 1.09 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3318, allocations: 45.14 kB / 1.09 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3339, allocations: 1.931 MB / 1.092 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3344, allocations: 0.9688 MB / 1.093 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.3345, allocations: 32.55 kB / 1.093 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3346, allocations: 31.41 kB / 1.093 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.3346, allocations: 0 / 1.093 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of Templates: time 0.02135/0.356, allocations: 13.29 MB / 1.106 GB, free: 0.543 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches