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.001927/0.001927, allocations: 103 kB / 16.45 MB, free: 6.449 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.002477/0.002477, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.282/3.282, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 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.002222/0.002222, allocations: 73.72 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3239, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003363/0.3272, allocations: 1.791 MB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008864/0.3361, allocations: 5.456 MB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3363, allocations: 0 / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.3377, allocations: 378.4 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3378, allocations: 55.67 kB / 1.329 GB, free: 11.08 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.004413/0.3422, allocations: 1.524 MB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3425, allocations: 159.4 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.43e-05/0.3426, allocations: 9.562 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.3427, allocations: 63.72 kB / 1.331 GB, free: 9.328 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.343, allocations: 171.4 kB / 1.331 GB, free: 9.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.343, allocations: 16 kB / 1.331 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.347, allocations: 2.344 MB / 1.333 GB, free: 6.797 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3473, allocations: 275.8 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.3477, allocations: 310.1 kB / 1.334 GB, free: 6.219 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.3513, allocations: 2.2 MB / 1.336 GB, free: 4.012 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3513, allocations: 4 kB / 1.336 GB, free: 4.008 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3513, allocations: 0 / 1.336 GB, free: 4.008 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.3513, allocations: 7.938 kB / 1.336 GB, free: 4 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.01106/0.3624, allocations: 1.414 MB / 1.337 GB, free: 2.531 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3624, allocations: 15.98 kB / 1.337 GB, free: 2.516 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/0.3629, allocations: 104.1 kB / 1.337 GB, free: 2.414 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.3635, allocations: 406.4 kB / 1.338 GB, free: 1.969 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3635, allocations: 8.375 kB / 1.338 GB, free: 1.961 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.3635, allocations: 4.375 kB / 1.338 GB, free: 1.957 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.3641, allocations: 395.5 kB / 1.338 GB, free: 1.559 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3641, allocations: 0 / 1.338 GB, free: 1.559 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3641, allocations: 4 kB / 1.338 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3641, allocations: 0 / 1.338 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.3646, allocations: 439.7 kB / 1.338 GB, free: 1.125 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.3653, allocations: 0.6737 MB / 1.339 GB, free: 412 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.3659, allocations: 0.5595 MB / 1.34 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.3663, allocations: 333.6 kB / 1.34 GB, free: 15.49 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.3675, allocations: 1.028 MB / 1.341 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/0.368, allocations: 404.8 kB / 1.341 GB, free: 13.83 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.368, allocations: 4 kB / 1.341 GB, free: 13.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001559/0.3695, allocations: 1.305 MB / 1.343 GB, free: 12.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.3696, allocations: 85.05 kB / 1.343 GB, free: 12.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.371, allocations: 1.294 MB / 1.344 GB, free: 11.11 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.3711, allocations: 33.7 kB / 1.344 GB, free: 11.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.3713, allocations: 294 kB / 1.344 GB, free: 10.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3714, allocations: 23.8 kB / 1.344 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.3718, allocations: 351.6 kB / 1.345 GB, free: 10.4 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3719, allocations: 322 kB / 1.345 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.3734, allocations: 1.369 MB / 1.346 GB, free: 8.711 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.375, allocations: 1.505 MB / 1.348 GB, free: 7.195 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007862/0.3829, allocations: 3.557 MB / 1.351 GB, free: 3.547 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3829, allocations: 0 / 1.351 GB, free: 3.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005319/0.3882, allocations: 4.019 MB / 1.355 GB, free: 15.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3882, allocations: 6.188 kB / 1.355 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.3882, allocations: 4 kB / 1.355 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3882, allocations: 4.031 kB / 1.355 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3884, allocations: 23.91 kB / 1.355 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.3884, allocations: 4.062 kB / 1.355 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.389, allocations: 245.3 kB / 1.355 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.3891, allocations: 23.98 kB / 1.355 GB, free: 15.19 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.0003768/0.3895, allocations: 243.9 kB / 1.356 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.3895, allocations: 83.17 kB / 1.356 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.3899, allocations: 91.75 kB / 1.356 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3899, allocations: 0 / 1.356 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3899, allocations: 0 / 1.356 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3899, allocations: 0 / 1.356 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.3905, allocations: 0.5141 MB / 1.356 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3905, allocations: 0 / 1.356 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.3906, allocations: 15.92 kB / 1.356 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-06/0.3906, allocations: 4.031 kB / 1.356 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3906, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3906, allocations: 4 kB / 1.356 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3906, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.3918, allocations: 1.01 MB / 1.357 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.3919, allocations: 172.3 kB / 1.357 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.392, allocations: 12 kB / 1.357 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.3922, allocations: 3.984 kB / 1.358 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3922, allocations: 4 kB / 1.358 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.3922, allocations: 19.97 kB / 1.358 GB, free: 12.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009087/0.3931, allocations: 0.7222 MB / 1.358 GB, free: 12.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 1.358 GB, free: 12.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00158/0.3947, allocations: 0.5923 MB / 1.359 GB, free: 11.6 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.00196/0.3967, allocations: 0.7024 MB / 1.359 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.399, allocations: 1.993 MB / 1.361 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.399, allocations: 0 / 1.361 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.3994, allocations: 343.7 kB / 1.362 GB, free: 8.562 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3998, allocations: 68 kB / 1.362 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.4023, allocations: 1.891 MB / 1.364 GB, free: 6.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.4029, allocations: 0.9918 MB / 1.365 GB, free: 5.555 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.4031, allocations: 41.62 kB / 1.365 GB, free: 5.516 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4032, allocations: 31.36 kB / 1.365 GB, free: 5.484 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.4032, allocations: 0 / 1.365 GB, free: 5.484 MB / 1.061 GB Notification: Performance of Templates: time 0.02646/0.4297, allocations: 14.47 MB / 1.379 GB, free: 7.078 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/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: 9.989453988149762]