Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7303/0.7303, allocations: 143.8 MB / 159.1 MB, free: 6.516 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.001004/0.001004, allocations: 183.3 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.377/1.377, allocations: 225.7 MB / 450.4 MB, free: 4.977 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.0007545/0.0007546, allocations: 103.5 kB / 0.5211 GB, free: 1.633 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.00171/0.00171, allocations: 276.1 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 11.03 kB / 0.6948 GB, free: 59.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.004142/0.1581, allocations: 3.183 MB / 0.7784 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005854/0.164, allocations: 4.988 MB / 0.7833 GB, free: 5.762 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.1644, allocations: 7.938 kB / 0.7833 GB, free: 5.754 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.1649, allocations: 99.31 kB / 0.7834 GB, free: 5.656 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1662, allocations: 374.2 kB / 0.7837 GB, free: 5.289 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.1671, allocations: 351.5 kB / 0.7841 GB, free: 4.945 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.1679, allocations: 0.7332 MB / 0.7848 GB, free: 4.211 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1683, allocations: 193.5 kB / 0.785 GB, free: 4.016 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.1688, allocations: 266.7 kB / 0.7852 GB, free: 3.754 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.1693, allocations: 290.6 kB / 0.7855 GB, free: 3.469 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.1694, allocations: 20 kB / 0.7855 GB, free: 3.449 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008973/0.1703, allocations: 451.5 kB / 0.786 GB, free: 3.008 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1705, allocations: 127.4 kB / 0.7861 GB, free: 2.883 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.1709, allocations: 288.1 kB / 0.7864 GB, free: 2.594 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1722, allocations: 1.04 MB / 0.7874 GB, free: 1.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1723, allocations: 0 / 0.7874 GB, free: 1.551 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1723, allocations: 0 / 0.7874 GB, free: 1.551 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.1723, allocations: 0 / 0.7874 GB, free: 1.551 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002182/0.1745, allocations: 0.8941 MB / 0.7882 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1745, allocations: 8.031 kB / 0.7882 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/0.1777, allocations: 0.5854 MB / 0.7888 GB, free: 12 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.1792, allocations: 0.6274 MB / 0.7894 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.1793, allocations: 122.2 kB / 0.7896 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1795, allocations: 48 kB / 0.7896 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.1809, allocations: 0.6714 MB / 0.7903 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1809, allocations: 0 / 0.7903 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.181, allocations: 24 kB / 0.7903 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.181, allocations: 8 kB / 0.7903 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.1828, allocations: 0.7181 MB / 0.791 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.1864, allocations: 1.875 MB / 0.7928 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.189, allocations: 0.8248 MB / 0.7936 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/0.1898, allocations: 358.3 kB / 0.794 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/0.1916, allocations: 1.761 MB / 0.7957 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009576/0.1926, allocations: 426.9 kB / 0.7961 GB, free: 8.023 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 3.456e-06/0.1926, allocations: 3.938 kB / 0.7961 GB, free: 8.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=56): time 0.006667/0.1993, allocations: 1.511 MB / 0.7976 GB, free: 6.484 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.1994, allocations: 111.4 kB / 0.7977 GB, free: 6.352 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.1999, allocations: 409.8 kB / 0.7981 GB, free: 5.949 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.2, allocations: 37.7 kB / 0.7981 GB, free: 5.906 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.2002, allocations: 272.6 kB / 0.7984 GB, free: 5.633 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.2004, allocations: 185.3 kB / 0.7985 GB, free: 5.449 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.2004, allocations: 8 kB / 0.7985 GB, free: 5.441 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2006, allocations: 358.8 kB / 0.7989 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/0.2014, allocations: 301.1 kB / 0.7992 GB, free: 4.789 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.2022, allocations: 433.5 kB / 0.7996 GB, free: 4.312 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.2037, allocations: 0.7028 MB / 0.8003 GB, free: 3.562 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2037, allocations: 0 / 0.8003 GB, free: 3.562 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004137/0.2079, allocations: 1.081 MB / 0.8013 GB, free: 2.473 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2079, allocations: 8 kB / 0.8013 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2079, allocations: 4 kB / 0.8013 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/0.2111, allocations: 380.7 kB / 0.8017 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.2119, allocations: 167.7 kB / 0.8019 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.2158, allocations: 2.011 MB / 0.8038 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.2166, allocations: 91.45 kB / 0.8039 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.2167, allocations: 31.97 kB / 0.8039 GB, free: 15.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003717/0.2171, allocations: 209.7 kB / 0.8041 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2172, allocations: 51.34 kB / 0.8042 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/0.2204, allocations: 1.062 MB / 0.8052 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2204, allocations: 8 kB / 0.8052 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2204, allocations: 4 kB / 0.8052 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.2204, allocations: 3.984 kB / 0.8052 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.2241, allocations: 1.789 MB / 0.807 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2242, allocations: 0 / 0.807 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.2249, allocations: 147.8 kB / 0.8071 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.226, allocations: 176.7 kB / 0.8073 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.2261, allocations: 27.92 kB / 0.8073 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.2285, allocations: 1.766 MB / 0.8091 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2286, allocations: 0 / 0.8091 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.2314, allocations: 1.022 MB / 0.8101 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.2317, allocations: 212.3 kB / 0.8103 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.2318, allocations: 16 kB / 0.8103 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.2324, allocations: 63.84 kB / 0.8103 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.2326, allocations: 56.52 kB / 0.8104 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.2326, allocations: 19.98 kB / 0.8104 GB, free: 8.777 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003534/0.233, allocations: 279.1 kB / 0.8107 GB, free: 8.508 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.233, allocations: 3.938 kB / 0.8107 GB, free: 8.504 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008236/0.2338, allocations: 235.7 kB / 0.8109 GB, free: 8.273 MB / 490.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: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.235, allocations: 0.5711 MB / 0.8115 GB, free: 7.824 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.2373, allocations: 0.8796 MB / 0.8123 GB, free: 6.922 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2373, allocations: 192 / 0.8123 GB, free: 6.922 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.2384, allocations: 0.5334 MB / 0.8128 GB, free: 6.379 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.2389, allocations: 73.05 kB / 0.8129 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.2413, allocations: 1.53 MB / 0.8144 GB, free: 4.758 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.2418, allocations: 0.8776 MB / 0.8153 GB, free: 3.852 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007484/0.2426, allocations: 144.5 kB / 0.8154 GB, free: 3.711 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.2428, allocations: 71.38 kB / 0.8155 GB, free: 3.641 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2428, allocations: 0 / 0.8155 GB, free: 3.641 MB / 490.7 MB Notification: Performance of Templates: time 0.01683/0.2597, allocations: 9.529 MB / 0.8248 GB, free: 10.14 MB / 0.4948 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1)