Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.001808/0.001808, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002208/0.002208, allocations: 206.7 kB / 23 MB, free: 4.934 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.435/3.435, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002076/0.002076, allocations: 64.73 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4149, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003575/0.4184, allocations: 1.725 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008881/0.4273, allocations: 4.907 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.4274, allocations: 3.938 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.4289, allocations: 338.5 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.429, allocations: 63.66 kB / 1.334 GB, free: 9.887 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.004668/0.4337, allocations: 1.611 MB / 1.336 GB, free: 8.273 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.4341, allocations: 163.3 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.688e-05/0.4341, allocations: 9.75 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.4342, allocations: 59.77 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.4345, allocations: 171.4 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.4346, allocations: 16 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.4391, allocations: 2.554 MB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.4394, allocations: 275.8 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.4397, allocations: 250.6 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.4433, allocations: 2.216 MB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4433, allocations: 0 / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4433, allocations: 0 / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.4433, allocations: 0 / 1.341 GB, free: 2.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008674/0.452, allocations: 1.342 MB / 1.342 GB, free: 1.184 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.452, allocations: 8.031 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004748/0.4525, allocations: 100.2 kB / 1.343 GB, free: 1.078 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.4532, allocations: 352.6 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4532, allocations: 384 / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.4533, allocations: 8.375 kB / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.4537, allocations: 399.4 kB / 1.343 GB, free: 296 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4538, allocations: 0 / 1.343 GB, free: 296 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.4538, allocations: 3.984 kB / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4538, allocations: 0 / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.4543, allocations: 431.8 kB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.4549, allocations: 0.5937 MB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.4555, allocations: 0.5711 MB / 1.345 GB, free: 14.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.4559, allocations: 333.7 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/0.4566, allocations: 131.9 kB / 1.345 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.4571, allocations: 408.8 kB / 1.346 GB, free: 13.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.4571, allocations: 0 / 1.346 GB, free: 13.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00156/0.4586, allocations: 1.301 MB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.4587, allocations: 81.09 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.4602, allocations: 1.298 MB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.4602, allocations: 33.7 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.4605, allocations: 289.9 kB / 1.349 GB, free: 10.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.4605, allocations: 23.8 kB / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.4609, allocations: 351.6 kB / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4611, allocations: 322 kB / 1.349 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4626, allocations: 1.377 MB / 1.351 GB, free: 8.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4642, allocations: 1.497 MB / 1.352 GB, free: 7.148 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007751/0.4719, allocations: 3.564 MB / 1.356 GB, free: 3.492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4719, allocations: 0 / 1.356 GB, free: 3.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005243/0.4772, allocations: 4.003 MB / 1.359 GB, free: 15.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.4772, allocations: 9.875 kB / 1.359 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.4772, allocations: 7.922 kB / 1.359 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.742e-05/0.4773, allocations: 4 kB / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.4774, allocations: 15.94 kB / 1.36 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4775, allocations: 0 / 1.36 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.4781, allocations: 253.2 kB / 1.36 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.4782, allocations: 19.98 kB / 1.36 GB, free: 15.15 MB / 1.061 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.0004398/0.4786, allocations: 254.5 kB / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.4787, allocations: 75.3 kB / 1.36 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.4799, allocations: 0.9561 MB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4799, allocations: 4 kB / 1.361 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4799, allocations: 0 / 1.361 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.4801, allocations: 95.19 kB / 1.361 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.4801, allocations: 3.938 kB / 1.361 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4803, allocations: 12.02 kB / 1.361 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.4803, allocations: 7.984 kB / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00116/0.4815, allocations: 1.054 MB / 1.362 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001224/0.4827, allocations: 1.237 MB / 1.363 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003847/0.4831, allocations: 340.4 kB / 1.364 GB, free: 11.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009926/0.4841, allocations: 0.7144 MB / 1.364 GB, free: 10.37 MB / 1.061 GB Notification: Performance of Backend: time 9.32e-07/0.4841, allocations: 0 / 1.364 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00499/0.4891, allocations: 2.364 MB / 1.367 GB, free: 8.004 MB / 1.061 GB Notification: Performance of SimCode: time 0.002496/0.4916, allocations: 1.896 MB / 1.369 GB, free: 6.047 MB / 1.061 GB Notification: Performance of Templates: time 0.02791/0.5195, allocations: 16.2 MB / 1.384 GB, free: 5.988 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.071798170996772]