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.001735/0.001735, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002089/0.002089, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.82 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.482/3.482, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002292/0.002292, allocations: 67.16 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4665, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003416/0.4699, allocations: 1.733 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008981/0.4789, allocations: 4.888 MB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.4791, allocations: 3.938 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.4806, allocations: 338.5 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.4807, allocations: 67.66 kB / 1.371 GB, free: 6.523 MB / 1.061 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.004957/0.4857, allocations: 1.579 MB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.486, allocations: 171.3 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.4861, allocations: 5.75 kB / 1.372 GB, free: 4.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.4862, allocations: 67.7 kB / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.4864, allocations: 171.4 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.4865, allocations: 12 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004273/0.4908, allocations: 2.39 MB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.491, allocations: 275.8 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.4913, allocations: 242.7 kB / 1.376 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.4947, allocations: 2.216 MB / 1.378 GB, free: 15.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4947, allocations: 0 / 1.378 GB, free: 15.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4947, allocations: 0 / 1.378 GB, free: 15.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.4948, allocations: 0 / 1.378 GB, free: 15.39 MB / 1.076 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.01019/0.5049, allocations: 1.338 MB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.505, allocations: 11.97 kB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.5054, allocations: 100.2 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.506, allocations: 352.5 kB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.506, allocations: 8.359 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.5061, allocations: 8.375 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.5066, allocations: 387.5 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5066, allocations: 3.938 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5066, allocations: 0 / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5066, allocations: 0 / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.5071, allocations: 439.7 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.5077, allocations: 0.5937 MB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.5083, allocations: 0.5555 MB / 1.381 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.5087, allocations: 329.7 kB / 1.382 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/0.5093, allocations: 143.7 kB / 1.382 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004783/0.5098, allocations: 416.8 kB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.5098, allocations: 0 / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001511/0.5113, allocations: 1.297 MB / 1.384 GB, free: 9.293 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.5114, allocations: 85.05 kB / 1.384 GB, free: 9.191 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.5128, allocations: 1.298 MB / 1.385 GB, free: 7.883 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.5129, allocations: 33.83 kB / 1.385 GB, free: 7.844 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.5131, allocations: 289.9 kB / 1.385 GB, free: 7.555 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.5131, allocations: 23.83 kB / 1.385 GB, free: 7.531 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.5135, allocations: 355.6 kB / 1.386 GB, free: 7.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5137, allocations: 318 kB / 1.386 GB, free: 6.863 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5151, allocations: 1.373 MB / 1.387 GB, free: 5.488 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.5167, allocations: 1.501 MB / 1.389 GB, free: 3.977 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007636/0.5244, allocations: 3.557 MB / 1.392 GB, free: 336 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5244, allocations: 3.938 kB / 1.392 GB, free: 332 kB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004845/0.5292, allocations: 4.019 MB / 1.396 GB, free: 12.27 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.5292, allocations: 7.938 kB / 1.396 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.5293, allocations: 4 kB / 1.396 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.5293, allocations: 0 / 1.396 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.5294, allocations: 19.92 kB / 1.396 GB, free: 12.24 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5294, allocations: 4.344 kB / 1.396 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/0.53, allocations: 241.3 kB / 1.396 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.5301, allocations: 27.98 kB / 1.396 GB, free: 11.97 MB / 1.092 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.000363/0.5304, allocations: 238.3 kB / 1.397 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.774e-05/0.5305, allocations: 87.19 kB / 1.397 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.5317, allocations: 0.9562 MB / 1.398 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5317, allocations: 8.016 kB / 1.398 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5317, allocations: 0 / 1.398 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5317, allocations: 0 / 1.398 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.5322, allocations: 460.4 kB / 1.398 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5322, allocations: 0 / 1.398 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.5323, allocations: 11.98 kB / 1.398 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5323, allocations: 3.938 kB / 1.398 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.5323, allocations: 11.88 kB / 1.398 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.5323, allocations: 4 kB / 1.398 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5323, allocations: 0 / 1.398 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.5334, allocations: 1.014 MB / 1.399 GB, free: 9.125 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5335, allocations: 95.19 kB / 1.399 GB, free: 9.031 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.5336, allocations: 7.938 kB / 1.399 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.5337, allocations: 7.984 kB / 1.399 GB, free: 9.016 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.5338, allocations: 0 / 1.399 GB, free: 9.016 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.5338, allocations: 15.97 kB / 1.399 GB, free: 9 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008572/0.5347, allocations: 0.7222 MB / 1.4 GB, free: 8.273 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5347, allocations: 3.938 kB / 1.4 GB, free: 8.27 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001705/0.5364, allocations: 0.5962 MB / 1.4 GB, free: 7.672 MB / 1.092 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.001852/0.5382, allocations: 0.7041 MB / 1.401 GB, free: 6.98 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.5405, allocations: 1.995 MB / 1.403 GB, free: 4.973 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5406, allocations: 0 / 1.403 GB, free: 4.973 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.5409, allocations: 339.9 kB / 1.403 GB, free: 4.641 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.5413, allocations: 48.72 kB / 1.403 GB, free: 4.59 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.5439, allocations: 1.9 MB / 1.405 GB, free: 2.652 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.5443, allocations: 389.8 kB / 1.406 GB, free: 2.25 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.5445, allocations: 45.39 kB / 1.406 GB, free: 2.203 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.5446, allocations: 27.42 kB / 1.406 GB, free: 2.176 MB / 1.092 GB Notification: Performance of SimCode: time 4.81e-07/0.5446, allocations: 4 kB / 1.406 GB, free: 2.172 MB / 1.092 GB Notification: Performance of Templates: time 0.02779/0.5724, allocations: 15.74 MB / 1.421 GB, free: 2.574 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.323147777467966]