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_1borehole_5meters.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.001834/0.001834, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00226/0.00226, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [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.002057/0.002057, allocations: 66.88 kB / 1.155 GB, free: 25.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.291, allocations: 176.1 MB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002501/0.2935, allocations: 1.437 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006645/0.3001, allocations: 3.86 MB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.3002, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.3003, allocations: 19.86 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.3005, allocations: 31.78 kB / 1.332 GB, free: 11.45 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.003885/0.3043, allocations: 1.604 MB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3045, allocations: 91.67 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.3045, allocations: 8 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.3046, allocations: 47.89 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.3048, allocations: 151.6 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.3049, allocations: 12 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.3088, allocations: 2.547 MB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.3091, allocations: 271.8 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.3093, allocations: 218.9 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.3123, allocations: 2.161 MB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3123, allocations: 0 / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3123, allocations: 0 / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3123, allocations: 0 / 1.339 GB, free: 4.336 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.008538/0.3208, allocations: 1.264 MB / 1.341 GB, free: 3.035 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3209, allocations: 12.03 kB / 1.341 GB, free: 3.023 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.3213, allocations: 96.19 kB / 1.341 GB, free: 2.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.3217, allocations: 307.2 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3217, allocations: 384 / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.3218, allocations: 16.36 kB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.3223, allocations: 395.4 kB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3223, allocations: 0 / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3223, allocations: 0 / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3223, allocations: 0 / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.3228, allocations: 439.7 kB / 1.342 GB, free: 1.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.3234, allocations: 0.577 MB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.324, allocations: 0.5555 MB / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.3244, allocations: 337.7 kB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.3251, allocations: 131.9 kB / 1.343 GB, free: 104 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004911/0.3256, allocations: 412.8 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3256, allocations: 0 / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001521/0.3271, allocations: 1.293 MB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.3271, allocations: 85.22 kB / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.3285, allocations: 1.219 MB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.3285, allocations: 29.69 kB / 1.346 GB, free: 13.01 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3287, allocations: 265.9 kB / 1.347 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.3288, allocations: 23.83 kB / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.3292, allocations: 355.6 kB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3293, allocations: 310 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.3307, allocations: 1.369 MB / 1.349 GB, free: 10.69 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.3323, allocations: 1.509 MB / 1.35 GB, free: 9.168 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007815/0.3401, allocations: 3.564 MB / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3401, allocations: 0 / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004789/0.3449, allocations: 4.003 MB / 1.357 GB, free: 1.473 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3449, allocations: 7.938 kB / 1.357 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.3449, allocations: 4 kB / 1.357 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.345, allocations: 0 / 1.357 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.3451, allocations: 23.95 kB / 1.357 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3451, allocations: 0 / 1.357 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.3456, allocations: 241.4 kB / 1.358 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.3457, allocations: 27.97 kB / 1.358 GB, free: 1.172 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.0003182/0.346, allocations: 241 kB / 1.358 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.3461, allocations: 79.22 kB / 1.358 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3472, allocations: 0.9438 MB / 1.359 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3472, allocations: 4 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3472, allocations: 0 / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3472, allocations: 0 / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.3477, allocations: 447.3 kB / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3477, allocations: 0 / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.3477, allocations: 15.92 kB / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3477, allocations: 0 / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3478, allocations: 3.938 kB / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3478, allocations: 4 kB / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3478, allocations: 4.031 kB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3488, allocations: 1.002 MB / 1.36 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.3489, allocations: 75.34 kB / 1.36 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.349, allocations: 3.938 kB / 1.36 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3491, allocations: 7.984 kB / 1.36 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.3492, allocations: 4 kB / 1.36 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.3492, allocations: 19.91 kB / 1.36 GB, free: 14.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007984/0.35, allocations: 0.6728 MB / 1.361 GB, free: 13.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.35, allocations: 0 / 1.361 GB, free: 13.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001498/0.3515, allocations: 0.5884 MB / 1.362 GB, free: 13 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.001916/0.3534, allocations: 0.7091 MB / 1.362 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.3557, allocations: 1.997 MB / 1.364 GB, free: 10.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3557, allocations: 64 / 1.364 GB, free: 10.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.3561, allocations: 339.8 kB / 1.365 GB, free: 9.961 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3564, allocations: 32.59 kB / 1.365 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.3587, allocations: 1.782 MB / 1.366 GB, free: 8.105 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3591, allocations: 368.1 kB / 1.367 GB, free: 7.719 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.3592, allocations: 36.47 kB / 1.367 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3593, allocations: 31.34 kB / 1.367 GB, free: 7.648 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3593, allocations: 0 / 1.367 GB, free: 7.648 MB / 1.061 GB Notification: Performance of Templates: time 0.02532/0.3846, allocations: 14.99 MB / 1.381 GB, free: 8.773 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.824185523000779]