Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004267/0.004266, allocations: 236 kB / 15.81 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001122/0.001122, allocations: 178.8 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.907/3.907, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.086/4.086, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006505, allocations: 17.09 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1741, allocations: 98.72 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001824/0.1759, allocations: 1.34 MB / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1771, allocations: 434.7 kB / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.1772, allocations: 0 / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.1772, allocations: 11.86 kB / 1.106 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1774, allocations: 23.84 kB / 1.106 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008313/0.1782, allocations: 213.8 kB / 1.107 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1786, allocations: 295.5 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1787, allocations: 26.58 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.179, allocations: 163.6 kB / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1792, allocations: 119.7 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.1793, allocations: 8 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.1794, allocations: 12 kB / 1.107 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.1795, allocations: 63.78 kB / 1.107 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.1796, allocations: 69.58 kB / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.1799, allocations: 282.1 kB / 1.108 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1799, allocations: 0 / 1.108 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.18, allocations: 0 / 1.108 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.18, allocations: 0 / 1.108 GB, free: 39.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001323/0.1813, allocations: 0.6019 MB / 1.108 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1814, allocations: 12.03 kB / 1.108 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1815, allocations: 23.81 kB / 1.108 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1818, allocations: 249.8 kB / 1.108 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.1819, allocations: 19.92 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.182, allocations: 20 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.1825, allocations: 164.7 kB / 1.109 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1825, allocations: 3.5 kB / 1.109 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.1825, allocations: 0 / 1.109 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1826, allocations: 4 kB / 1.109 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1828, allocations: 63.95 kB / 1.109 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.1843, allocations: 0.5399 MB / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.1848, allocations: 131.3 kB / 1.109 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.185, allocations: 64.77 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.185, allocations: 6.594 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/0.1856, allocations: 213.6 kB / 1.11 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.106e-06/0.1856, allocations: 0 / 1.11 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008381/0.1864, allocations: 273.1 kB / 1.11 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1865, allocations: 59.41 kB / 1.11 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1868, allocations: 244.9 kB / 1.11 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/0.1869, allocations: 41.7 kB / 1.11 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.1869, allocations: 101.1 kB / 1.11 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.187, allocations: 40.34 kB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.1871, allocations: 8 kB / 1.11 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.1872, allocations: 326.3 kB / 1.111 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.1875, allocations: 108.2 kB / 1.111 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.1879, allocations: 161.9 kB / 1.111 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.1882, allocations: 163.1 kB / 1.111 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1882, allocations: 0 / 1.111 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001015/0.1893, allocations: 422.3 kB / 1.111 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/0.1894, allocations: 79.38 kB / 1.112 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1894, allocations: 4 kB / 1.112 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1894, allocations: 7.953 kB / 1.112 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1897, allocations: 24.86 kB / 1.112 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.1897, allocations: 7.984 kB / 1.112 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00086/0.1906, allocations: 79.02 kB / 1.112 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.1907, allocations: 39.98 kB / 1.112 GB, free: 34.59 MB / 0.6042 GB 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.191, allocations: 176.6 kB / 1.112 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.191, allocations: 23.72 kB / 1.112 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.1911, allocations: 26.17 kB / 1.112 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1911, allocations: 3.953 kB / 1.112 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1911, allocations: 0 / 1.112 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.1913, allocations: 148.8 kB / 1.112 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.1914, allocations: 19.98 kB / 1.112 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.1917, allocations: 11.98 kB / 1.112 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.1918, allocations: 18.95 kB / 1.112 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006624/0.1925, allocations: 292.3 kB / 1.112 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005838/0.1931, allocations: 397.5 kB / 1.113 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001884/0.1933, allocations: 67.95 kB / 1.113 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001927/0.1935, allocations: 172.5 kB / 1.113 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of Backend: time 6.01e-07/0.1935, allocations: 0 / 1.113 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.1945, allocations: 398.3 kB / 1.113 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009593/0.1955, allocations: 0.8382 MB / 1.114 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.01052/0.206, allocations: 4.124 MB / 1.118 GB, free: 28.07 MB / 0.6042 GB