Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.91 kB / 1.109 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6888, allocations: 168.7 MB / 1.274 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002994/0.6918, allocations: 1.781 MB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008061/0.6998, allocations: 5.448 MB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.6999, allocations: 4 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.701, allocations: 368.5 kB / 1.282 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.7012, allocations: 63.66 kB / 1.282 GB, free: 12.76 MB / 0.9825 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.7048, allocations: 1.51 MB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.705, allocations: 155.4 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.7051, allocations: 13.48 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.7051, allocations: 63.77 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.7054, allocations: 167.4 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.7054, allocations: 20 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.7089, allocations: 2.309 MB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.7092, allocations: 283.8 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.7095, allocations: 306.1 kB / 1.286 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.7125, allocations: 2.187 MB / 1.288 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7125, allocations: 4 kB / 1.288 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7125, allocations: 4 kB / 1.288 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.7125, allocations: 3.938 kB / 1.288 GB, free: 5.738 MB / 0.9825 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.01084/0.7233, allocations: 1.41 MB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7234, allocations: 12.03 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.7238, allocations: 100.2 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.7244, allocations: 418.2 kB / 1.29 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.7244, allocations: 8.375 kB / 1.29 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.7245, allocations: 8.375 kB / 1.29 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.7249, allocations: 395.4 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.725, allocations: 0 / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.725, allocations: 3.984 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.725, allocations: 4 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.7254, allocations: 431.8 kB / 1.291 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.7261, allocations: 0.6699 MB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.7267, allocations: 0.5555 MB / 1.292 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.727, allocations: 333.7 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.7282, allocations: 1.028 MB / 1.294 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.7286, allocations: 412.8 kB / 1.294 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.7286, allocations: 0 / 1.294 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001477/0.7301, allocations: 1.309 MB / 1.295 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.7301, allocations: 81.11 kB / 1.295 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.7315, allocations: 1.294 MB / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.7315, allocations: 29.83 kB / 1.297 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.7318, allocations: 297.9 kB / 1.297 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.7318, allocations: 15.89 kB / 1.297 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.7322, allocations: 359.6 kB / 1.297 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7323, allocations: 318 kB / 1.298 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.7337, allocations: 1.369 MB / 1.299 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.7352, allocations: 1.511 MB / 1.3 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007547/0.7428, allocations: 3.56 MB / 1.304 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.7428, allocations: 0 / 1.304 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004731/0.7475, allocations: 4.022 MB / 1.308 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.7475, allocations: 4 kB / 1.308 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7475, allocations: 8.031 kB / 1.308 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7476, allocations: 0 / 1.308 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.7477, allocations: 19.92 kB / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7477, allocations: 0 / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.7482, allocations: 241.4 kB / 1.308 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.7483, allocations: 23.98 kB / 1.308 GB, free: 0.9336 MB / 0.9981 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.0003604/0.7487, allocations: 245.7 kB / 1.308 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.7487, allocations: 83.23 kB / 1.308 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.7498, allocations: 0.9523 MB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7498, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7498, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7498, allocations: 7.984 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.7503, allocations: 0.5102 MB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.7503, allocations: 4 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.961e-05/0.7504, allocations: 19.89 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7504, allocations: 0 / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.7504, allocations: 4 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7504, allocations: 0 / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7504, allocations: 4 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.7514, allocations: 1.014 MB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.7516, allocations: 168.3 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.7516, allocations: 3.984 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.7518, allocations: 4 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.7518, allocations: 11.98 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.7519, allocations: 11.92 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008474/0.7527, allocations: 0.7261 MB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7527, allocations: 0 / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001442/0.7541, allocations: 0.5845 MB / 1.312 GB, free: 12.48 MB / 1.014 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.001763/0.7559, allocations: 0.7083 MB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.7581, allocations: 1.993 MB / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7581, allocations: 4 kB / 1.315 GB, free: 9.773 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.7584, allocations: 340.3 kB / 1.315 GB, free: 9.441 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.7588, allocations: 63.38 kB / 1.315 GB, free: 9.379 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.7612, allocations: 1.902 MB / 1.317 GB, free: 7.441 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.7618, allocations: 0.9879 MB / 1.318 GB, free: 6.426 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.762, allocations: 41.44 kB / 1.318 GB, free: 6.387 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.7621, allocations: 27.41 kB / 1.318 GB, free: 6.359 MB / 1.014 GB Notification: Performance of SimCode: time 6.32e-07/0.7621, allocations: 0 / 1.318 GB, free: 6.359 MB / 1.014 GB Notification: Performance of Templates: time 0.02477/0.7868, allocations: 14.35 MB / 1.332 GB, free: 8.066 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.71168828010559]