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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.008095/0.008095, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002069/0.00207, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 70.31 kB / 0.8991 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3362, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003137/0.3394, allocations: 1.489 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007562/0.347, allocations: 4.497 MB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.3471, allocations: 3.938 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.3472, allocations: 11.92 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3475, allocations: 31.83 kB / 1.059 GB, free: 2.176 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.003972/0.3515, allocations: 1.177 MB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3517, allocations: 127.6 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.3517, allocations: 4 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3518, allocations: 47.77 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.3521, allocations: 161 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.3522, allocations: 12 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.356, allocations: 2.184 MB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.3563, allocations: 263.9 kB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.3566, allocations: 278.3 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.3591, allocations: 1.497 MB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3591, allocations: 4 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.41e-07/0.3591, allocations: 0 / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.3591, allocations: 0 / 1.064 GB, free: 12.43 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.008346/0.3675, allocations: 1.308 MB / 1.066 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3675, allocations: 11.97 kB / 1.066 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.368, allocations: 83.69 kB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.3684, allocations: 365 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3685, allocations: 8.375 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.3685, allocations: 8.375 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.369, allocations: 395.5 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.369, allocations: 0 / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.369, allocations: 0 / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3691, allocations: 0 / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.3695, allocations: 443.7 kB / 1.067 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.3702, allocations: 0.6404 MB / 1.067 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.3707, allocations: 0.5595 MB / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.3711, allocations: 341.5 kB / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.3722, allocations: 1.025 MB / 1.069 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.3726, allocations: 400.8 kB / 1.07 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.3726, allocations: 7.938 kB / 1.07 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001383/0.374, allocations: 1.289 MB / 1.071 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3741, allocations: 81.09 kB / 1.071 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3753, allocations: 1.218 MB / 1.072 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.3754, allocations: 29.7 kB / 1.072 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.3756, allocations: 269.5 kB / 1.073 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3757, allocations: 23.73 kB / 1.073 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.376, allocations: 347.6 kB / 1.073 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3762, allocations: 310 kB / 1.073 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.3775, allocations: 1.373 MB / 1.075 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.3789, allocations: 1.505 MB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007182/0.3861, allocations: 3.56 MB / 1.079 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3861, allocations: 0 / 1.079 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004628/0.3907, allocations: 4.006 MB / 1.083 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3907, allocations: 4 kB / 1.083 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.3908, allocations: 8.031 kB / 1.083 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3908, allocations: 0 / 1.083 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3909, allocations: 15.98 kB / 1.083 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.391, allocations: 0 / 1.083 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.3915, allocations: 240.2 kB / 1.084 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.3915, allocations: 27.98 kB / 1.084 GB, free: 7.961 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.0003417/0.3919, allocations: 240.7 kB / 1.084 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.392, allocations: 70.72 kB / 1.084 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.3923, allocations: 78.97 kB / 1.084 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3923, allocations: 4 kB / 1.084 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3923, allocations: 3.938 kB / 1.084 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3923, allocations: 0 / 1.084 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3928, allocations: 492.9 kB / 1.084 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3928, allocations: 4 kB / 1.084 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.3929, allocations: 11.92 kB / 1.085 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3929, allocations: 4.031 kB / 1.085 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3929, allocations: 8 kB / 1.085 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3929, allocations: 3.938 kB / 1.085 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3929, allocations: 0 / 1.085 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.3939, allocations: 0.9975 MB / 1.085 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.394, allocations: 159.8 kB / 1.086 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.3941, allocations: 4 kB / 1.086 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3943, allocations: 3.984 kB / 1.086 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3943, allocations: 11.94 kB / 1.086 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.3944, allocations: 15.97 kB / 1.086 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007705/0.3951, allocations: 0.6689 MB / 1.086 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3952, allocations: 3.938 kB / 1.086 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001682/0.3968, allocations: 0.5779 MB / 1.087 GB, free: 4.508 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.002529/0.3994, allocations: 0.6951 MB / 1.088 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0024/0.4018, allocations: 2.544 MB / 1.09 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4018, allocations: 0 / 1.09 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.4022, allocations: 343.8 kB / 1.09 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.4025, allocations: 48.53 kB / 1.09 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.4049, allocations: 1.964 MB / 1.092 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.4055, allocations: 0.972 MB / 1.093 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4056, allocations: 39.34 kB / 1.093 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.4056, allocations: 0 / 1.093 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.02294/0.4286, allocations: 13.81 MB / 1.107 GB, free: 36 kB / 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/jenkins1/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