Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002693/0.002693, allocations: 199.4 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 59.91 kB / 0.8693 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7598, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003083/0.763, allocations: 1.499 MB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007402/0.7704, allocations: 4.495 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.7705, allocations: 3.938 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.7707, allocations: 7.922 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.771, allocations: 27.91 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.003989/0.775, allocations: 1.185 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.7752, allocations: 119.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.7753, allocations: 11.97 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.7754, allocations: 39.84 kB / 1.025 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.7757, allocations: 168.9 kB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.7757, allocations: 12 kB / 1.025 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.7796, allocations: 2.18 MB / 1.027 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.7799, allocations: 267.8 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.7802, allocations: 274.3 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.7828, allocations: 1.499 MB / 1.029 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7829, allocations: 3.938 kB / 1.029 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7829, allocations: 0 / 1.029 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.7829, allocations: 4 kB / 1.029 GB, free: 6.98 MB / 0.7794 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.008316/0.7912, allocations: 1.296 MB / 1.03 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7913, allocations: 8.031 kB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/0.7918, allocations: 95.67 kB / 1.03 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.7923, allocations: 368.8 kB / 1.031 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7923, allocations: 4.375 kB / 1.031 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.7924, allocations: 16.36 kB / 1.031 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.7928, allocations: 391.5 kB / 1.031 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.7929, allocations: 0 / 1.031 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.7929, allocations: 0 / 1.031 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.7929, allocations: 0 / 1.031 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.7934, allocations: 435.7 kB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.7941, allocations: 0.6443 MB / 1.032 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.7946, allocations: 0.5594 MB / 1.033 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.795, allocations: 337.7 kB / 1.033 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.7962, allocations: 1.028 MB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.7966, allocations: 400.8 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.7966, allocations: 0 / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.001464/0.7981, allocations: 1.293 MB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.7982, allocations: 93.03 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.7995, allocations: 1.206 MB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.7996, allocations: 33.7 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.7998, allocations: 265.3 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.7999, allocations: 19.94 kB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.8003, allocations: 347.6 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8004, allocations: 318 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.8017, allocations: 1.369 MB / 1.039 GB, free: 12.02 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.8031, allocations: 1.509 MB / 1.041 GB, free: 10.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007345/0.8105, allocations: 3.557 MB / 1.044 GB, free: 6.855 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.8105, allocations: 0 / 1.044 GB, free: 6.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004861/0.8154, allocations: 4.006 MB / 1.048 GB, free: 2.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.8155, allocations: 4 kB / 1.048 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.8155, allocations: 4 kB / 1.048 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.8155, allocations: 0 / 1.048 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.8157, allocations: 20.02 kB / 1.048 GB, free: 2.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.8157, allocations: 0 / 1.048 GB, free: 2.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.8162, allocations: 236.2 kB / 1.048 GB, free: 2.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.8163, allocations: 23.98 kB / 1.048 GB, free: 2.527 MB / 0.795 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.0003534/0.8167, allocations: 242.1 kB / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.8168, allocations: 74.7 kB / 1.048 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.8171, allocations: 71.08 kB / 1.049 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.8171, allocations: 4 kB / 1.049 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8171, allocations: 0 / 1.049 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8172, allocations: 0 / 1.049 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.8177, allocations: 0.4891 MB / 1.049 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8177, allocations: 4 kB / 1.049 GB, free: 1.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.8178, allocations: 11.88 kB / 1.049 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.8178, allocations: 0 / 1.049 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.8178, allocations: 20.02 kB / 1.049 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8178, allocations: 0 / 1.049 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8178, allocations: 0 / 1.049 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.8188, allocations: 0.9897 MB / 1.05 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.819, allocations: 151.8 kB / 1.05 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.819, allocations: 7.984 kB / 1.05 GB, free: 372 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.8192, allocations: 8 kB / 1.05 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.8193, allocations: 11.97 kB / 1.05 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.8193, allocations: 15.92 kB / 1.05 GB, free: 336 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007932/0.8201, allocations: 0.6728 MB / 1.051 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8201, allocations: 0 / 1.051 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001641/0.8218, allocations: 0.5818 MB / 1.051 GB, free: 15.07 MB / 0.8106 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.002658/0.8244, allocations: 0.7004 MB / 1.052 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.827, allocations: 2.548 MB / 1.055 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.827, allocations: 0 / 1.055 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.8274, allocations: 339.8 kB / 1.055 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.8278, allocations: 38.19 kB / 1.055 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.8304, allocations: 1.967 MB / 1.057 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.8312, allocations: 0.9721 MB / 1.058 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.8313, allocations: 23.42 kB / 1.058 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/0.8313, allocations: 0 / 1.058 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of Templates: time 0.02588/0.8572, allocations: 13.82 MB / 1.071 GB, free: 10.6 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches