Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009712/0.0009712, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001031/0.001031, allocations: 161 kB / 23.82 MB, free: 0.75 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.9373/0.9373, allocations: 177.2 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.692/1.692, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7872 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.105e-05, allocations: 5.281 kB / 0.7872 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001654/0.001675, allocations: 1.476 MB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004594/0.006268, allocations: 4.045 MB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.006332, allocations: 3.938 kB / 0.7926 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.006484, allocations: 16.55 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.006773, allocations: 36.66 kB / 0.7926 GB, free: 6.777 MB / 0.7448 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.009134, allocations: 1.599 MB / 0.7942 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.009239, allocations: 92.2 kB / 0.7943 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.009274, allocations: 8.703 kB / 0.7943 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.009341, allocations: 59.88 kB / 0.7944 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.009517, allocations: 144.2 kB / 0.7945 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.009546, allocations: 17.62 kB / 0.7945 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.0118, allocations: 2.436 MB / 0.7969 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.01201, allocations: 276.8 kB / 0.7972 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.01212, allocations: 156 kB / 0.7973 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.01389, allocations: 2.469 MB / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01389, allocations: 0 / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.683e-06/0.01389, allocations: 0 / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.0139, allocations: 0 / 0.7997 GB, free: 15.55 MB / 0.7605 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.004125/0.01802, allocations: 1.39 MB / 0.8011 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01806, allocations: 12.03 kB / 0.8011 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.0183, allocations: 92.75 kB / 0.8012 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.01855, allocations: 309.3 kB / 0.8015 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.01856, allocations: 1.469 kB / 0.8015 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.01859, allocations: 12.31 kB / 0.8015 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.01889, allocations: 379.4 kB / 0.8018 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.01889, allocations: 192 / 0.8018 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.0189, allocations: 384 / 0.8018 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.01891, allocations: 5.781 kB / 0.8018 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.01913, allocations: 387.8 kB / 0.8022 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.01952, allocations: 0.6313 MB / 0.8028 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.01982, allocations: 0.5183 MB / 0.8033 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.01999, allocations: 307.4 kB / 0.8036 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003522/0.02034, allocations: 134.5 kB / 0.8038 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.02058, allocations: 384.2 kB / 0.8041 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.02058, allocations: 0 / 0.8041 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0007741/0.02135, allocations: 1.177 MB / 0.8053 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.02139, allocations: 85.05 kB / 0.8054 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.02206, allocations: 1.191 MB / 0.8065 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.02208, allocations: 34.73 kB / 0.8066 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.02224, allocations: 340.7 kB / 0.8069 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.02226, allocations: 23.8 kB / 0.8069 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.02251, allocations: 403.7 kB / 0.8073 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.02274, allocations: 496.4 kB / 0.8078 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.02314, allocations: 0.6742 MB / 0.8084 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.02362, allocations: 0.8477 MB / 0.8092 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.02523, allocations: 2.617 MB / 0.8118 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02523, allocations: 0 / 0.8118 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002787/0.02802, allocations: 4.234 MB / 0.8159 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.02804, allocations: 10.34 kB / 0.816 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.02805, allocations: 0 / 0.816 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.02806, allocations: 4 kB / 0.816 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.02816, allocations: 27.91 kB / 0.816 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.02817, allocations: 0 / 0.816 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.02841, allocations: 249.3 kB / 0.8162 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.02844, allocations: 23.98 kB / 0.8162 GB, free: 14.25 MB / 0.7761 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.0001222/0.02857, allocations: 168.5 kB / 0.8164 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.02861, allocations: 71.34 kB / 0.8165 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.02917, allocations: 0.8424 MB / 0.8173 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02917, allocations: 4 kB / 0.8173 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02917, allocations: 7.969 kB / 0.8173 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.02918, allocations: 3.984 kB / 0.8173 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.02946, allocations: 0.4922 MB / 0.8178 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02946, allocations: 4 kB / 0.8178 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.0295, allocations: 7.984 kB / 0.8178 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.0295, allocations: 0 / 0.8178 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.02951, allocations: 4 kB / 0.8178 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.02951, allocations: 0 / 0.8178 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02951, allocations: 0 / 0.8178 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.03002, allocations: 0.9381 MB / 0.8187 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.03007, allocations: 83.34 kB / 0.8188 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.03011, allocations: 7.984 kB / 0.8188 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.03017, allocations: 4 kB / 0.8188 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.0302, allocations: 11.92 kB / 0.8188 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.03022, allocations: 11.98 kB / 0.8188 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003408/0.03057, allocations: 0.5557 MB / 0.8194 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.03057, allocations: 0 / 0.8194 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001004/0.03157, allocations: 0.5884 MB / 0.82 GB, free: 10.36 MB / 0.7761 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.001271/0.03284, allocations: 0.7951 MB / 0.8207 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.03389, allocations: 1.414 MB / 0.8221 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.03389, allocations: 0 / 0.8221 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.03408, allocations: 319.4 kB / 0.8224 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.03429, allocations: 37.31 kB / 0.8224 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.03542, allocations: 1.584 MB / 0.824 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.612e-05/0.03552, allocations: 183.1 kB / 0.8242 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.48e-05/0.03559, allocations: 32.45 kB / 0.8242 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.03566, allocations: 24.48 kB / 0.8242 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.03566, allocations: 0 / 0.8242 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of Templates: time 0.01698/0.05264, allocations: 16.12 MB / 0.84 GB, free: 5.91 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.346213891170919]