Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00173/0.00173, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001888/0.001888, allocations: 166 kB / 22.46 MB, free: 5.375 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.507/1.507, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.783/2.783, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9511 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.392e-05, allocations: 2.281 kB / 0.9511 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003165/0.003199, allocations: 1.43 MB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007812/0.01101, allocations: 3.849 MB / 0.9562 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.01109, allocations: 0 / 0.9562 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.01123, allocations: 15.8 kB / 0.9562 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.01153, allocations: 35.77 kB / 0.9563 GB, free: 6.125 MB / 0.8575 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.005062/0.01659, allocations: 1.588 MB / 0.9578 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.01678, allocations: 95.66 kB / 0.9579 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.01683, allocations: 4 kB / 0.9579 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.01696, allocations: 59.81 kB / 0.958 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.01726, allocations: 147.7 kB / 0.9581 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.01731, allocations: 16 kB / 0.9581 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.0221, allocations: 2.378 MB / 0.9605 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.02242, allocations: 267.9 kB / 0.9607 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.02266, allocations: 152 kB / 0.9609 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004918/0.02758, allocations: 2.447 MB / 0.9632 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.02759, allocations: 0 / 0.9632 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02759, allocations: 4 kB / 0.9632 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.02761, allocations: 0 / 0.9632 GB, free: 14.96 MB / 0.8731 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.01208/0.03969, allocations: 1.278 MB / 0.9645 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.03974, allocations: 8.031 kB / 0.9645 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.04023, allocations: 92.25 kB / 0.9646 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.04076, allocations: 302.4 kB / 0.9649 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.04078, allocations: 8.359 kB / 0.9649 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.04082, allocations: 12.36 kB / 0.9649 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.04141, allocations: 391.8 kB / 0.9653 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.04143, allocations: 4.188 kB / 0.9653 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.04144, allocations: 4.312 kB / 0.9653 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.04145, allocations: 3.938 kB / 0.9653 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.04199, allocations: 439.7 kB / 0.9657 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007584/0.04275, allocations: 0.5654 MB / 0.9663 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.04341, allocations: 0.5633 MB / 0.9668 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.04379, allocations: 333.7 kB / 0.9671 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007384/0.04453, allocations: 135.9 kB / 0.9673 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.04503, allocations: 400.9 kB / 0.9676 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.04503, allocations: 4 kB / 0.9676 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001673/0.0467, allocations: 1.293 MB / 0.9689 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.04678, allocations: 85.05 kB / 0.969 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.04834, allocations: 1.219 MB / 0.9702 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.04839, allocations: 33.64 kB / 0.9702 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.04865, allocations: 261.9 kB / 0.9705 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.0487, allocations: 23.84 kB / 0.9705 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.04915, allocations: 347.7 kB / 0.9708 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.0493, allocations: 314 kB / 0.9711 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.05086, allocations: 1.369 MB / 0.9724 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.05255, allocations: 1.505 MB / 0.9739 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008194/0.06075, allocations: 3.553 MB / 0.9774 GB, free: 168 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.06075, allocations: 0 / 0.9774 GB, free: 168 kB / 0.8731 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005555/0.06631, allocations: 4.015 MB / 0.9813 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.06634, allocations: 6.031 kB / 0.9813 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.06636, allocations: 4 kB / 0.9813 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.06638, allocations: 0 / 0.9813 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.06653, allocations: 19.92 kB / 0.9813 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.06654, allocations: 7.938 kB / 0.9813 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.06712, allocations: 241.3 kB / 0.9816 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.06718, allocations: 32.02 kB / 0.9816 GB, free: 11.81 MB / 0.8887 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.000389/0.06757, allocations: 237.7 kB / 0.9818 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.06767, allocations: 67.34 kB / 0.9819 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.06891, allocations: 0.9399 MB / 0.9828 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.06892, allocations: 0 / 0.9828 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.06893, allocations: 3.938 kB / 0.9828 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.06893, allocations: 4 kB / 0.9828 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.06947, allocations: 455.4 kB / 0.9833 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.06948, allocations: 0 / 0.9833 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.06955, allocations: 7.984 kB / 0.9833 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.06956, allocations: 0 / 0.9833 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.06958, allocations: 8 kB / 0.9833 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.06958, allocations: 0 / 0.9833 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.06958, allocations: 400 / 0.9833 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.07075, allocations: 1.01 MB / 0.9843 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.07088, allocations: 79.34 kB / 0.9843 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.07095, allocations: 4 kB / 0.9843 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.07111, allocations: 7.984 kB / 0.9843 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.07116, allocations: 11.94 kB / 0.9844 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.0712, allocations: 11.97 kB / 0.9844 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009063/0.07211, allocations: 0.6689 MB / 0.985 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.07211, allocations: 0 / 0.985 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001858/0.07396, allocations: 0.5884 MB / 0.9856 GB, free: 7.637 MB / 0.8887 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.002597/0.07656, allocations: 0.7966 MB / 0.9864 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.07905, allocations: 1.997 MB / 0.9883 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.07905, allocations: 0 / 0.9883 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.07952, allocations: 339.7 kB / 0.9886 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.07989, allocations: 44.53 kB / 0.9887 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.0824, allocations: 1.772 MB / 0.9904 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.0828, allocations: 368.1 kB / 0.9908 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.08293, allocations: 36.42 kB / 0.9908 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.08304, allocations: 28.47 kB / 0.9908 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.08304, allocations: 4 kB / 0.9908 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of Templates: time 0.02733/0.1104, allocations: 13.97 MB / 1.004 GB, free: 4.371 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.5443619415164]