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_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.001365/0.001365, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001597/0.001597, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.753/1.753, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.419/3.419, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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_latest_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.00208/0.00208, allocations: 68.77 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4179, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003366/0.4213, allocations: 1.799 MB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008784/0.43, allocations: 5.476 MB / 1.361 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.4302, allocations: 3.938 kB / 1.361 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.4316, allocations: 379.1 kB / 1.362 GB, free: 248 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.4317, allocations: 63.67 kB / 1.362 GB, free: 184 kB / 1.045 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.004619/0.4363, allocations: 1.617 MB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.4367, allocations: 163.4 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.4367, allocations: 9.75 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.4368, allocations: 59.78 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.4371, allocations: 175.4 kB / 1.364 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.4371, allocations: 16 kB / 1.364 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/0.4416, allocations: 2.652 MB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.4418, allocations: 275.8 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.4421, allocations: 306.1 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.4458, allocations: 2.235 MB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4458, allocations: 0 / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4458, allocations: 0 / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.4458, allocations: 0 / 1.369 GB, free: 8.676 MB / 1.061 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.009249/0.4551, allocations: 1.346 MB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4551, allocations: 8.031 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/0.4555, allocations: 104.2 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.4562, allocations: 344.5 kB / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.4562, allocations: 4.375 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.4563, allocations: 8.375 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.4568, allocations: 395.4 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4568, allocations: 0 / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.4568, allocations: 4 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4568, allocations: 4 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.4573, allocations: 427.8 kB / 1.372 GB, free: 5.977 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.458, allocations: 0.6416 MB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.4586, allocations: 0.5633 MB / 1.373 GB, free: 4.711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.4589, allocations: 337.7 kB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/0.4595, allocations: 127.9 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.46, allocations: 416.8 kB / 1.374 GB, free: 3.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.46, allocations: 0 / 1.374 GB, free: 3.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001504/0.4615, allocations: 1.301 MB / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.4615, allocations: 81.11 kB / 1.375 GB, free: 2.418 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.4629, allocations: 1.298 MB / 1.376 GB, free: 1.109 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.463, allocations: 33.7 kB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.4632, allocations: 285.9 kB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.4632, allocations: 27.81 kB / 1.377 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.4636, allocations: 351.6 kB / 1.377 GB, free: 420 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4637, allocations: 322 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.4651, allocations: 1.369 MB / 1.379 GB, free: 14.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.4666, allocations: 1.509 MB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/0.4741, allocations: 3.56 MB / 1.383 GB, free: 9.547 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4741, allocations: 0 / 1.383 GB, free: 9.547 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004986/0.4791, allocations: 4.019 MB / 1.387 GB, free: 5.492 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4791, allocations: 4 kB / 1.387 GB, free: 5.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.4791, allocations: 4 kB / 1.387 GB, free: 5.484 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4791, allocations: 0 / 1.387 GB, free: 5.484 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.4793, allocations: 19.92 kB / 1.387 GB, free: 5.465 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4793, allocations: 0 / 1.387 GB, free: 5.465 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.4799, allocations: 241.4 kB / 1.388 GB, free: 5.227 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.4799, allocations: 23.98 kB / 1.388 GB, free: 5.203 MB / 1.076 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.0003839/0.4803, allocations: 253.6 kB / 1.388 GB, free: 4.945 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.4804, allocations: 83.22 kB / 1.388 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4815, allocations: 0.9446 MB / 1.389 GB, free: 3.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4815, allocations: 0 / 1.389 GB, free: 3.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4815, allocations: 0 / 1.389 GB, free: 3.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4815, allocations: 8 kB / 1.389 GB, free: 3.902 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.482, allocations: 497.4 kB / 1.389 GB, free: 3.379 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.482, allocations: 8.031 kB / 1.389 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.4821, allocations: 15.86 kB / 1.389 GB, free: 3.355 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4821, allocations: 0 / 1.389 GB, free: 3.355 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4821, allocations: 8 kB / 1.389 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4821, allocations: 0 / 1.389 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4822, allocations: 0 / 1.389 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4832, allocations: 1.011 MB / 1.39 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.4833, allocations: 95.12 kB / 1.39 GB, free: 2.223 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.4833, allocations: 4 kB / 1.39 GB, free: 2.219 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4835, allocations: 7.984 kB / 1.391 GB, free: 2.211 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.4835, allocations: 7.984 kB / 1.391 GB, free: 2.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.4836, allocations: 19.91 kB / 1.391 GB, free: 2.184 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008594/0.4845, allocations: 0.7183 MB / 1.391 GB, free: 1.461 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4845, allocations: 4 kB / 1.391 GB, free: 1.457 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001793/0.4862, allocations: 0.5962 MB / 1.392 GB, free: 0.8594 MB / 1.076 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.001983/0.4882, allocations: 0.6933 MB / 1.392 GB, free: 180 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.4906, allocations: 1.997 MB / 1.394 GB, free: 14.16 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4906, allocations: 4.062 kB / 1.394 GB, free: 14.16 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.491, allocations: 335.8 kB / 1.395 GB, free: 13.83 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.4914, allocations: 59.7 kB / 1.395 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.494, allocations: 1.94 MB / 1.397 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.4947, allocations: 0.9917 MB / 1.398 GB, free: 10.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4948, allocations: 35.34 kB / 1.398 GB, free: 10.74 MB / 1.092 GB Notification: Performance of SimCode: time 1.142e-06/0.4948, allocations: 0 / 1.398 GB, free: 10.74 MB / 1.092 GB Notification: Performance of Templates: time 0.02567/0.5205, allocations: 14.7 MB / 1.412 GB, free: 12.05 MB / 1.108 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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] "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time [Calling sys.exit(0), Time elapsed: 16.70664267000393]