Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007208/0.007208, allocations: 105.9 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 196.7 kB / 16.67 MB, free: 5.957 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.571/1.571, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 68.06 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7351, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002265/0.7374, allocations: 1.412 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004174/0.7416, allocations: 3.023 MB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.7416, allocations: 4.969 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.7418, allocations: 7.969 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.742, allocations: 37.05 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.7452, allocations: 0.9903 MB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.7454, allocations: 83.28 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.7454, allocations: 7.281 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.7455, allocations: 43.34 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.7458, allocations: 140.3 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.7459, allocations: 13.5 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.7487, allocations: 1.384 MB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.7491, allocations: 274.5 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.7494, allocations: 271.1 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.752, allocations: 1.474 MB / 1.097 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.752, allocations: 4 kB / 1.097 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.534e-06/0.7521, allocations: 0.9062 kB / 1.097 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7521, allocations: 3.938 kB / 1.097 GB, free: 0.8633 MB / 0.8575 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.01039/0.7625, allocations: 1.207 MB / 1.098 GB, free: 4 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.7625, allocations: 9.406 kB / 1.098 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.763, allocations: 85.34 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.7634, allocations: 369.1 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.7635, allocations: 8.391 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.7635, allocations: 8.344 kB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.7641, allocations: 394.1 kB / 1.099 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.7641, allocations: 0 / 1.099 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.7641, allocations: 10.34 kB / 1.099 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.7642, allocations: 0.8438 kB / 1.099 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.7647, allocations: 436.2 kB / 1.099 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.7657, allocations: 0.6242 MB / 1.1 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.7666, allocations: 0.5631 MB / 1.101 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/0.767, allocations: 339.3 kB / 1.101 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.7682, allocations: 1.026 MB / 1.102 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/0.7687, allocations: 412 kB / 1.102 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.7687, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001694/0.7704, allocations: 1.289 MB / 1.103 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.7705, allocations: 80.34 kB / 1.104 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.7721, allocations: 1.208 MB / 1.105 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.7722, allocations: 31.05 kB / 1.105 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.7724, allocations: 259 kB / 1.105 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.7725, allocations: 18.19 kB / 1.105 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/0.7729, allocations: 351.3 kB / 1.105 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.773, allocations: 314.3 kB / 1.106 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.7746, allocations: 1.361 MB / 1.107 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.7761, allocations: 1.5 MB / 1.108 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/0.7836, allocations: 3.536 MB / 1.112 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7837, allocations: 1.312 kB / 1.112 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004664/0.7883, allocations: 3.966 MB / 1.116 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.7884, allocations: 13.98 kB / 1.116 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.7884, allocations: 2.031 kB / 1.116 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7884, allocations: 1.797 kB / 1.116 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.7886, allocations: 14.62 kB / 1.116 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7886, allocations: 1.062 kB / 1.116 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/0.7892, allocations: 228.5 kB / 1.116 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.7893, allocations: 23.08 kB / 1.116 GB, free: 7.559 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.000378/0.7897, allocations: 238.6 kB / 1.116 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.7897, allocations: 75.59 kB / 1.116 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.79, allocations: 72.56 kB / 1.116 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7901, allocations: 1.062 kB / 1.116 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7901, allocations: 1.547 kB / 1.116 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7901, allocations: 1.781 kB / 1.116 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.7906, allocations: 492.8 kB / 1.117 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.7907, allocations: 1 kB / 1.117 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.7907, allocations: 15.55 kB / 1.117 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7908, allocations: 5.125 kB / 1.117 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.7908, allocations: 6.797 kB / 1.117 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.7908, allocations: 1.656 kB / 1.117 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.7908, allocations: 1.031 kB / 1.117 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.7918, allocations: 0.9969 MB / 1.118 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.792, allocations: 154.7 kB / 1.118 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.792, allocations: 7.031 kB / 1.118 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.7922, allocations: 9.281 kB / 1.118 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.7922, allocations: 5.656 kB / 1.118 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.7923, allocations: 12.06 kB / 1.118 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008733/0.7931, allocations: 0.667 MB / 1.119 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7932, allocations: 0 / 1.119 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00168/0.7948, allocations: 401.2 kB / 1.119 GB, free: 6.43 MB / 0.8731 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.00134/0.7962, allocations: 485.8 kB / 1.12 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.7989, allocations: 2.495 MB / 1.122 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7989, allocations: 3.938 kB / 1.122 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.7993, allocations: 342.1 kB / 1.122 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.7997, allocations: 40.09 kB / 1.122 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.8021, allocations: 1.742 MB / 1.124 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.8027, allocations: 0.9657 MB / 1.125 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.8029, allocations: 37.14 kB / 1.125 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.803, allocations: 24.98 kB / 1.125 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/0.803, allocations: 0 / 1.125 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.02163/0.8247, allocations: 9.635 MB / 1.135 GB, free: 3.227 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches