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.001604/0.001604, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002234/0.002234, allocations: 217.2 kB / 22.99 MB, free: 4.945 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.342/3.342, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 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.002133/0.002133, allocations: 78.27 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3848, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003346/0.3881, allocations: 1.736 MB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008565/0.3967, allocations: 4.903 MB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3969, allocations: 3.938 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.3982, allocations: 341 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.3984, allocations: 55.73 kB / 1.333 GB, free: 10.72 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.004381/0.4028, allocations: 1.593 MB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.4031, allocations: 171.3 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.4031, allocations: 5.75 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.4032, allocations: 67.64 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.4035, allocations: 163.5 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.4035, allocations: 16 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.4077, allocations: 2.394 MB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.408, allocations: 279.8 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.4082, allocations: 246.7 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.4116, allocations: 2.22 MB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4117, allocations: 0 / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4117, allocations: 0 / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.4117, allocations: 0 / 1.34 GB, free: 3.57 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.01014/0.4218, allocations: 1.338 MB / 1.342 GB, free: 2.195 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4219, allocations: 8.031 kB / 1.342 GB, free: 2.188 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.4223, allocations: 104.2 kB / 1.342 GB, free: 2.086 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.4229, allocations: 344.6 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4229, allocations: 12.36 kB / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.423, allocations: 4.375 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.4235, allocations: 391.4 kB / 1.342 GB, free: 1.305 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4235, allocations: 0 / 1.342 GB, free: 1.305 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.4235, allocations: 7.984 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4235, allocations: 4 kB / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.424, allocations: 431.8 kB / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.4246, allocations: 0.5937 MB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.4253, allocations: 0.5594 MB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.4256, allocations: 329.7 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.4263, allocations: 139.8 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.4267, allocations: 408.8 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.4267, allocations: 0 / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001543/0.4283, allocations: 1.309 MB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.4283, allocations: 85.09 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.4297, allocations: 1.29 MB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.4298, allocations: 29.69 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.43, allocations: 289.9 kB / 1.348 GB, free: 11.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.4301, allocations: 23.8 kB / 1.348 GB, free: 11.72 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.4304, allocations: 355.6 kB / 1.348 GB, free: 11.37 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4306, allocations: 322 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.432, allocations: 1.369 MB / 1.35 GB, free: 9.676 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.4336, allocations: 1.505 MB / 1.351 GB, free: 8.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007567/0.4411, allocations: 3.564 MB / 1.355 GB, free: 4.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4412, allocations: 0 / 1.355 GB, free: 4.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004945/0.4461, allocations: 4.011 MB / 1.359 GB, free: 468 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4461, allocations: 7.938 kB / 1.359 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.4461, allocations: 12.02 kB / 1.359 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4462, allocations: 3.938 kB / 1.359 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.4463, allocations: 15.94 kB / 1.359 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4463, allocations: 0 / 1.359 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.4469, allocations: 245.3 kB / 1.359 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.4469, allocations: 23.98 kB / 1.359 GB, free: 156 kB / 1.045 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.0003712/0.4473, allocations: 242.2 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.4474, allocations: 79.23 kB / 1.359 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.4485, allocations: 0.9524 MB / 1.36 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.4485, allocations: 0 / 1.36 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4485, allocations: 0 / 1.36 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4485, allocations: 0 / 1.36 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.449, allocations: 476.3 kB / 1.36 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.449, allocations: 0 / 1.36 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.4491, allocations: 11.92 kB / 1.361 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.4491, allocations: 4 kB / 1.361 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4491, allocations: 3.938 kB / 1.361 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4491, allocations: 8.031 kB / 1.361 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4491, allocations: 400 / 1.361 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.4502, allocations: 1.014 MB / 1.362 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4503, allocations: 83.3 kB / 1.362 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.4504, allocations: 7.938 kB / 1.362 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.4505, allocations: 7.984 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4506, allocations: 7.984 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.4506, allocations: 23.91 kB / 1.362 GB, free: 13.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009136/0.4515, allocations: 0.7261 MB / 1.362 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4515, allocations: 0 / 1.362 GB, free: 12.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001781/0.4533, allocations: 0.5845 MB / 1.363 GB, free: 11.87 MB / 1.061 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.00197/0.4553, allocations: 0.7136 MB / 1.364 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002315/0.4576, allocations: 2.001 MB / 1.366 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4576, allocations: 0 / 1.366 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.458, allocations: 335.8 kB / 1.366 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4584, allocations: 49.64 kB / 1.366 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.461, allocations: 1.948 MB / 1.368 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4614, allocations: 393.8 kB / 1.368 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4616, allocations: 31.42 kB / 1.368 GB, free: 6.34 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/0.4616, allocations: 0 / 1.368 GB, free: 6.34 MB / 1.061 GB Notification: Performance of Templates: time 0.02594/0.4875, allocations: 15.03 MB / 1.383 GB, free: 7.328 MB / 1.076 GB " [Timeout remaining time 300] 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] "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time [Calling sys.exit(0), Time elapsed: 16.631846734322608]