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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 387.4 MB / 394.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 179.5 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008603, allocations: 95.19 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.925e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.361, allocations: 163.6 MB / 1.366 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.362, allocations: 106.4 kB / 1.366 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07335/1.435, allocations: 21.92 MB / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.714e-06/1.435, allocations: 0 / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.802e-05/1.435, allocations: 11.53 kB / 1.387 GB, free: 27.56 MB / 0.8386 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.002179/1.437, allocations: 1.017 MB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.437, allocations: 7.812 kB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/1.438, allocations: 101.4 kB / 1.388 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/1.438, allocations: 423.3 kB / 1.389 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.438, allocations: 0 / 1.389 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/1.438, allocations: 22.92 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003119/1.439, allocations: 431.8 kB / 1.389 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/1.439, allocations: 376.1 kB / 1.39 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/1.439, allocations: 0 / 1.39 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.439, allocations: 3.812 kB / 1.39 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.439, allocations: 3.953 kB / 1.39 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/1.44, allocations: 0.6929 MB / 1.39 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/1.44, allocations: 0.5588 MB / 1.391 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/1.44, allocations: 322.8 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007718/1.441, allocations: 1.037 MB / 1.392 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/1.441, allocations: 397.6 kB / 1.392 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/1.441, allocations: 3.938 kB / 1.392 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0007405/1.442, allocations: 0.9653 MB / 1.393 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.442, allocations: 80.95 kB / 1.393 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/1.443, allocations: 1.001 MB / 1.394 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/1.443, allocations: 29.55 kB / 1.394 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/1.443, allocations: 259.1 kB / 1.395 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/1.443, allocations: 22.61 kB / 1.395 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/1.443, allocations: 0 / 1.395 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.443, allocations: 421.2 kB / 1.395 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/1.444, allocations: 1.19 MB / 1.396 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009994/1.445, allocations: 1.321 MB / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.447, allocations: 1.588 MB / 1.399 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.447, allocations: 0 / 1.399 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003052/1.45, allocations: 3.384 MB / 1.402 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.45, allocations: 3.719 kB / 1.402 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.45, allocations: 0 / 1.402 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.45, allocations: 3.875 kB / 1.402 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/1.45, allocations: 142.9 kB / 1.403 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.45, allocations: 7.969 kB / 1.403 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/1.451, allocations: 230.8 kB / 1.403 GB, free: 21.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/1.451, allocations: 60.52 kB / 1.403 GB, free: 21.05 MB / 0.8386 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.451, allocations: 128.6 kB / 1.403 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/1.451, allocations: 62.31 kB / 1.403 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/1.452, allocations: 0.9235 MB / 1.404 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.452, allocations: 4 kB / 1.404 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.452, allocations: 0 / 1.404 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.452, allocations: 0 / 1.404 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/1.452, allocations: 478.7 kB / 1.404 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.452, allocations: 0 / 1.404 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/1.452, allocations: 12.02 kB / 1.404 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.452, allocations: 7.938 kB / 1.404 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.452, allocations: 0 / 1.404 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.452, allocations: 0 / 1.404 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.452, allocations: 4 kB / 1.404 GB, free: 20.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/1.453, allocations: 1.001 MB / 1.405 GB, free: 19.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/1.453, allocations: 151.9 kB / 1.406 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/1.453, allocations: 0 / 1.406 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/1.453, allocations: 7.984 kB / 1.406 GB, free: 18.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/1.453, allocations: 7.938 kB / 1.406 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/1.453, allocations: 15.97 kB / 1.406 GB, free: 18.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004802/1.454, allocations: 0.5947 MB / 1.406 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.51e-07/1.454, allocations: 0 / 1.406 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001505/1.455, allocations: 475.9 kB / 1.407 GB, free: 17.88 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/1.457, allocations: 0.5696 MB / 1.407 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.458, allocations: 2.33 MB / 1.409 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.458, allocations: 0 / 1.409 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/1.458, allocations: 331 kB / 1.41 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/1.459, allocations: 34.38 kB / 1.41 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.46, allocations: 1.423 MB / 1.411 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/1.461, allocations: 0.9814 MB / 1.412 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001972/1.461, allocations: 63.3 kB / 1.412 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.461, allocations: 34.92 kB / 1.412 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of SimCode: time 6.92e-07/1.461, allocations: 0 / 1.412 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.01733/1.479, allocations: 8.902 MB / 1.421 GB, free: 4.09 MB / 0.8386 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","../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