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.001115/0.001115, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001019/0.001019, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9534/0.9534, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.868/1.868, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.403e-06/1.403e-06, allocations: 0 / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.448e-05, allocations: 6.5 kB / 0.8116 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.005251/0.005275, allocations: 1.486 MB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.0173, allocations: 4.046 MB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.01737, allocations: 4.875 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.01749, allocations: 15.86 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.01775, allocations: 36.67 kB / 0.8171 GB, free: 12.04 MB / 0.7761 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.005794/0.02354, allocations: 1.62 MB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.02368, allocations: 95.66 kB / 0.8188 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.02372, allocations: 4 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.02379, allocations: 55.81 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.02398, allocations: 150.1 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.02401, allocations: 12 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.02661, allocations: 2.413 MB / 0.8213 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.02678, allocations: 272.5 kB / 0.8216 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.0269, allocations: 152 kB / 0.8217 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.02914, allocations: 2.473 MB / 0.8242 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.02914, allocations: 4 kB / 0.8242 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.02914, allocations: 0 / 0.8242 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.02915, allocations: 2.875 kB / 0.8242 GB, free: 4.797 MB / 0.7761 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.004227/0.03338, allocations: 1.4 MB / 0.8255 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.03341, allocations: 12.03 kB / 0.8255 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.03366, allocations: 92.2 kB / 0.8256 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.03394, allocations: 301.3 kB / 0.8259 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.03395, allocations: 5.312 kB / 0.8259 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.034, allocations: 8.375 kB / 0.8259 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.03431, allocations: 371.2 kB / 0.8263 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.03433, allocations: 4.125 kB / 0.8263 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.03434, allocations: 5.391 kB / 0.8263 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.03435, allocations: 3.938 kB / 0.8263 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.03457, allocations: 384.9 kB / 0.8267 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.03499, allocations: 0.6391 MB / 0.8273 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.03531, allocations: 0.5185 MB / 0.8278 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.03549, allocations: 307.2 kB / 0.8281 GB, free: 0.6172 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.03585, allocations: 137.7 kB / 0.8282 GB, free: 500 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.03609, allocations: 388.1 kB / 0.8286 GB, free: 88 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.03609, allocations: 1.094 kB / 0.8286 GB, free: 88 kB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0008228/0.03692, allocations: 1.169 MB / 0.8297 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.03696, allocations: 89.03 kB / 0.8298 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/0.03767, allocations: 1.188 MB / 0.831 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.0377, allocations: 25.7 kB / 0.831 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.03786, allocations: 351.6 kB / 0.8313 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.03789, allocations: 27.81 kB / 0.8314 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.03816, allocations: 402.5 kB / 0.8317 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.03831, allocations: 492.4 kB / 0.8322 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.03873, allocations: 0.6742 MB / 0.8329 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.03925, allocations: 0.8438 MB / 0.8337 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.04098, allocations: 2.626 MB / 0.8363 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.04098, allocations: 4.125 kB / 0.8363 GB, free: 8.055 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002864/0.04384, allocations: 4.227 MB / 0.8404 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.04386, allocations: 7.984 kB / 0.8404 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.04388, allocations: 4 kB / 0.8404 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.0439, allocations: 3.938 kB / 0.8404 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.044, allocations: 31.92 kB / 0.8404 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.044, allocations: 0 / 0.8404 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.04427, allocations: 237.4 kB / 0.8407 GB, free: 3.512 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.0443, allocations: 23.98 kB / 0.8407 GB, free: 3.488 MB / 0.7917 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.0001331/0.04444, allocations: 164.6 kB / 0.8408 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.04448, allocations: 83.27 kB / 0.8409 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006032/0.04508, allocations: 0.8502 MB / 0.8418 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.04509, allocations: 0 / 0.8418 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.04509, allocations: 7.938 kB / 0.8418 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.0451, allocations: 0 / 0.8418 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.0454, allocations: 496 kB / 0.8422 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0454, allocations: 3.938 kB / 0.8422 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.04544, allocations: 11.97 kB / 0.8422 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.04544, allocations: 4 kB / 0.8423 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.04545, allocations: 3.984 kB / 0.8423 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.04546, allocations: 0 / 0.8423 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04546, allocations: 4 kB / 0.8423 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.04601, allocations: 0.9343 MB / 0.8432 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.04606, allocations: 79.34 kB / 0.8432 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.0461, allocations: 0 / 0.8432 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.04616, allocations: 4 kB / 0.8433 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.04619, allocations: 11.92 kB / 0.8433 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.04621, allocations: 23.91 kB / 0.8433 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003608/0.04657, allocations: 0.5557 MB / 0.8438 GB, free: 188 kB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.04658, allocations: 0 / 0.8438 GB, free: 188 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009944/0.04757, allocations: 0.5884 MB / 0.8444 GB, free: 15.59 MB / 0.8073 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.001338/0.04891, allocations: 0.7925 MB / 0.8452 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009668/0.04987, allocations: 1.41 MB / 0.8466 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.04988, allocations: 4.062 kB / 0.8466 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.05007, allocations: 307.5 kB / 0.8469 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.05028, allocations: 36.59 kB / 0.8469 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.05147, allocations: 1.591 MB / 0.8484 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.05158, allocations: 187 kB / 0.8486 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.657e-05/0.05165, allocations: 40.39 kB / 0.8487 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.05172, allocations: 24.48 kB / 0.8487 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of SimCode: time 1.011e-06/0.05172, allocations: 0 / 0.8487 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.01602/0.06774, allocations: 14.37 MB / 0.8627 GB, free: 12.89 MB / 0.823 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.610432962886989]