Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7422/0.7422, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.001039/0.001039, allocations: 183.2 kB / 192 MB, free: 6.742 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.443/1.443, allocations: 225.7 MB / 450.4 MB, free: 5.023 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.0008014/0.0008014, allocations: 99.52 kB / 0.5211 GB, free: 1.691 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.001651/0.001651, allocations: 282.6 kB / 0.6025 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004292, allocations: 13.62 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 82.46 MB / 0.7753 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.001718/0.1749, allocations: 1.181 MB / 0.7765 GB, free: 13.22 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.176, allocations: 0.7265 MB / 0.7772 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.1761, allocations: 3.938 kB / 0.7772 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.919e-05/0.1762, allocations: 7.922 kB / 0.7772 GB, free: 12.4 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1763, allocations: 24.23 kB / 0.7772 GB, free: 12.38 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.1769, allocations: 231.6 kB / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1772, allocations: 283.9 kB / 0.7777 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.1773, allocations: 7.984 kB / 0.7777 GB, free: 11.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.1776, allocations: 222.3 kB / 0.7779 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1778, allocations: 123.6 kB / 0.778 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.1779, allocations: 12 kB / 0.778 GB, free: 11.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.553e-05/0.178, allocations: 8 kB / 0.778 GB, free: 11.51 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1781, allocations: 67.78 kB / 0.7781 GB, free: 11.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.1782, allocations: 153 kB / 0.7783 GB, free: 11.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1786, allocations: 283.3 kB / 0.7785 GB, free: 11.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1786, allocations: 0 / 0.7785 GB, free: 11.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1786, allocations: 0 / 0.7785 GB, free: 11.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1786, allocations: 0 / 0.7785 GB, free: 11.01 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00104/0.1796, allocations: 0.6141 MB / 0.7791 GB, free: 10.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1797, allocations: 16.03 kB / 0.7791 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.1798, allocations: 27.72 kB / 0.7792 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1801, allocations: 262.2 kB / 0.7794 GB, free: 9.984 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.1802, allocations: 15.98 kB / 0.7794 GB, free: 9.969 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.1802, allocations: 20 kB / 0.7795 GB, free: 9.949 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1805, allocations: 141.5 kB / 0.7796 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1805, allocations: 0 / 0.7796 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1806, allocations: 11.98 kB / 0.7796 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1806, allocations: 0 / 0.7796 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1807, allocations: 47.97 kB / 0.7796 GB, free: 9.746 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1811, allocations: 321.2 kB / 0.78 GB, free: 9.383 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1814, allocations: 126.7 kB / 0.7801 GB, free: 9.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1815, allocations: 56.83 kB / 0.7801 GB, free: 9.191 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1816, allocations: 4 kB / 0.7801 GB, free: 9.188 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.182, allocations: 215.6 kB / 0.7803 GB, free: 8.965 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.1821, allocations: 0 / 0.7803 GB, free: 8.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005494/0.1826, allocations: 273 kB / 0.7806 GB, free: 8.691 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1827, allocations: 63.39 kB / 0.7807 GB, free: 8.617 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1829, allocations: 290.9 kB / 0.7809 GB, free: 8.328 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.183, allocations: 37.7 kB / 0.781 GB, free: 8.285 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.1831, allocations: 89.14 kB / 0.7811 GB, free: 8.195 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.1832, allocations: 51.42 kB / 0.7811 GB, free: 8.145 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.1832, allocations: 8 kB / 0.7811 GB, free: 8.137 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1833, allocations: 322.8 kB / 0.7814 GB, free: 7.812 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.1835, allocations: 96.11 kB / 0.7815 GB, free: 7.715 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.1838, allocations: 148.1 kB / 0.7817 GB, free: 7.551 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.1841, allocations: 243.2 kB / 0.7819 GB, free: 7.281 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1841, allocations: 0 / 0.7819 GB, free: 7.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000655/0.1847, allocations: 422.4 kB / 0.7823 GB, free: 6.852 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.1848, allocations: 71.39 kB / 0.7824 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1848, allocations: 4 kB / 0.7824 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1849, allocations: 3.984 kB / 0.7824 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.185, allocations: 31.92 kB / 0.7824 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1851, allocations: 4.188 kB / 0.7824 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.1855, allocations: 67.8 kB / 0.7825 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.1856, allocations: 51.98 kB / 0.7825 GB, free: 6.609 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.0001979/0.1858, allocations: 175.9 kB / 0.7827 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1859, allocations: 23.72 kB / 0.7827 GB, free: 6.406 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.186, allocations: 34.25 kB / 0.7827 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.186, allocations: 0 / 0.7827 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.186, allocations: 7.984 kB / 0.7827 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.186, allocations: 3.984 kB / 0.7827 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007898/0.1868, allocations: 0.5605 MB / 0.7833 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1868, allocations: 4 kB / 0.7833 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.1869, allocations: 4 kB / 0.7833 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1869, allocations: 7.938 kB / 0.7833 GB, free: 5.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.1869, allocations: 19.97 kB / 0.7833 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1869, allocations: 7.938 kB / 0.7833 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1869, allocations: 0 / 0.7833 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.1873, allocations: 311.1 kB / 0.7836 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1875, allocations: 160.6 kB / 0.7838 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.1875, allocations: 12 kB / 0.7838 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1877, allocations: 19.92 kB / 0.7838 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.1878, allocations: 15.97 kB / 0.7838 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.1879, allocations: 31.98 kB / 0.7839 GB, free: 5.129 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.188, allocations: 205.9 kB / 0.7841 GB, free: 4.922 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.188, allocations: 0 / 0.7841 GB, free: 4.922 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.1883, allocations: 48 kB / 0.7841 GB, free: 4.875 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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001428/0.1885, allocations: 121.8 kB / 0.7842 GB, free: 4.746 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.189, allocations: 339.7 kB / 0.7845 GB, free: 4.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.189, allocations: 4 kB / 0.7845 GB, free: 4.387 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.1891, allocations: 75.89 kB / 0.7846 GB, free: 4.312 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1895, allocations: 20.88 kB / 0.7846 GB, free: 4.289 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.1901, allocations: 463.8 kB / 0.7851 GB, free: 3.812 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1905, allocations: 0.7437 MB / 0.7858 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.1906, allocations: 37.42 kB / 0.7858 GB, free: 3.004 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1908, allocations: 39.42 kB / 0.7859 GB, free: 2.965 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1908, allocations: 3.938 kB / 0.7859 GB, free: 2.961 MB / 458.7 MB Notification: Performance of Templates: time 0.007038/0.1978, allocations: 3.985 MB / 0.7898 GB, free: 14.99 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)