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_SmallScaleValidation.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.0009436/0.0009436, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009992/0.0009992, allocations: 161 kB / 24.17 MB, free: 324 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.9509/0.9509, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.859/1.859, allocations: 377.9 MB / 0.624 GB, free: 8.352 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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 3.938 kB / 0.7601 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.068e-05, allocations: 4.281 kB / 0.7602 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002048/0.002058, allocations: 1.857 MB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005313/0.007371, allocations: 5.212 MB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.007451, allocations: 7.938 kB / 0.7671 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.008296, allocations: 365.3 kB / 0.7674 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.008379, allocations: 69.03 kB / 0.7675 GB, free: 14.99 MB / 0.7292 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.002343/0.01072, allocations: 1.448 MB / 0.7689 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.01091, allocations: 159.3 kB / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.01094, allocations: 14.44 kB / 0.7691 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.01102, allocations: 75.8 kB / 0.7691 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.01111, allocations: 62.61 kB / 0.7692 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.01113, allocations: 8 kB / 0.7692 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.01382, allocations: 2.59 MB / 0.7717 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01397, allocations: 263.2 kB / 0.772 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.01407, allocations: 143.3 kB / 0.7721 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.016, allocations: 2.375 MB / 0.7744 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01601, allocations: 0 / 0.7744 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01601, allocations: 2.438 kB / 0.7744 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.01601, allocations: 0 / 0.7744 GB, free: 7.879 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.001095/0.01711, allocations: 1.274 MB / 0.7757 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.01713, allocations: 8.031 kB / 0.7757 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.01732, allocations: 39.08 kB / 0.7757 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.0176, allocations: 335.7 kB / 0.776 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.01761, allocations: 8.359 kB / 0.7761 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.01763, allocations: 4.375 kB / 0.7761 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.01781, allocations: 229.9 kB / 0.7763 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.01782, allocations: 192 / 0.7763 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.01783, allocations: 384 / 0.7763 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.01783, allocations: 7.938 kB / 0.7763 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.01796, allocations: 198.6 kB / 0.7765 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.01815, allocations: 260.6 kB / 0.7767 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.01833, allocations: 277.1 kB / 0.777 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.01842, allocations: 161.7 kB / 0.7771 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.01869, allocations: 133 kB / 0.7773 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.01885, allocations: 225.5 kB / 0.7775 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.01885, allocations: 1.062 kB / 0.7775 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003707/0.01922, allocations: 490 kB / 0.778 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.01926, allocations: 85.09 kB / 0.778 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.01981, allocations: 1.062 MB / 0.7791 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.01984, allocations: 25.7 kB / 0.7791 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01995, allocations: 277.7 kB / 0.7794 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.01998, allocations: 23.83 kB / 0.7794 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.02017, allocations: 339.2 kB / 0.7797 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.02024, allocations: 323.7 kB / 0.78 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.02057, allocations: 0.5097 MB / 0.7805 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.02091, allocations: 0.6031 MB / 0.7811 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.02238, allocations: 2.233 MB / 0.7833 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.02238, allocations: 0 / 0.7833 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002367/0.02475, allocations: 3.73 MB / 0.7869 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.02476, allocations: 5.25 kB / 0.7869 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.02477, allocations: 1.031 kB / 0.7869 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.02478, allocations: 4 kB / 0.7869 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.02487, allocations: 20.92 kB / 0.787 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.02487, allocations: 3.984 kB / 0.787 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.0251, allocations: 254.2 kB / 0.7872 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.02513, allocations: 19.98 kB / 0.7872 GB, free: 10.48 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.0001149/0.02525, allocations: 118 kB / 0.7873 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.02527, allocations: 11.98 kB / 0.7873 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.02555, allocations: 372.7 kB / 0.7877 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.02555, allocations: 0 / 0.7877 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.02556, allocations: 1 kB / 0.7877 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.02556, allocations: 7.938 kB / 0.7877 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.02575, allocations: 307.2 kB / 0.788 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.02576, allocations: 0.5312 kB / 0.788 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.02579, allocations: 8.688 kB / 0.788 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.02579, allocations: 5.109 kB / 0.788 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.0258, allocations: 0 / 0.788 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.0258, allocations: 4 kB / 0.788 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0258, allocations: 80 / 0.788 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.02603, allocations: 384.3 kB / 0.7884 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.02608, allocations: 88.31 kB / 0.7885 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.02612, allocations: 4 kB / 0.7885 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.02618, allocations: 7.984 kB / 0.7885 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.02621, allocations: 8.984 kB / 0.7885 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.02623, allocations: 19.91 kB / 0.7885 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002626/0.02649, allocations: 428.5 kB / 0.7889 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02649, allocations: 0 / 0.7889 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007213/0.02721, allocations: 0.5962 MB / 0.7895 GB, free: 8.094 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.00118/0.02839, allocations: 0.8076 MB / 0.7903 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006632/0.02906, allocations: 0.9652 MB / 0.7912 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.02906, allocations: 8 kB / 0.7912 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.02917, allocations: 169.4 kB / 0.7914 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.02937, allocations: 61.33 kB / 0.7915 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.03053, allocations: 1.539 MB / 0.793 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.03064, allocations: 199.6 kB / 0.7932 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.03073, allocations: 34.61 kB / 0.7932 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.03087, allocations: 87.33 kB / 0.7933 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.03087, allocations: 0 / 0.7933 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.01696/0.04783, allocations: 16.27 MB / 0.8092 GB, free: 4.168 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.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.467029985971749]