Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7367/0.7367, allocations: 143.8 MB / 159.1 MB, free: 6.496 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009093/0.0009093, allocations: 182.1 kB / 192 MB, free: 6.719 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.7 MB / 450.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008482/0.0008481, allocations: 103.5 kB / 0.5211 GB, free: 1.598 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 287.2 kB / 0.6025 GB, free: 49.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 13.62 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 82.45 MB / 0.7754 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00221/0.1312, allocations: 1.418 MB / 0.7767 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.1381, allocations: 6.154 MB / 0.7827 GB, free: 6.191 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1383, allocations: 3.938 kB / 0.7827 GB, free: 6.188 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.1395, allocations: 358.7 kB / 0.7831 GB, free: 5.836 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1397, allocations: 55.72 kB / 0.7831 GB, free: 5.781 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.142, allocations: 0.753 MB / 0.7839 GB, free: 5.027 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1423, allocations: 203.3 kB / 0.7841 GB, free: 4.828 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.1423, allocations: 9.562 kB / 0.7841 GB, free: 4.816 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1424, allocations: 51.77 kB / 0.7841 GB, free: 4.766 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.1427, allocations: 176.8 kB / 0.7843 GB, free: 4.594 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.1427, allocations: 12 kB / 0.7843 GB, free: 4.582 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.1449, allocations: 1.334 MB / 0.7856 GB, free: 3.246 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.1452, allocations: 275.8 kB / 0.7859 GB, free: 2.973 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.1455, allocations: 331.8 kB / 0.7862 GB, free: 2.641 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.1478, allocations: 1.527 MB / 0.7877 GB, free: 1.109 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1478, allocations: 0 / 0.7877 GB, free: 1.109 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.038e-06/0.1478, allocations: 4 kB / 0.7877 GB, free: 1.105 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1478, allocations: 0 / 0.7877 GB, free: 1.105 MB / 458.7 MB 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.007285/0.1551, allocations: 1.218 MB / 0.7889 GB, free: 15.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1552, allocations: 8.031 kB / 0.7889 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.1555, allocations: 95.59 kB / 0.789 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.156, allocations: 405.9 kB / 0.7894 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.156, allocations: 4.375 kB / 0.7894 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.1561, allocations: 8.375 kB / 0.7894 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.1565, allocations: 395.4 kB / 0.7898 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1565, allocations: 7.938 kB / 0.7898 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1565, allocations: 4 kB / 0.7898 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1565, allocations: 4 kB / 0.7898 GB, free: 14.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.1569, allocations: 435.7 kB / 0.7902 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.1576, allocations: 0.6613 MB / 0.7908 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.158, allocations: 0.5633 MB / 0.7914 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.1584, allocations: 333.7 kB / 0.7917 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009834/0.1593, allocations: 1.044 MB / 0.7927 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.1598, allocations: 404.8 kB / 0.7931 GB, free: 11.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.1598, allocations: 0 / 0.7931 GB, free: 11.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.001222/0.161, allocations: 1.3 MB / 0.7944 GB, free: 9.824 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1611, allocations: 85.09 kB / 0.7945 GB, free: 9.723 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.1622, allocations: 1.265 MB / 0.7957 GB, free: 8.445 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.1623, allocations: 33.7 kB / 0.7957 GB, free: 8.406 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1625, allocations: 277.4 kB / 0.796 GB, free: 8.129 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1625, allocations: 23.7 kB / 0.796 GB, free: 8.105 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.1625, allocations: 0 / 0.796 GB, free: 8.105 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1627, allocations: 432 kB / 0.7964 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.1639, allocations: 1.357 MB / 0.7977 GB, free: 6.316 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.1651, allocations: 1.497 MB / 0.7992 GB, free: 4.809 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007649/0.1728, allocations: 3.498 MB / 0.8026 GB, free: 1.219 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1728, allocations: 4 kB / 0.8026 GB, free: 1.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004078/0.1769, allocations: 3.957 MB / 0.8065 GB, free: 13.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1769, allocations: 4 kB / 0.8065 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.177, allocations: 4 kB / 0.8065 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.177, allocations: 0 / 0.8065 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1771, allocations: 15.98 kB / 0.8065 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1771, allocations: 0 / 0.8065 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.1776, allocations: 240.3 kB / 0.8067 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.1777, allocations: 23.98 kB / 0.8068 GB, free: 12.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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.0002875/0.178, allocations: 249.6 kB / 0.807 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.178, allocations: 74.62 kB / 0.8071 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1783, allocations: 79.66 kB / 0.8072 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1783, allocations: 4.031 kB / 0.8072 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1783, allocations: 4 kB / 0.8072 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1783, allocations: 0 / 0.8072 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1788, allocations: 0.5061 MB / 0.8077 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1788, allocations: 0 / 0.8077 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.1789, allocations: 19.86 kB / 0.8077 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1789, allocations: 0 / 0.8077 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1789, allocations: 4 kB / 0.8077 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1789, allocations: 3.938 kB / 0.8077 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1789, allocations: 0 / 0.8077 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.1798, allocations: 1.01 MB / 0.8087 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1799, allocations: 159.7 kB / 0.8088 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.18, allocations: 4 kB / 0.8088 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1801, allocations: 3.984 kB / 0.8088 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1802, allocations: 12 kB / 0.8088 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.1802, allocations: 19.91 kB / 0.8089 GB, free: 10.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007265/0.1809, allocations: 0.7023 MB / 0.8095 GB, free: 9.984 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1809, allocations: 0 / 0.8095 GB, free: 9.984 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009554/0.1819, allocations: 407.8 kB / 0.8099 GB, free: 9.586 MB / 490.7 MB 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.1831, allocations: 491.4 kB / 0.8104 GB, free: 9.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.1855, allocations: 2.499 MB / 0.8128 GB, free: 6.586 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1855, allocations: 0 / 0.8128 GB, free: 6.586 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.1858, allocations: 335.8 kB / 0.8132 GB, free: 6.258 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.1863, allocations: 62.28 kB / 0.8132 GB, free: 6.199 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.1885, allocations: 2.075 MB / 0.8152 GB, free: 4.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.189, allocations: 0.9881 MB / 0.8162 GB, free: 3.078 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.1892, allocations: 33.44 kB / 0.8162 GB, free: 3.047 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.1893, allocations: 31.41 kB / 0.8163 GB, free: 3.016 MB / 490.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1893, allocations: 0 / 0.8163 GB, free: 3.016 MB / 490.7 MB Notification: Performance of Templates: time 0.01632/0.2056, allocations: 9.774 MB / 0.8258 GB, free: 9.258 MB / 0.4948 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)