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.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7456/0.7456, allocations: 143.8 MB / 159.1 MB, free: 6.5 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.0008754/0.0008755, allocations: 179.3 kB / 192 MB, free: 6.723 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.284/1.284, allocations: 225.7 MB / 450.4 MB, free: 4.992 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.0007708/0.0007708, allocations: 110.5 kB / 0.5211 GB, free: 1.656 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.001626/0.001626, allocations: 283.3 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 17.41 kB / 0.6948 GB, free: 59.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 82.45 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006984/0.1203, allocations: 289 kB / 0.7756 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1216, allocations: 1.142 MB / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.1216, allocations: 0 / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.658e-06/0.1216, allocations: 4 kB / 0.7767 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005967/0.1222, allocations: 79.84 kB / 0.7768 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.899e-05/0.1223, allocations: 15.86 kB / 0.7768 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.084e-05/0.1223, allocations: 4 kB / 0.7768 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.1223, allocations: 0 / 0.7768 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.1224, allocations: 7.938 kB / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1226, allocations: 31.97 kB / 0.7769 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.1226, allocations: 0 / 0.7769 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1228, allocations: 83.91 kB / 0.777 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.1228, allocations: 0 / 0.777 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1228, allocations: 25.7 kB / 0.777 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1229, allocations: 76.06 kB / 0.7771 GB, free: 12.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.123, allocations: 7.984 kB / 0.7771 GB, free: 12.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.123, allocations: 0 / 0.7771 GB, free: 12.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.123, allocations: 0 / 0.7771 GB, free: 12.53 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002645/0.1232, allocations: 323.6 kB / 0.7774 GB, free: 12.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1233, allocations: 12.03 kB / 0.7774 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.1233, allocations: 4.922 kB / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1234, allocations: 168.4 kB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.1235, allocations: 384 / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.1235, allocations: 4.375 kB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.613e-05/0.1235, allocations: 29.83 kB / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.1236, allocations: 0 / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.1236, allocations: 0 / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1236, allocations: 0 / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.1236, allocations: 4 kB / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.124, allocations: 480.4 kB / 0.778 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.1241, allocations: 173.2 kB / 0.7782 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.1241, allocations: 80.14 kB / 0.7783 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1241, allocations: 79.28 kB / 0.7784 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.1242, allocations: 109.8 kB / 0.7785 GB, free: 10.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1242, allocations: 3.938 kB / 0.7785 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 5.85e-05/0.1243, allocations: 29.64 kB / 0.7785 GB, free: 10.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1243, allocations: 130.7 kB / 0.7786 GB, free: 10.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.1244, allocations: 105.8 kB / 0.7787 GB, free: 10.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1244, allocations: 25.7 kB / 0.7787 GB, free: 10.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.1245, allocations: 80.14 kB / 0.7788 GB, free: 10.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1245, allocations: 0 / 0.7788 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.1245, allocations: 4 kB / 0.7788 GB, free: 10.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.1246, allocations: 314.8 kB / 0.7791 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.1246, allocations: 4 kB / 0.7791 GB, free: 10.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-06/0.1246, allocations: 0 / 0.7791 GB, free: 10.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.1246, allocations: 12.84 kB / 0.7791 GB, free: 10.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1246, allocations: 0 / 0.7791 GB, free: 10.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.207e-05/0.1247, allocations: 41.58 kB / 0.7792 GB, free: 10.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1247, allocations: 4 kB / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1248, allocations: 4.094 kB / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.1248, allocations: 4 kB / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.184e-05/0.1248, allocations: 0 / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1248, allocations: 0 / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.1248, allocations: 0 / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1248, allocations: 0 / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.93e-05/0.1249, allocations: 185.1 kB / 0.7794 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.125, allocations: 112.9 kB / 0.7795 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.125, allocations: 108.1 kB / 0.7796 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.472e-05/0.1251, allocations: 180.3 kB / 0.7798 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-05/0.1251, allocations: 188.2 kB / 0.7799 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.691e-05/0.1252, allocations: 176.3 kB / 0.7801 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.1254, allocations: 405.1 kB / 0.7805 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-05/0.1254, allocations: 113 kB / 0.7806 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.1255, allocations: 105 kB / 0.7807 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.656e-05/0.1255, allocations: 180.2 kB / 0.7809 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.1256, allocations: 176.3 kB / 0.781 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.786e-05/0.1257, allocations: 184.2 kB / 0.7812 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-05/0.1257, allocations: 180.3 kB / 0.7814 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1258, allocations: 315.7 kB / 0.7817 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.1259, allocations: 182 kB / 0.7819 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.126, allocations: 192.1 kB / 0.782 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.1261, allocations: 105 kB / 0.7821 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1261, allocations: 180.3 kB / 0.7823 GB, free: 6.691 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.1262, allocations: 104.9 kB / 0.7824 GB, free: 6.582 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.1262, allocations: 79.28 kB / 0.7825 GB, free: 6.504 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1262, allocations: 0 / 0.7825 GB, free: 6.504 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.1264, allocations: 23.98 kB / 0.7825 GB, free: 6.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0003081/0.1268, allocations: 255.8 kB / 0.7828 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.453e-05/0.1268, allocations: 0 / 0.7828 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1268, allocations: 0 / 0.7828 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1268, allocations: 0 / 0.7828 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1272, allocations: 0.5308 MB / 0.7833 GB, free: 5.695 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.1275, allocations: 190.1 kB / 0.7835 GB, free: 5.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1277, allocations: 0.6692 MB / 0.7841 GB, free: 4.785 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.337e-05/0.1278, allocations: 4 kB / 0.7841 GB, free: 4.781 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.1278, allocations: 7.438 kB / 0.7841 GB, free: 4.773 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1278, allocations: 0 / 0.7841 GB, free: 4.773 MB / 458.7 MB Notification: Performance of Templates: time 0.002278/0.1301, allocations: 0.6562 MB / 0.7848 GB, free: 4.121 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)