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.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.001378/0.001378, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001425/0.001425, allocations: 192 kB / 22.23 MB, free: 5.16 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.32/3.32, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 70.72 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4107, allocations: 173.6 MB / 1.307 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003364/0.4141, allocations: 1.779 MB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008739/0.4228, allocations: 5.475 MB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.423, allocations: 0 / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.4244, allocations: 374.4 kB / 1.315 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.4245, allocations: 63.67 kB / 1.315 GB, free: 10.01 MB / 1.014 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.0045/0.429, allocations: 1.62 MB / 1.316 GB, free: 8.391 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.4293, allocations: 159 kB / 1.317 GB, free: 8.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.999e-05/0.4294, allocations: 9.734 kB / 1.317 GB, free: 8.227 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.4295, allocations: 63.72 kB / 1.317 GB, free: 8.164 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.4298, allocations: 167.5 kB / 1.317 GB, free: 8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.4298, allocations: 12 kB / 1.317 GB, free: 7.988 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.4344, allocations: 2.656 MB / 1.319 GB, free: 5.328 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.4347, allocations: 283.8 kB / 1.32 GB, free: 5.051 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.435, allocations: 306.1 kB / 1.32 GB, free: 4.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.4389, allocations: 2.224 MB / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4389, allocations: 4 kB / 1.322 GB, free: 2.516 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4389, allocations: 0 / 1.322 GB, free: 2.516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.4389, allocations: 7.938 kB / 1.322 GB, free: 2.508 MB / 1.014 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.008503/0.4474, allocations: 1.335 MB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.904e-05/0.4475, allocations: 12.86 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/0.4481, allocations: 96.2 kB / 1.324 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.4489, allocations: 360.5 kB / 1.324 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4489, allocations: 4.375 kB / 1.324 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.4489, allocations: 12.38 kB / 1.324 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.4495, allocations: 383.5 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4495, allocations: 4 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.4495, allocations: 3.984 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4495, allocations: 0 / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.4501, allocations: 439.7 kB / 1.325 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/0.451, allocations: 0.6377 MB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.4517, allocations: 0.5594 MB / 1.326 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.452, allocations: 337.7 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/0.4527, allocations: 127.9 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005005/0.4532, allocations: 412.8 kB / 1.327 GB, free: 13.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.4532, allocations: 4 kB / 1.327 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001792/0.455, allocations: 1.293 MB / 1.328 GB, free: 12.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.4551, allocations: 89.03 kB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.4567, allocations: 1.29 MB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.4568, allocations: 37.67 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.4571, allocations: 298 kB / 1.33 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.4571, allocations: 19.84 kB / 1.33 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.4576, allocations: 347.6 kB / 1.33 GB, free: 10.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4578, allocations: 321.9 kB / 1.33 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.4593, allocations: 1.373 MB / 1.332 GB, free: 8.555 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.461, allocations: 1.505 MB / 1.333 GB, free: 7.039 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007609/0.4686, allocations: 3.56 MB / 1.337 GB, free: 3.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4686, allocations: 3.984 kB / 1.337 GB, free: 3.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00512/0.4737, allocations: 4.015 MB / 1.341 GB, free: 15.33 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4737, allocations: 4 kB / 1.341 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.4738, allocations: 12.02 kB / 1.341 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.4738, allocations: 0 / 1.341 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.474, allocations: 15.94 kB / 1.341 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.474, allocations: 0 / 1.341 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.4746, allocations: 245.3 kB / 1.341 GB, free: 15.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.4747, allocations: 23.98 kB / 1.341 GB, free: 15.04 MB / 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.0004048/0.4751, allocations: 245.6 kB / 1.341 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4752, allocations: 83.19 kB / 1.341 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4764, allocations: 0.9601 MB / 1.342 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4764, allocations: 0 / 1.342 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4764, allocations: 4 kB / 1.342 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4764, allocations: 0 / 1.342 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.4769, allocations: 493.5 kB / 1.343 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4769, allocations: 4 kB / 1.343 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.477, allocations: 7.938 kB / 1.343 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.477, allocations: 4.031 kB / 1.343 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.477, allocations: 7.984 kB / 1.343 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.477, allocations: 0 / 1.343 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.477, allocations: 3.938 kB / 1.343 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.4781, allocations: 1.01 MB / 1.344 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.4782, allocations: 103.1 kB / 1.344 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.4782, allocations: 0 / 1.344 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.4784, allocations: 4 kB / 1.344 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.4784, allocations: 15.97 kB / 1.344 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.4785, allocations: 19.91 kB / 1.344 GB, free: 12.01 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009395/0.4794, allocations: 0.7183 MB / 1.344 GB, free: 11.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4794, allocations: 0 / 1.344 GB, free: 11.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001824/0.4813, allocations: 0.5923 MB / 1.345 GB, free: 10.7 MB / 1.045 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.4832, allocations: 0.7058 MB / 1.346 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.4856, allocations: 1.993 MB / 1.348 GB, free: 7.992 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4856, allocations: 0 / 1.348 GB, free: 7.992 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.486, allocations: 335.9 kB / 1.348 GB, free: 7.664 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.4864, allocations: 62.19 kB / 1.348 GB, free: 7.602 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.489, allocations: 1.899 MB / 1.35 GB, free: 5.664 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.4896, allocations: 0.984 MB / 1.351 GB, free: 4.656 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.4898, allocations: 41.42 kB / 1.351 GB, free: 4.617 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.4899, allocations: 31.41 kB / 1.351 GB, free: 4.586 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.4899, allocations: 0 / 1.351 GB, free: 4.586 MB / 1.045 GB Notification: Performance of Templates: time 0.02657/0.5165, allocations: 14.45 MB / 1.365 GB, free: 6.195 MB / 1.061 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/jenkins/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: 10.590667837299407]