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.0009122/0.0009122, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009514/0.0009514, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9535/0.9535, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.882/1.882, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.673e-06/1.673e-06, allocations: 0 / 0.7602 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.353e-05, allocations: 6.25 kB / 0.7602 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003042/0.003066, allocations: 1.528 MB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006852/0.009918, allocations: 4.036 MB / 0.7656 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.009986, allocations: 0.75 kB / 0.7656 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.01011, allocations: 19.86 kB / 0.7656 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.01037, allocations: 32.58 kB / 0.7656 GB, free: 0.8984 MB / 0.7136 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.003584/0.01396, allocations: 1.452 MB / 0.7671 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.01412, allocations: 91.66 kB / 0.7672 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.01416, allocations: 15.91 kB / 0.7672 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.01427, allocations: 57.58 kB / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.01441, allocations: 53.16 kB / 0.7673 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.01443, allocations: 4 kB / 0.7673 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.01857, allocations: 2.598 MB / 0.7698 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.01877, allocations: 249.7 kB / 0.7701 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.01891, allocations: 123.4 kB / 0.7702 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.0222, allocations: 2.341 MB / 0.7725 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.0222, allocations: 0 / 0.7725 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.513e-06/0.02221, allocations: 2.406 kB / 0.7725 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.02221, allocations: 0 / 0.7725 GB, free: 9.938 MB / 0.7292 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.001666/0.02388, allocations: 1.212 MB / 0.7736 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.02392, allocations: 8.031 kB / 0.7736 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.02421, allocations: 29.48 kB / 0.7737 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.02456, allocations: 284 kB / 0.7739 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.02458, allocations: 8.359 kB / 0.774 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.02462, allocations: 12.36 kB / 0.774 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.0249, allocations: 225.4 kB / 0.7742 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.02491, allocations: 192 / 0.7742 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.02493, allocations: 8.375 kB / 0.7742 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.02493, allocations: 4.531 kB / 0.7742 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.02513, allocations: 192.5 kB / 0.7744 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.02544, allocations: 261.1 kB / 0.7746 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.02571, allocations: 285.6 kB / 0.7749 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.02586, allocations: 159.2 kB / 0.7751 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/0.02628, allocations: 124.6 kB / 0.7752 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.02654, allocations: 224.9 kB / 0.7754 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.02654, allocations: 1.625 kB / 0.7754 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005808/0.02712, allocations: 497.3 kB / 0.7759 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.02717, allocations: 79.3 kB / 0.7759 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008564/0.02802, allocations: 0.9973 MB / 0.7769 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.02806, allocations: 33.7 kB / 0.7769 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.02822, allocations: 257.7 kB / 0.7772 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.02839, allocations: 23.83 kB / 0.7772 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.02871, allocations: 335.2 kB / 0.7775 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.0288, allocations: 320.7 kB / 0.7778 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.02933, allocations: 0.5097 MB / 0.7783 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.02989, allocations: 0.5992 MB / 0.7789 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.03206, allocations: 2.24 MB / 0.7811 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03207, allocations: 0 / 0.7811 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003777/0.03584, allocations: 3.724 MB / 0.7847 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.03586, allocations: 8 kB / 0.7848 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.03588, allocations: 4 kB / 0.7848 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.0359, allocations: 0 / 0.7848 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.03605, allocations: 23.98 kB / 0.7848 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.03605, allocations: 0 / 0.7848 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.03647, allocations: 249.9 kB / 0.785 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.03652, allocations: 20.61 kB / 0.785 GB, free: 12.74 MB / 0.7448 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.0001758/0.03669, allocations: 121.1 kB / 0.7852 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.03673, allocations: 16.61 kB / 0.7852 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.03719, allocations: 372.6 kB / 0.7855 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.0372, allocations: 4 kB / 0.7855 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.0372, allocations: 0 / 0.7855 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.0372, allocations: 7.875 kB / 0.7855 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.03753, allocations: 291.7 kB / 0.7858 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.03753, allocations: 0 / 0.7858 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.03759, allocations: 8.797 kB / 0.7858 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.03759, allocations: 0 / 0.7858 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.0376, allocations: 5.688 kB / 0.7858 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.03761, allocations: 0 / 0.7858 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.03761, allocations: 3.984 kB / 0.7858 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.03798, allocations: 370.9 kB / 0.7862 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.03806, allocations: 88.14 kB / 0.7863 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.03812, allocations: 0 / 0.7863 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.03824, allocations: 8.766 kB / 0.7863 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.03827, allocations: 15.92 kB / 0.7863 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.0383, allocations: 8.922 kB / 0.7863 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004079/0.03871, allocations: 391.7 kB / 0.7867 GB, free: 11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/0.03871, allocations: 0.5312 kB / 0.7867 GB, free: 11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001561/0.04027, allocations: 0.5845 MB / 0.7872 GB, free: 10.42 MB / 0.7448 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.001926/0.0422, allocations: 0.8113 MB / 0.788 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.0433, allocations: 0.9661 MB / 0.789 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.04332, allocations: 9.656 kB / 0.789 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.04349, allocations: 168.7 kB / 0.7891 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.04375, allocations: 32.61 kB / 0.7892 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.04544, allocations: 1.444 MB / 0.7906 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.04561, allocations: 187.1 kB / 0.7908 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.04574, allocations: 33.19 kB / 0.7908 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.04592, allocations: 75.34 kB / 0.7909 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.04592, allocations: 0 / 0.7909 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.02698/0.07289, allocations: 15.53 MB / 0.806 GB, free: 7.352 MB / 0.7605 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 -s gbode -gbm=radauIIA3 -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.401762620080262]