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.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.001348/0.001348, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00157/0.00157, allocations: 181 kB / 23.36 MB, free: 1.133 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.9669/0.9669, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.413/2.413, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.293e-05, allocations: 4.844 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003092/0.003115, allocations: 1.516 MB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007167/0.01028, allocations: 4.038 MB / 0.8441 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.01036, allocations: 3.938 kB / 0.8441 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.01049, allocations: 7.922 kB / 0.8442 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.01077, allocations: 35.7 kB / 0.8442 GB, free: 8.469 MB / 0.8073 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.004189/0.01496, allocations: 1.449 MB / 0.8456 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.01515, allocations: 95.66 kB / 0.8457 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.0152, allocations: 4 kB / 0.8457 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.01533, allocations: 63.86 kB / 0.8458 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.01549, allocations: 45.19 kB / 0.8458 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.01552, allocations: 12 kB / 0.8458 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.02074, allocations: 2.593 MB / 0.8483 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.02096, allocations: 255.3 kB / 0.8486 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.02111, allocations: 123.4 kB / 0.8487 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.02534, allocations: 2.341 MB / 0.851 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.02535, allocations: 4 kB / 0.851 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.243e-06/0.02535, allocations: 0 / 0.851 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.02536, allocations: 0 / 0.851 GB, free: 1.488 MB / 0.8073 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.002055/0.02741, allocations: 1.2 MB / 0.8522 GB, free: 264 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.02745, allocations: 12.62 kB / 0.8522 GB, free: 252 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.02779, allocations: 32.89 kB / 0.8522 GB, free: 220 kB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.02824, allocations: 284.8 kB / 0.8525 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.02826, allocations: 12.36 kB / 0.8525 GB, free: 15.89 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.02828, allocations: 12.31 kB / 0.8525 GB, free: 15.88 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.02852, allocations: 232.5 kB / 0.8527 GB, free: 15.63 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.02853, allocations: 192 / 0.8527 GB, free: 15.63 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.02854, allocations: 6 kB / 0.8527 GB, free: 15.63 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.02855, allocations: 4 kB / 0.8527 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.02868, allocations: 191.9 kB / 0.8529 GB, free: 15.44 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.02891, allocations: 248.6 kB / 0.8532 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.0291, allocations: 281 kB / 0.8534 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.0292, allocations: 161.8 kB / 0.8536 GB, free: 14.72 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.02951, allocations: 131.9 kB / 0.8537 GB, free: 14.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.0297, allocations: 228.9 kB / 0.8539 GB, free: 14.35 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.0297, allocations: 0 / 0.8539 GB, free: 14.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0004009/0.0301, allocations: 489.3 kB / 0.8544 GB, free: 13.86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.03014, allocations: 85.11 kB / 0.8545 GB, free: 13.76 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.03068, allocations: 0.9974 MB / 0.8554 GB, free: 12.75 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.03071, allocations: 29.7 kB / 0.8555 GB, free: 12.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.03082, allocations: 265.7 kB / 0.8557 GB, free: 12.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.03085, allocations: 27.77 kB / 0.8558 GB, free: 12.42 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.03108, allocations: 335.2 kB / 0.8561 GB, free: 12.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.03115, allocations: 310 kB / 0.8564 GB, free: 11.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.03147, allocations: 0.5058 MB / 0.8569 GB, free: 11.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.03183, allocations: 0.607 MB / 0.8575 GB, free: 10.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.03344, allocations: 2.236 MB / 0.8596 GB, free: 8.332 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.03344, allocations: 0 / 0.8596 GB, free: 8.332 MB / 0.823 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002451/0.03589, allocations: 3.733 MB / 0.8633 GB, free: 4.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.03591, allocations: 4 kB / 0.8633 GB, free: 4.566 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.03592, allocations: 4 kB / 0.8633 GB, free: 4.562 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.03594, allocations: 3.984 kB / 0.8633 GB, free: 4.559 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.03604, allocations: 20 kB / 0.8633 GB, free: 4.539 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.03604, allocations: 3.984 kB / 0.8633 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.03627, allocations: 241.3 kB / 0.8636 GB, free: 4.297 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.0363, allocations: 24.02 kB / 0.8636 GB, free: 4.273 MB / 0.823 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.0001153/0.03642, allocations: 120.6 kB / 0.8637 GB, free: 4.145 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.03644, allocations: 11.92 kB / 0.8637 GB, free: 4.133 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.03673, allocations: 366.9 kB / 0.8641 GB, free: 3.762 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.03674, allocations: 4 kB / 0.8641 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.03674, allocations: 4 kB / 0.8641 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.03674, allocations: 3.984 kB / 0.8641 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.03695, allocations: 282.7 kB / 0.8643 GB, free: 3.457 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.03695, allocations: 8.031 kB / 0.8643 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.03699, allocations: 4 kB / 0.8643 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.03699, allocations: 3.938 kB / 0.8643 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.037, allocations: 11.98 kB / 0.8644 GB, free: 3.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.037, allocations: 0 / 0.8644 GB, free: 3.43 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.037, allocations: 0 / 0.8644 GB, free: 3.43 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.03725, allocations: 370.9 kB / 0.8647 GB, free: 3.047 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.0373, allocations: 83.28 kB / 0.8648 GB, free: 2.965 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.03733, allocations: 7.922 kB / 0.8648 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.03739, allocations: 8 kB / 0.8648 GB, free: 2.949 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.03741, allocations: 7.984 kB / 0.8648 GB, free: 2.941 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.03743, allocations: 11.98 kB / 0.8648 GB, free: 2.93 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002415/0.03768, allocations: 395.7 kB / 0.8652 GB, free: 2.535 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.03768, allocations: 0 / 0.8652 GB, free: 2.535 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001078/0.03875, allocations: 0.5806 MB / 0.8658 GB, free: 1.953 MB / 0.823 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.001269/0.04002, allocations: 0.8042 MB / 0.8666 GB, free: 1.176 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007388/0.04076, allocations: 0.9691 MB / 0.8675 GB, free: 192 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.04077, allocations: 12 kB / 0.8675 GB, free: 180 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.04088, allocations: 168.7 kB / 0.8677 GB, free: 8 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.04106, allocations: 44.53 kB / 0.8677 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.04214, allocations: 1.442 MB / 0.8691 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.04224, allocations: 191.1 kB / 0.8693 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.819e-05/0.04232, allocations: 28.47 kB / 0.8693 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.04244, allocations: 75.34 kB / 0.8694 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.04244, allocations: 0 / 0.8694 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.01741/0.05985, allocations: 15.51 MB / 0.8846 GB, free: 14.8 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] 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","",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.8814533040858805]