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.001661/0.001661, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001792/0.001792, allocations: 213.4 kB / 23.04 MB, free: 4.863 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.291/3.291, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.002091/0.002091, allocations: 65.64 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3931, allocations: 176.1 MB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003429/0.3966, allocations: 1.737 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008507/0.4051, allocations: 4.895 MB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.4052, allocations: 0 / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.4066, allocations: 342.5 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.4068, allocations: 63.66 kB / 1.334 GB, free: 9.844 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.004666/0.4115, allocations: 1.597 MB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.4118, allocations: 156.8 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.4119, allocations: 5.75 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.872e-05/0.412, allocations: 67.7 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.4122, allocations: 167.5 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.4123, allocations: 19.94 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.4167, allocations: 2.398 MB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.417, allocations: 279.8 kB / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.4173, allocations: 234.8 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.4216, allocations: 2.22 MB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4216, allocations: 0 / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4216, allocations: 0 / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.4216, allocations: 0 / 1.341 GB, free: 2.703 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.01071/0.4323, allocations: 1.351 MB / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4323, allocations: 8.031 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/0.4328, allocations: 104.2 kB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.4334, allocations: 348.6 kB / 1.343 GB, free: 0.832 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.4334, allocations: 8.312 kB / 1.343 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.4335, allocations: 16.3 kB / 1.343 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.4339, allocations: 391.5 kB / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.434, allocations: 0 / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.434, allocations: 0 / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.434, allocations: 0 / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.4345, allocations: 443.7 kB / 1.344 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.4352, allocations: 0.5976 MB / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.4357, allocations: 0.5555 MB / 1.345 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.4361, allocations: 329.7 kB / 1.345 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.4367, allocations: 135.9 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.4372, allocations: 400.9 kB / 1.346 GB, free: 13.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.4372, allocations: 0 / 1.346 GB, free: 13.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001505/0.4387, allocations: 1.305 MB / 1.347 GB, free: 12.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.4387, allocations: 85.11 kB / 1.347 GB, free: 12.49 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4401, allocations: 1.298 MB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.4402, allocations: 29.83 kB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.4404, allocations: 293.9 kB / 1.349 GB, free: 10.86 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.4405, allocations: 23.8 kB / 1.349 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.4408, allocations: 355.6 kB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.441, allocations: 318 kB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4423, allocations: 1.369 MB / 1.351 GB, free: 8.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4438, allocations: 1.505 MB / 1.352 GB, free: 7.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00737/0.4512, allocations: 3.557 MB / 1.355 GB, free: 3.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.4512, allocations: 0 / 1.355 GB, free: 3.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005013/0.4562, allocations: 4.019 MB / 1.359 GB, free: 15.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.4562, allocations: 7.938 kB / 1.359 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.4562, allocations: 4 kB / 1.359 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4563, allocations: 7.922 kB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4564, allocations: 19.92 kB / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4564, allocations: 4.031 kB / 1.359 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.457, allocations: 245.3 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.4571, allocations: 27.98 kB / 1.36 GB, free: 15.26 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.0003871/0.4575, allocations: 242.2 kB / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.4576, allocations: 79.23 kB / 1.36 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.4587, allocations: 0.9446 MB / 1.361 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4587, allocations: 4.031 kB / 1.361 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4587, allocations: 4 kB / 1.361 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4587, allocations: 7.922 kB / 1.361 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.4592, allocations: 468.3 kB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4593, allocations: 0 / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.4593, allocations: 8 kB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.4593, allocations: 4 kB / 1.361 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.4594, allocations: 7.922 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4594, allocations: 0 / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.4594, allocations: 7.938 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4604, allocations: 1.01 MB / 1.362 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4605, allocations: 87.3 kB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.4606, allocations: 7.938 kB / 1.362 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4607, allocations: 3.984 kB / 1.362 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.4608, allocations: 4 kB / 1.362 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.4608, allocations: 15.97 kB / 1.363 GB, free: 12.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009217/0.4617, allocations: 0.7222 MB / 1.363 GB, free: 11.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4617, allocations: 0 / 1.363 GB, free: 11.58 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002066/0.4638, allocations: 0.5962 MB / 1.364 GB, free: 10.98 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.002123/0.4659, allocations: 0.7161 MB / 1.364 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.4683, allocations: 1.997 MB / 1.366 GB, free: 8.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4683, allocations: 0 / 1.366 GB, free: 8.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.4687, allocations: 343.9 kB / 1.367 GB, free: 7.934 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.4692, allocations: 54.97 kB / 1.367 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.4719, allocations: 1.941 MB / 1.369 GB, free: 5.895 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4723, allocations: 393.8 kB / 1.369 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.4725, allocations: 31.41 kB / 1.369 GB, free: 5.453 MB / 1.061 GB Notification: Performance of SimCode: time 1.292e-06/0.4725, allocations: 0 / 1.369 GB, free: 5.453 MB / 1.061 GB Notification: Performance of Templates: time 0.02889/0.5014, allocations: 15.03 MB / 1.384 GB, free: 6.445 MB / 1.076 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/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.53865122818388]