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.0009832/0.0009832, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001059/0.001059, allocations: 167.8 kB / 24.87 MB, free: 9.285 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.9196/0.9196, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.888/1.888, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.563e-06/1.563e-06, allocations: 0 / 0.8129 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.306e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001923/0.001946, allocations: 1.48 MB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004406/0.006353, allocations: 3.974 MB / 0.8182 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.006409, allocations: 3.938 kB / 0.8182 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.006517, allocations: 19.8 kB / 0.8182 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.006724, allocations: 33.53 kB / 0.8182 GB, free: 11.82 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.003055/0.009779, allocations: 1.63 MB / 0.8198 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.00991, allocations: 95.67 kB / 0.8199 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.009947, allocations: 7.984 kB / 0.8199 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.01002, allocations: 57.47 kB / 0.82 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.01013, allocations: 49.19 kB / 0.82 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.01014, allocations: 4 kB / 0.82 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.01328, allocations: 2.424 MB / 0.8224 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.01344, allocations: 247.3 kB / 0.8226 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.01355, allocations: 131.3 kB / 0.8228 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.01659, allocations: 2.343 MB / 0.8251 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01659, allocations: 0 / 0.8251 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01659, allocations: 0 / 0.8251 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.0166, allocations: 4 kB / 0.8251 GB, free: 4.852 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.001595/0.01819, allocations: 1.377 MB / 0.8264 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.01823, allocations: 8.031 kB / 0.8264 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.01849, allocations: 93.52 kB / 0.8265 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.01876, allocations: 300.2 kB / 0.8268 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.01877, allocations: 4.375 kB / 0.8268 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.01879, allocations: 4.375 kB / 0.8268 GB, free: 3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.01901, allocations: 238.1 kB / 0.827 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01902, allocations: 4.188 kB / 0.827 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.01903, allocations: 384 / 0.827 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.01904, allocations: 6.531 kB / 0.827 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.01917, allocations: 195.9 kB / 0.8272 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.01954, allocations: 493.2 kB / 0.8277 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.01975, allocations: 297.9 kB / 0.828 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.01985, allocations: 167.3 kB / 0.8281 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/0.02017, allocations: 131.4 kB / 0.8283 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.02037, allocations: 240.2 kB / 0.8285 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.02037, allocations: 0 / 0.8285 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0005976/0.02097, allocations: 0.7625 MB / 0.8292 GB, free: 412 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.021, allocations: 81.05 kB / 0.8293 GB, free: 312 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.02168, allocations: 1.203 MB / 0.8305 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.02171, allocations: 31.36 kB / 0.8305 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.02201, allocations: 356.4 kB / 0.8309 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.02204, allocations: 23.83 kB / 0.8309 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.0223, allocations: 426.2 kB / 0.8313 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.0224, allocations: 488.4 kB / 0.8318 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.02273, allocations: 498.6 kB / 0.8322 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.02312, allocations: 0.66 MB / 0.8329 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.02468, allocations: 2.258 MB / 0.8351 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.02469, allocations: 0 / 0.8351 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002866/0.02755, allocations: 3.848 MB / 0.8388 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.02757, allocations: 4 kB / 0.8388 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.02759, allocations: 4 kB / 0.8388 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.0276, allocations: 4.031 kB / 0.8389 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.0277, allocations: 27.92 kB / 0.8389 GB, free: 6.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.02771, allocations: 3.938 kB / 0.8389 GB, free: 6.328 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.028, allocations: 237.4 kB / 0.8391 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.02803, allocations: 23.98 kB / 0.8391 GB, free: 6.07 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 (labels[1],cluSiz[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.0001518/0.02818, allocations: 156.6 kB / 0.8393 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.02823, allocations: 83.27 kB / 0.8394 GB, free: 5.824 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.02869, allocations: 0.5652 MB / 0.8399 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.0287, allocations: 8.031 kB / 0.8399 GB, free: 5.238 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.0287, allocations: 0 / 0.8399 GB, free: 5.238 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.0287, allocations: 3.938 kB / 0.8399 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.02896, allocations: 366.8 kB / 0.8403 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02897, allocations: 0 / 0.8403 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.02902, allocations: 7.938 kB / 0.8403 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.02902, allocations: 3.984 kB / 0.8403 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.02903, allocations: 4 kB / 0.8403 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02903, allocations: 3.938 kB / 0.8403 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02904, allocations: 0 / 0.8403 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.02944, allocations: 0.6571 MB / 0.8409 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.02949, allocations: 87.28 kB / 0.841 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.02953, allocations: 0 / 0.841 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.0296, allocations: 4 kB / 0.841 GB, free: 4.059 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.02963, allocations: 15.95 kB / 0.841 GB, free: 4.043 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.02966, allocations: 11.92 kB / 0.841 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003025/0.02996, allocations: 0.5282 MB / 0.8416 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.1e-07/0.02996, allocations: 0 / 0.8416 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001247/0.03121, allocations: 0.5923 MB / 0.8421 GB, free: 2.902 MB / 0.7917 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.001422/0.03263, allocations: 0.7958 MB / 0.8429 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008167/0.03345, allocations: 1.09 MB / 0.844 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03345, allocations: 0 / 0.844 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.03356, allocations: 163.8 kB / 0.8441 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.0338, allocations: 40.69 kB / 0.8442 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.03512, allocations: 1.447 MB / 0.8456 GB, free: 15.32 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.03522, allocations: 187 kB / 0.8458 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 8.147e-05/0.0353, allocations: 36.41 kB / 0.8458 GB, free: 15.08 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.03542, allocations: 98.17 kB / 0.8459 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of SimCode: time 1.363e-06/0.03542, allocations: 0 / 0.8459 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of Templates: time 0.01882/0.05424, allocations: 15.81 MB / 0.8613 GB, free: 15.29 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.661815913859755]