Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7392/0.7392, allocations: 143.8 MB / 159.1 MB, free: 6.551 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.0009166/0.0009168, allocations: 183.3 kB / 192 MB, free: 6.727 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.278/1.278, allocations: 225.7 MB / 450.4 MB, free: 4.973 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.000764/0.000764, allocations: 111.4 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.001788/0.001788, allocations: 286 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004106, allocations: 15.06 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003303/0.1345, allocations: 2.606 MB / 0.7778 GB, free: 11.73 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.1393, allocations: 4.789 MB / 0.7825 GB, free: 6.523 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1394, allocations: 4 kB / 0.7825 GB, free: 6.52 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1396, allocations: 47.64 kB / 0.7826 GB, free: 6.473 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007595/0.1404, allocations: 358.5 kB / 0.7829 GB, free: 6.121 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.1411, allocations: 347.4 kB / 0.7832 GB, free: 5.781 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.1416, allocations: 0.6401 MB / 0.7839 GB, free: 5.141 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1419, allocations: 118.5 kB / 0.784 GB, free: 5.023 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.1421, allocations: 239 kB / 0.7842 GB, free: 4.789 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.1425, allocations: 278.9 kB / 0.7845 GB, free: 4.516 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.1426, allocations: 24 kB / 0.7845 GB, free: 4.492 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006902/0.1433, allocations: 459.4 kB / 0.7849 GB, free: 4.043 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1435, allocations: 131.5 kB / 0.7851 GB, free: 3.914 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.1437, allocations: 268.2 kB / 0.7853 GB, free: 3.645 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009003/0.1446, allocations: 0.9113 MB / 0.7862 GB, free: 2.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1446, allocations: 0 / 0.7862 GB, free: 2.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1446, allocations: 0 / 0.7862 GB, free: 2.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1446, allocations: 4 kB / 0.7862 GB, free: 2.727 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001581/0.1462, allocations: 0.7879 MB / 0.787 GB, free: 1.891 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1463, allocations: 12.03 kB / 0.787 GB, free: 1.879 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.1492, allocations: 0.57 MB / 0.7876 GB, free: 1.309 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.1504, allocations: 0.5661 MB / 0.7881 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.1506, allocations: 195.8 kB / 0.7883 GB, free: 488 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.1507, allocations: 47.92 kB / 0.7883 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.152, allocations: 0.6674 MB / 0.789 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.152, allocations: 0 / 0.789 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.1521, allocations: 24 kB / 0.789 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.1521, allocations: 8 kB / 0.789 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.1539, allocations: 0.7805 MB / 0.7898 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.157, allocations: 1.731 MB / 0.7915 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.1598, allocations: 1.008 MB / 0.7925 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007816/0.1606, allocations: 366.3 kB / 0.7928 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/0.1623, allocations: 1.769 MB / 0.7945 GB, free: 9.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009384/0.1632, allocations: 462.8 kB / 0.795 GB, free: 9.129 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 2.505e-06/0.1632, allocations: 0 / 0.795 GB, free: 9.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.002495/0.1657, allocations: 1.076 MB / 0.796 GB, free: 8.047 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.1658, allocations: 107.4 kB / 0.7961 GB, free: 7.914 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.1662, allocations: 353.6 kB / 0.7965 GB, free: 7.566 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.1663, allocations: 41.7 kB / 0.7965 GB, free: 7.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1664, allocations: 221.1 kB / 0.7967 GB, free: 7.297 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.1666, allocations: 212.8 kB / 0.7969 GB, free: 7.086 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1667, allocations: 16 kB / 0.7969 GB, free: 7.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1668, allocations: 362.7 kB / 0.7973 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.1676, allocations: 317.8 kB / 0.7976 GB, free: 6.395 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/0.1684, allocations: 445.5 kB / 0.798 GB, free: 5.918 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.17, allocations: 0.7283 MB / 0.7987 GB, free: 5.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.17, allocations: 0 / 0.7987 GB, free: 5.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001859/0.1719, allocations: 0.8713 MB / 0.7996 GB, free: 4.281 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1719, allocations: 4 kB / 0.7996 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1719, allocations: 4 kB / 0.7996 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.172, allocations: 4 kB / 0.7996 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.1729, allocations: 195.9 kB / 0.7998 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1729, allocations: 4 kB / 0.7998 GB, free: 4.074 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.1735, allocations: 99.25 kB / 0.7999 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.1736, allocations: 35.97 kB / 0.7999 GB, free: 3.941 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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 0.0002423/0.1739, allocations: 205.6 kB / 0.8001 GB, free: 3.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.174, allocations: 51.42 kB / 0.8001 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.1765, allocations: 1.12 MB / 0.8012 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.1766, allocations: 12 kB / 0.8013 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1766, allocations: 0 / 0.8013 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.1766, allocations: 7.922 kB / 0.8013 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.1795, allocations: 1.765 MB / 0.803 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1795, allocations: 0 / 0.803 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/0.1804, allocations: 191.7 kB / 0.8032 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1804, allocations: 8 kB / 0.8032 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.1805, allocations: 31.91 kB / 0.8032 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1805, allocations: 0 / 0.8032 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1805, allocations: 0 / 0.8032 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.1824, allocations: 1.011 MB / 0.8042 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.1827, allocations: 228.1 kB / 0.8044 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.1828, allocations: 19.94 kB / 0.8044 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.1834, allocations: 64.75 kB / 0.8045 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.1835, allocations: 56.91 kB / 0.8045 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.1836, allocations: 31.98 kB / 0.8046 GB, free: 15.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002393/0.1839, allocations: 243.2 kB / 0.8048 GB, free: 14.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1839, allocations: 4 kB / 0.8048 GB, free: 14.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.1845, allocations: 227.8 kB / 0.805 GB, free: 14.58 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 (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001097/0.1856, allocations: 0.5748 MB / 0.8056 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.1874, allocations: 0.8189 MB / 0.8064 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1874, allocations: 0 / 0.8064 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.1883, allocations: 477.7 kB / 0.8068 GB, free: 12.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1888, allocations: 65.36 kB / 0.8069 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1908, allocations: 1.405 MB / 0.8083 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1912, allocations: 0.8665 MB / 0.8091 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007968/0.192, allocations: 172.6 kB / 0.8093 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.1924, allocations: 91.36 kB / 0.8094 GB, free: 10.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1924, allocations: 4 kB / 0.8094 GB, free: 10.19 MB / 490.7 MB Notification: Performance of Templates: time 0.01406/0.2064, allocations: 9.04 MB / 0.8182 GB, free: 1.184 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)