Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 191.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 63.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6087, allocations: 140.3 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002399/0.6112, allocations: 1.798 MB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00567/0.6169, allocations: 4.399 MB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.617, allocations: 0 / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.6184, allocations: 354.5 kB / 0.9553 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.6185, allocations: 50.33 kB / 0.9554 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.6207, allocations: 0.7663 MB / 0.9561 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.6209, allocations: 194.9 kB / 0.9563 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.6209, allocations: 9.188 kB / 0.9563 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.621, allocations: 52.14 kB / 0.9564 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.6212, allocations: 180.1 kB / 0.9566 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.6212, allocations: 14.34 kB / 0.9566 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.6231, allocations: 1.401 MB / 0.9579 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.6233, allocations: 276.8 kB / 0.9582 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.6236, allocations: 298 kB / 0.9585 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.6254, allocations: 1.553 MB / 0.96 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6254, allocations: 1.062 kB / 0.96 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6254, allocations: 0 / 0.96 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.6254, allocations: 0 / 0.96 GB, free: 1.273 MB / 0.7169 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.007897/0.6333, allocations: 1.274 MB / 0.9613 GB, free: 272 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6334, allocations: 9.906 kB / 0.9613 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.6338, allocations: 95.59 kB / 0.9614 GB, free: 204 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.6342, allocations: 405.5 kB / 0.9617 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6342, allocations: 2.812 kB / 0.9617 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.6343, allocations: 9.344 kB / 0.9618 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.6348, allocations: 390.5 kB / 0.9621 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.6348, allocations: 1.406 kB / 0.9621 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.6348, allocations: 0 / 0.9621 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6348, allocations: 1.375 kB / 0.9621 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.6353, allocations: 438.6 kB / 0.9625 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.636, allocations: 0.6585 MB / 0.9632 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.6366, allocations: 0.5566 MB / 0.9637 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.637, allocations: 338 kB / 0.9641 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.638, allocations: 1.047 MB / 0.9651 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.6385, allocations: 406.6 kB / 0.9655 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.063e-06/0.6385, allocations: 0 / 0.9655 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001422/0.6399, allocations: 1.295 MB / 0.9667 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.64, allocations: 80.05 kB / 0.9668 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.6413, allocations: 1.281 MB / 0.9681 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.6414, allocations: 30.98 kB / 0.9681 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.6417, allocations: 289 kB / 0.9684 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.6417, allocations: 23.05 kB / 0.9684 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.642, allocations: 352.5 kB / 0.9687 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6421, allocations: 317.5 kB / 0.969 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.6434, allocations: 1.359 MB / 0.9703 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.6447, allocations: 1.5 MB / 0.9718 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007063/0.6518, allocations: 3.538 MB / 0.9753 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6518, allocations: 0 / 0.9753 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00412/0.656, allocations: 3.976 MB / 0.9792 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.656, allocations: 8.031 kB / 0.9792 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.656, allocations: 4 kB / 0.9792 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6561, allocations: 3.984 kB / 0.9792 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6562, allocations: 19.98 kB / 0.9792 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6562, allocations: 0 / 0.9792 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.6568, allocations: 232.2 kB / 0.9794 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.6569, allocations: 23.98 kB / 0.9794 GB, free: 2.246 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003474/0.6573, allocations: 253.6 kB / 0.9797 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.6573, allocations: 78.61 kB / 0.9797 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.6576, allocations: 71.73 kB / 0.9798 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6577, allocations: 3.984 kB / 0.9798 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6577, allocations: 4 kB / 0.9798 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6577, allocations: 0 / 0.9798 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.6582, allocations: 0.51 MB / 0.9803 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6582, allocations: 0 / 0.9803 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.6582, allocations: 19.91 kB / 0.9803 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6583, allocations: 0 / 0.9803 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.6583, allocations: 7.984 kB / 0.9803 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6583, allocations: 0 / 0.9803 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6583, allocations: 3.938 kB / 0.9804 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.6592, allocations: 1.002 MB / 0.9813 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.6594, allocations: 167.7 kB / 0.9815 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.6594, allocations: 4 kB / 0.9815 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6596, allocations: 0 / 0.9815 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.6596, allocations: 11.98 kB / 0.9815 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.6597, allocations: 11.98 kB / 0.9815 GB, free: 0 / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007761/0.6605, allocations: 0.7219 MB / 0.9822 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6605, allocations: 0 / 0.9822 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001185/0.6617, allocations: 407.9 kB / 0.9826 GB, free: 14.87 MB / 0.7481 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.001207/0.6629, allocations: 478.9 kB / 0.9831 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.6651, allocations: 2.499 MB / 0.9855 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6651, allocations: 4 kB / 0.9855 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.6655, allocations: 335.8 kB / 0.9858 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.666, allocations: 59.69 kB / 0.9859 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.6685, allocations: 2.054 MB / 0.9879 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.669, allocations: 0.9803 MB / 0.9889 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.6693, allocations: 45.36 kB / 0.9889 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.6694, allocations: 27.42 kB / 0.9889 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.6694, allocations: 0 / 0.9889 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of Templates: time 0.01804/0.6875, allocations: 9.88 MB / 0.9986 GB, free: 14.52 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches