Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7486/0.7486, allocations: 143.8 MB / 159.1 MB, free: 6.531 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.0009906/0.0009905, allocations: 174.5 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.373/1.373, allocations: 225.7 MB / 450.4 MB, free: 4.996 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.0008315/0.0008318, allocations: 111.4 kB / 0.5211 GB, free: 1.652 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.001642/0.001642, allocations: 275 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 13.28 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.004056/0.1366, allocations: 3.269 MB / 0.7785 GB, free: 11.08 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005476/0.1421, allocations: 4.96 MB / 0.7833 GB, free: 5.699 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1423, allocations: 15.94 kB / 0.7834 GB, free: 5.684 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.1427, allocations: 103.3 kB / 0.7835 GB, free: 5.582 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000889/0.1436, allocations: 382.1 kB / 0.7838 GB, free: 5.207 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.1443, allocations: 327.5 kB / 0.7841 GB, free: 4.887 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.1449, allocations: 0.7057 MB / 0.7848 GB, free: 4.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.1452, allocations: 193.3 kB / 0.785 GB, free: 3.984 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.1456, allocations: 258.8 kB / 0.7852 GB, free: 3.73 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.1459, allocations: 278.5 kB / 0.7855 GB, free: 3.457 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.146, allocations: 20 kB / 0.7855 GB, free: 3.438 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.1467, allocations: 443.5 kB / 0.786 GB, free: 3.004 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1469, allocations: 119.4 kB / 0.7861 GB, free: 2.887 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.1472, allocations: 300 kB / 0.7864 GB, free: 2.586 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1482, allocations: 1.028 MB / 0.7874 GB, free: 1.555 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1483, allocations: 0 / 0.7874 GB, free: 1.555 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1483, allocations: 0 / 0.7874 GB, free: 1.555 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1483, allocations: 0 / 0.7874 GB, free: 1.555 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001631/0.1499, allocations: 0.8925 MB / 0.7882 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.15, allocations: 8.031 kB / 0.7882 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003332/0.1533, allocations: 0.6479 MB / 0.7889 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.1546, allocations: 0.6389 MB / 0.7895 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.1548, allocations: 114.7 kB / 0.7896 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.1549, allocations: 51.94 kB / 0.7897 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.1564, allocations: 0.7074 MB / 0.7903 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1564, allocations: 0 / 0.7903 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/0.1565, allocations: 24 kB / 0.7904 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1565, allocations: 12 kB / 0.7904 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.1586, allocations: 0.7845 MB / 0.7911 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.162, allocations: 1.912 MB / 0.793 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.1648, allocations: 0.8732 MB / 0.7939 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1658, allocations: 386.3 kB / 0.7942 GB, free: 10.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.1676, allocations: 1.765 MB / 0.796 GB, free: 8.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.1687, allocations: 478.8 kB / 0.7964 GB, free: 7.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 2.284e-06/0.1687, allocations: 0 / 0.7964 GB, free: 7.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.006699/0.1754, allocations: 1.695 MB / 0.7981 GB, free: 5.961 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.1755, allocations: 107.4 kB / 0.7982 GB, free: 5.832 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.176, allocations: 417.9 kB / 0.7986 GB, free: 5.422 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.1761, allocations: 37.7 kB / 0.7986 GB, free: 5.379 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.1763, allocations: 269.6 kB / 0.7989 GB, free: 5.109 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.1765, allocations: 197.2 kB / 0.7991 GB, free: 4.914 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1765, allocations: 8 kB / 0.7991 GB, free: 4.906 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1767, allocations: 366.7 kB / 0.7994 GB, free: 4.539 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/0.1776, allocations: 325.1 kB / 0.7997 GB, free: 4.223 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/0.1786, allocations: 455.7 kB / 0.8002 GB, free: 3.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.1804, allocations: 0.7363 MB / 0.8009 GB, free: 2.953 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1805, allocations: 0 / 0.8009 GB, free: 2.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003571/0.184, allocations: 1.084 MB / 0.8019 GB, free: 1.859 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1841, allocations: 12.27 kB / 0.8019 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1841, allocations: 4 kB / 0.8019 GB, free: 1.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007106/0.1848, allocations: 140.7 kB / 0.8021 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/0.1856, allocations: 171.7 kB / 0.8022 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.1903, allocations: 1.997 MB / 0.8042 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.1911, allocations: 111.4 kB / 0.8043 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.1911, allocations: 27.97 kB / 0.8043 GB, free: 15.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002988/0.1914, allocations: 209.6 kB / 0.8045 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.1915, allocations: 63.28 kB / 0.8046 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.1949, allocations: 1.097 MB / 0.8057 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.1949, allocations: 8 kB / 0.8057 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1949, allocations: 0 / 0.8057 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.195, allocations: 3.984 kB / 0.8057 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.1989, allocations: 1.823 MB / 0.8075 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1989, allocations: 0 / 0.8075 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007741/0.1997, allocations: 155.8 kB / 0.8076 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000705/0.2004, allocations: 132.7 kB / 0.8077 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.2005, allocations: 15.98 kB / 0.8077 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/0.2037, allocations: 1.789 MB / 0.8095 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2037, allocations: 4.094 kB / 0.8095 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.2067, allocations: 1.053 MB / 0.8105 GB, free: 8.676 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.207, allocations: 224.1 kB / 0.8107 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.2071, allocations: 19.92 kB / 0.8108 GB, free: 8.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.2078, allocations: 68.88 kB / 0.8108 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.2079, allocations: 48.58 kB / 0.8109 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.208, allocations: 27.92 kB / 0.8109 GB, free: 8.277 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003387/0.2083, allocations: 295.1 kB / 0.8112 GB, free: 7.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2083, allocations: 4 kB / 0.8112 GB, free: 7.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007365/0.2091, allocations: 235.7 kB / 0.8114 GB, free: 7.758 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 (69): * Single equations (assignments): 67 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.2102, allocations: 0.5713 MB / 0.812 GB, free: 7.312 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.2124, allocations: 0.9061 MB / 0.8128 GB, free: 6.387 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2125, allocations: 0 / 0.8128 GB, free: 6.387 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.2136, allocations: 0.5374 MB / 0.8134 GB, free: 5.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.214, allocations: 73.86 kB / 0.8134 GB, free: 5.762 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.2164, allocations: 1.606 MB / 0.815 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.2168, allocations: 0.8853 MB / 0.8159 GB, free: 3.227 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007356/0.2176, allocations: 144.5 kB / 0.816 GB, free: 3.082 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2178, allocations: 71.39 kB / 0.8161 GB, free: 3.012 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2178, allocations: 3.938 kB / 0.8161 GB, free: 3.008 MB / 490.7 MB Notification: Performance of Templates: time 0.01639/0.2342, allocations: 10.14 MB / 0.826 GB, free: 8.895 MB / 0.4948 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1)