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.001023/0.001023, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001576/0.001576, allocations: 169.9 kB / 24.86 MB, free: 9.27 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.8899/0.8899, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.872/1.872, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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_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.563e-06/1.563e-06, allocations: 0 / 0.8129 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.34e-05, allocations: 9.062 kB / 0.8129 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001908/0.001922, allocations: 1.812 MB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005344/0.007266, allocations: 5.116 MB / 0.8196 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.007345, allocations: 7.938 kB / 0.8196 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000775/0.00812, allocations: 345.4 kB / 0.82 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.00819, allocations: 61.11 kB / 0.82 GB, free: 10.02 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.00212/0.01031, allocations: 1.631 MB / 0.8216 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.01049, allocations: 166.2 kB / 0.8218 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.01052, allocations: 9.812 kB / 0.8218 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.01059, allocations: 83.72 kB / 0.8219 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.647e-05/0.01068, allocations: 57.12 kB / 0.8219 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.01069, allocations: 8 kB / 0.8219 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.01296, allocations: 2.428 MB / 0.8243 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.01311, allocations: 259.2 kB / 0.8246 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.01321, allocations: 135.4 kB / 0.8247 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.01521, allocations: 2.383 MB / 0.827 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01521, allocations: 0 / 0.827 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01521, allocations: 4 kB / 0.827 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.01521, allocations: 0 / 0.827 GB, free: 2.883 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.001304/0.01652, allocations: 1.455 MB / 0.8284 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.01655, allocations: 8.75 kB / 0.8284 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.01677, allocations: 101.9 kB / 0.8285 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.01705, allocations: 338.5 kB / 0.8289 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.01706, allocations: 8.375 kB / 0.8289 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.01708, allocations: 8.859 kB / 0.8289 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.01727, allocations: 227.4 kB / 0.8291 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.01727, allocations: 192 / 0.8291 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.01728, allocations: 5.406 kB / 0.8291 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.01729, allocations: 3.938 kB / 0.8291 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.01741, allocations: 203.8 kB / 0.8293 GB, free: 464 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.01774, allocations: 0.5019 MB / 0.8298 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.01793, allocations: 309.9 kB / 0.8301 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.01803, allocations: 159.3 kB / 0.8302 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.01831, allocations: 132 kB / 0.8304 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.01848, allocations: 236.3 kB / 0.8306 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.01848, allocations: 4 kB / 0.8306 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.01905, allocations: 0.7585 MB / 0.8313 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.01908, allocations: 85.03 kB / 0.8314 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.01977, allocations: 1.286 MB / 0.8327 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.0198, allocations: 29.7 kB / 0.8327 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.01997, allocations: 380.4 kB / 0.8331 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.02001, allocations: 31.77 kB / 0.8331 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.02026, allocations: 426.2 kB / 0.8335 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.02037, allocations: 0.4926 MB / 0.834 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.02067, allocations: 498.6 kB / 0.8345 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.02107, allocations: 0.66 MB / 0.8351 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.02253, allocations: 2.25 MB / 0.8373 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.02253, allocations: 0 / 0.8373 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002524/0.02506, allocations: 3.852 MB / 0.8411 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.02508, allocations: 8 kB / 0.8411 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.0251, allocations: 4.016 kB / 0.8411 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.02511, allocations: 0 / 0.8411 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.02523, allocations: 31.95 kB / 0.8411 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.02524, allocations: 7.922 kB / 0.8411 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.02555, allocations: 237.4 kB / 0.8413 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.02558, allocations: 23.98 kB / 0.8414 GB, free: 3.812 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.0001525/0.02574, allocations: 156.6 kB / 0.8415 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.0258, allocations: 91.23 kB / 0.8416 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.02629, allocations: 0.5776 MB / 0.8422 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02629, allocations: 4.031 kB / 0.8422 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02629, allocations: 4 kB / 0.8422 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.0263, allocations: 3.938 kB / 0.8422 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.02659, allocations: 391.5 kB / 0.8425 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.02659, allocations: 0 / 0.8425 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.02664, allocations: 7.984 kB / 0.8426 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.02664, allocations: 4 kB / 0.8426 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.02665, allocations: 0 / 0.8426 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02665, allocations: 0 / 0.8426 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02666, allocations: 3.938 kB / 0.8426 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.02713, allocations: 0.6696 MB / 0.8432 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.0272, allocations: 87.28 kB / 0.8433 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.02723, allocations: 4 kB / 0.8433 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.02734, allocations: 7.984 kB / 0.8433 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.02736, allocations: 4 kB / 0.8433 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.02739, allocations: 15.97 kB / 0.8433 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003278/0.02771, allocations: 0.5619 MB / 0.8439 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02771, allocations: 0 / 0.8439 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001084/0.0288, allocations: 0.5962 MB / 0.8445 GB, free: 0.5625 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.001424/0.03022, allocations: 0.8064 MB / 0.8452 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.03124, allocations: 1.094 MB / 0.8463 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.03125, allocations: 0 / 0.8463 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.03135, allocations: 163.6 kB / 0.8465 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.03162, allocations: 69.06 kB / 0.8465 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.03285, allocations: 1.545 MB / 0.848 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.03296, allocations: 195.5 kB / 0.8482 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.763e-05/0.03305, allocations: 37.45 kB / 0.8483 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.03319, allocations: 110.2 kB / 0.8484 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of SimCode: time 1.363e-06/0.03319, allocations: 0 / 0.8484 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of Templates: time 0.01985/0.05304, allocations: 16.57 MB / 0.8646 GB, free: 12.06 MB / 0.823 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 -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.547156027983874]