Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7532/0.7532, allocations: 143.8 MB / 159.1 MB, free: 6.484 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.001215/0.001215, allocations: 186 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.386/1.386, allocations: 225.7 MB / 450.4 MB, free: 4.988 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.0007973/0.0007972, allocations: 99.52 kB / 0.5211 GB, free: 1.641 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.00176/0.001761, allocations: 269.8 kB / 0.6025 GB, free: 49.33 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 16.5 kB / 0.6948 GB, free: 59.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1678, allocations: 82.46 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001742/0.1696, allocations: 1.193 MB / 0.7765 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1709, allocations: 0.711 MB / 0.7772 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.171, allocations: 3.938 kB / 0.7772 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.1711, allocations: 19.92 kB / 0.7772 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1713, allocations: 16.23 kB / 0.7772 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.1721, allocations: 219.7 kB / 0.7774 GB, free: 12.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.1726, allocations: 287.9 kB / 0.7777 GB, free: 11.86 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.1727, allocations: 11.92 kB / 0.7777 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.1731, allocations: 218.3 kB / 0.7779 GB, free: 11.63 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1734, allocations: 131.6 kB / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.1735, allocations: 8 kB / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.416e-05/0.1736, allocations: 8 kB / 0.7781 GB, free: 11.49 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1737, allocations: 71.78 kB / 0.7781 GB, free: 11.42 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.1739, allocations: 149 kB / 0.7783 GB, free: 11.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1743, allocations: 279.3 kB / 0.7785 GB, free: 10.99 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1743, allocations: 0 / 0.7785 GB, free: 10.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1743, allocations: 0 / 0.7785 GB, free: 10.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1743, allocations: 0 / 0.7785 GB, free: 10.99 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.001316/0.1756, allocations: 0.6219 MB / 0.7791 GB, free: 10.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1757, allocations: 8.031 kB / 0.7791 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1759, allocations: 31.72 kB / 0.7792 GB, free: 10.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.1763, allocations: 266.2 kB / 0.7794 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.1763, allocations: 11.98 kB / 0.7794 GB, free: 9.945 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.1764, allocations: 16 kB / 0.7795 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.1768, allocations: 141.5 kB / 0.7796 GB, free: 9.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1768, allocations: 7.938 kB / 0.7796 GB, free: 9.777 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.1768, allocations: 7.984 kB / 0.7796 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1768, allocations: 4 kB / 0.7796 GB, free: 9.766 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.177, allocations: 47.91 kB / 0.7797 GB, free: 9.719 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.1774, allocations: 325.1 kB / 0.78 GB, free: 9.352 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.1777, allocations: 118.7 kB / 0.7801 GB, free: 9.227 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1778, allocations: 64.83 kB / 0.7801 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1778, allocations: 0 / 0.7801 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004469/0.1783, allocations: 227.6 kB / 0.7804 GB, free: 8.926 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1783, allocations: 0 / 0.7804 GB, free: 8.926 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005719/0.1789, allocations: 265 kB / 0.7806 GB, free: 8.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1789, allocations: 63.39 kB / 0.7807 GB, free: 8.586 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.1792, allocations: 294.9 kB / 0.7809 GB, free: 8.293 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.1793, allocations: 37.7 kB / 0.781 GB, free: 8.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1793, allocations: 89.14 kB / 0.7811 GB, free: 8.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.1794, allocations: 47.48 kB / 0.7811 GB, free: 8.113 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.1794, allocations: 8 kB / 0.7811 GB, free: 8.105 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1796, allocations: 322.8 kB / 0.7814 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1798, allocations: 96.17 kB / 0.7815 GB, free: 7.684 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.18, allocations: 142.4 kB / 0.7817 GB, free: 7.523 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1804, allocations: 247 kB / 0.7819 GB, free: 7.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1804, allocations: 4 kB / 0.7819 GB, free: 7.246 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006447/0.181, allocations: 412.8 kB / 0.7823 GB, free: 6.824 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.1811, allocations: 75.39 kB / 0.7824 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1811, allocations: 0 / 0.7824 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1811, allocations: 7.984 kB / 0.7824 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1813, allocations: 27.92 kB / 0.7824 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1813, allocations: 4 kB / 0.7824 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.1818, allocations: 71.8 kB / 0.7825 GB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.1819, allocations: 51.98 kB / 0.7825 GB, free: 6.578 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.00017/0.1821, allocations: 171.9 kB / 0.7827 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.1821, allocations: 27.72 kB / 0.7827 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.1822, allocations: 26.25 kB / 0.7827 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1822, allocations: 4 kB / 0.7827 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1822, allocations: 4 kB / 0.7827 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1822, allocations: 7.969 kB / 0.7828 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.183, allocations: 0.5605 MB / 0.7833 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.183, allocations: 0 / 0.7833 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.1831, allocations: 8 kB / 0.7833 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1831, allocations: 0 / 0.7833 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1831, allocations: 23.91 kB / 0.7833 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1831, allocations: 3.938 kB / 0.7833 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1831, allocations: 0 / 0.7833 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.1835, allocations: 327 kB / 0.7836 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.1837, allocations: 152.6 kB / 0.7838 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.1837, allocations: 8 kB / 0.7838 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1839, allocations: 19.92 kB / 0.7838 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.184, allocations: 15.97 kB / 0.7838 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.184, allocations: 31.98 kB / 0.7839 GB, free: 5.105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.1842, allocations: 205.9 kB / 0.7841 GB, free: 4.898 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1842, allocations: 4 kB / 0.7841 GB, free: 4.895 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.1845, allocations: 48 kB / 0.7841 GB, free: 4.848 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.0001354/0.1846, allocations: 116.7 kB / 0.7842 GB, free: 4.723 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.1851, allocations: 343.7 kB / 0.7845 GB, free: 4.363 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1852, allocations: 0 / 0.7845 GB, free: 4.363 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1853, allocations: 72.28 kB / 0.7846 GB, free: 4.293 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1856, allocations: 24.88 kB / 0.7846 GB, free: 4.266 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.1863, allocations: 463.4 kB / 0.7851 GB, free: 3.789 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1866, allocations: 0.7399 MB / 0.7858 GB, free: 3.023 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.1867, allocations: 41.42 kB / 0.7858 GB, free: 2.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1869, allocations: 35.42 kB / 0.7859 GB, free: 2.945 MB / 458.7 MB Notification: Performance of SimCode: time 9.307e-06/0.1869, allocations: 0 / 0.7859 GB, free: 2.945 MB / 458.7 MB Notification: Performance of Templates: time 0.006596/0.1935, allocations: 3.997 MB / 0.7898 GB, free: 14.96 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)