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.0008563/0.0008563, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008163/0.0008163, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8943/0.8943, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.771/1.771, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.65e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001751/0.001777, allocations: 1.434 MB / 0.9837 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004327/0.006104, allocations: 3.867 MB / 0.9875 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.006151, allocations: 0 / 0.9875 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.006263, allocations: 11.86 kB / 0.9875 GB, free: 12.67 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.006497, allocations: 31.78 kB / 0.9875 GB, free: 12.64 MB / 0.948 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.002195/0.008692, allocations: 1.604 MB / 0.9891 GB, free: 11.04 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.008804, allocations: 99.66 kB / 0.9892 GB, free: 10.94 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.008846, allocations: 4 kB / 0.9892 GB, free: 10.93 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.008923, allocations: 59.81 kB / 0.9892 GB, free: 10.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.009097, allocations: 139.7 kB / 0.9894 GB, free: 10.74 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.009125, allocations: 16 kB / 0.9894 GB, free: 10.72 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.01116, allocations: 2.405 MB / 0.9917 GB, free: 8.312 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.01131, allocations: 271.9 kB / 0.992 GB, free: 8.047 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.01142, allocations: 156 kB / 0.9921 GB, free: 7.895 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.0133, allocations: 2.459 MB / 0.9945 GB, free: 5.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01331, allocations: 0 / 0.9945 GB, free: 5.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01331, allocations: 0 / 0.9945 GB, free: 5.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.01331, allocations: 0 / 0.9945 GB, free: 5.43 MB / 0.948 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.004131/0.01745, allocations: 1.276 MB / 0.9958 GB, free: 4.117 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.01748, allocations: 8.031 kB / 0.9958 GB, free: 4.109 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.01772, allocations: 92.25 kB / 0.9959 GB, free: 4.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.018, allocations: 314.4 kB / 0.9962 GB, free: 3.676 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.01801, allocations: 4.375 kB / 0.9962 GB, free: 3.672 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.01803, allocations: 8.359 kB / 0.9962 GB, free: 3.664 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.01834, allocations: 391.8 kB / 0.9966 GB, free: 3.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.01834, allocations: 192 / 0.9966 GB, free: 3.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.01836, allocations: 384 / 0.9966 GB, free: 3.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.01836, allocations: 7.875 kB / 0.9966 GB, free: 3.262 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.01863, allocations: 435.7 kB / 0.997 GB, free: 2.836 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.01901, allocations: 0.5693 MB / 0.9975 GB, free: 2.234 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.01934, allocations: 0.5555 MB / 0.9981 GB, free: 1.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.01954, allocations: 337.7 kB / 0.9984 GB, free: 1.324 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.01993, allocations: 143.8 kB / 0.9985 GB, free: 1.184 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.02019, allocations: 396.9 kB / 0.9989 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.02019, allocations: 3.938 kB / 0.9989 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0008853/0.02108, allocations: 1.294 MB / 1 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.02112, allocations: 92.97 kB / 1 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.02187, allocations: 1.219 MB / 1.001 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.0219, allocations: 33.69 kB / 1.001 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.02203, allocations: 261.9 kB / 1.002 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.02206, allocations: 23.84 kB / 1.002 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.02227, allocations: 347.6 kB / 1.002 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.0224, allocations: 310 kB / 1.002 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.02317, allocations: 1.369 MB / 1.004 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/0.02399, allocations: 1.505 MB / 1.005 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/0.02846, allocations: 3.557 MB / 1.009 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02847, allocations: 0 / 1.009 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002825/0.03129, allocations: 4.007 MB / 1.013 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.03131, allocations: 12 kB / 1.013 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.03132, allocations: 0 / 1.013 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.03134, allocations: 3.984 kB / 1.013 GB, free: 2.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.03142, allocations: 23.86 kB / 1.013 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.03142, allocations: 4 kB / 1.013 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.03168, allocations: 241.3 kB / 1.013 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.03171, allocations: 23.98 kB / 1.013 GB, free: 2.27 MB / 0.9636 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.0002065/0.03192, allocations: 237.7 kB / 1.013 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.03196, allocations: 79.3 kB / 1.013 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006448/0.0326, allocations: 0.9438 MB / 1.014 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.03261, allocations: 0 / 1.014 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.03261, allocations: 3.938 kB / 1.014 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.03262, allocations: 4 kB / 1.014 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.03287, allocations: 447.3 kB / 1.015 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.03288, allocations: 0 / 1.015 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.03291, allocations: 7.984 kB / 1.015 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.03292, allocations: 4.031 kB / 1.015 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.03293, allocations: 4 kB / 1.015 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.03293, allocations: 0 / 1.015 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03293, allocations: 0 / 1.015 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.0335, allocations: 1.006 MB / 1.016 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.03355, allocations: 83.3 kB / 1.016 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.03358, allocations: 4 kB / 1.016 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.03367, allocations: 7.984 kB / 1.016 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.0337, allocations: 11.94 kB / 1.016 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.03372, allocations: 15.97 kB / 1.016 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005235/0.03425, allocations: 0.6689 MB / 1.016 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.03425, allocations: 0 / 1.016 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00113/0.03538, allocations: 0.5923 MB / 1.017 GB, free: 14.09 MB / 0.9792 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.001325/0.0367, allocations: 0.7885 MB / 1.018 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.03793, allocations: 2.001 MB / 1.02 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.03793, allocations: 0 / 1.02 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.03814, allocations: 327.8 kB / 1.02 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.03836, allocations: 44.59 kB / 1.02 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.03972, allocations: 1.809 MB / 1.022 GB, free: 9.078 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.03993, allocations: 368.1 kB / 1.022 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.04, allocations: 28.47 kB / 1.022 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.04, allocations: 0 / 1.022 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of Templates: time 0.01202/0.05203, allocations: 14.41 MB / 1.036 GB, free: 10.27 MB / 0.9948 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 -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/jenkins/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: 11.092930323444307]