Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001096/0.001096, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008282/0.008282, allocations: 174.5 kB / 16.27 MB, free: 6.648 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 462.6 MB / 0.7363 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 8.812 kB / 0.9028 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001383/0.2715, allocations: 1.151 MB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006188/0.2777, allocations: 4.403 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.2778, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.2779, allocations: 15.86 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.2781, allocations: 31.89 kB / 1.064 GB, free: 15.36 MB / 0.8262 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.002968/0.2811, allocations: 1.173 MB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.2813, allocations: 123.6 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.2813, allocations: 4 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.2814, allocations: 43.91 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.2816, allocations: 168.8 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.2817, allocations: 12 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.2847, allocations: 2.18 MB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.2849, allocations: 263.8 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.2851, allocations: 304 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.2878, allocations: 2.159 MB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2879, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2879, allocations: 3.938 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2879, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 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.01057/0.2985, allocations: 1.246 MB / 1.072 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2985, allocations: 19.95 kB / 1.072 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.2989, allocations: 87.59 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.2993, allocations: 361 kB / 1.072 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2993, allocations: 384 / 1.072 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.2994, allocations: 12.38 kB / 1.072 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.2998, allocations: 395.5 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.2998, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2998, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2998, allocations: 3.938 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.3003, allocations: 439.7 kB / 1.073 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.3008, allocations: 0.6327 MB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.3013, allocations: 0.5712 MB / 1.074 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.3016, allocations: 333.6 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009704/0.3026, allocations: 1.04 MB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/0.303, allocations: 400.8 kB / 1.076 GB, free: 3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 3.046e-06/0.303, allocations: 0 / 1.076 GB, free: 3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001274/0.3043, allocations: 1.289 MB / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3043, allocations: 85.05 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.3054, allocations: 1.222 MB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.3055, allocations: 29.69 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3057, allocations: 265.4 kB / 1.079 GB, free: 64 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3057, allocations: 19.75 kB / 1.079 GB, free: 44 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.306, allocations: 287.7 kB / 1.079 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.3061, allocations: 318.1 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.3074, allocations: 1.369 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.3089, allocations: 1.506 MB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007411/0.3163, allocations: 3.56 MB / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3164, allocations: 0 / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004271/0.3206, allocations: 4.006 MB / 1.089 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3207, allocations: 4 kB / 1.089 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.3207, allocations: 4 kB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3207, allocations: 0 / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3209, allocations: 23.92 kB / 1.089 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3209, allocations: 0 / 1.089 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.3214, allocations: 236.3 kB / 1.09 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.3215, allocations: 23.98 kB / 1.09 GB, free: 4.57 MB / 0.8419 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.0003058/0.3218, allocations: 233.7 kB / 1.09 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.3218, allocations: 74.7 kB / 1.09 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.3221, allocations: 71.02 kB / 1.09 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3221, allocations: 8.031 kB / 1.09 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3222, allocations: 0 / 1.09 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3222, allocations: 0 / 1.09 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.3226, allocations: 496.9 kB / 1.09 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3226, allocations: 7.984 kB / 1.09 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.3227, allocations: 7.938 kB / 1.09 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3227, allocations: 0 / 1.09 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3227, allocations: 11.98 kB / 1.091 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3227, allocations: 3.938 kB / 1.091 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3227, allocations: 0 / 1.091 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.3236, allocations: 1.002 MB / 1.091 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3237, allocations: 155.8 kB / 1.092 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.3238, allocations: 7.984 kB / 1.092 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.324, allocations: 0 / 1.092 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.324, allocations: 19.97 kB / 1.092 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.3241, allocations: 11.98 kB / 1.092 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006965/0.3248, allocations: 0.6728 MB / 1.092 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3248, allocations: 0 / 1.092 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001528/0.3263, allocations: 0.5779 MB / 1.093 GB, free: 1.117 MB / 0.8419 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.001755/0.3281, allocations: 0.6887 MB / 1.094 GB, free: 448 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.3302, allocations: 2.56 MB / 1.096 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3302, allocations: 0 / 1.096 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.3306, allocations: 343.7 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3309, allocations: 37.95 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3329, allocations: 1.934 MB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3334, allocations: 0.9643 MB / 1.099 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.3336, allocations: 40.55 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.3337, allocations: 23.42 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 2.845e-06/0.3337, allocations: 0 / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.02139/0.3551, allocations: 13.18 MB / 1.112 GB, free: 13.32 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches