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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004217/0.004217, allocations: 236.6 kB / 15.8 MB, free: 6.316 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.001167/0.001167, allocations: 179.1 kB / 16.68 MB, free: 5.473 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.827/3.827, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.034/4.034, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004867, allocations: 20 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 98.72 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001842/0.1737, allocations: 1.344 MB / 1.106 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1748, allocations: 436 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.1748, allocations: 0 / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.1749, allocations: 3.938 kB / 1.106 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.175, allocations: 19.91 kB / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007743/0.1758, allocations: 212.8 kB / 1.107 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.1761, allocations: 303.5 kB / 1.107 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1763, allocations: 26.78 kB / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.1766, allocations: 155.6 kB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1768, allocations: 130 kB / 1.107 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.293e-05/0.1769, allocations: 8 kB / 1.107 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.177, allocations: 8 kB / 1.107 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.1771, allocations: 63.8 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.1772, allocations: 69.58 kB / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1775, allocations: 275.6 kB / 1.108 GB, free: 39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1775, allocations: 7 kB / 1.108 GB, free: 39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1775, allocations: 0 / 1.108 GB, free: 39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1775, allocations: 0 / 1.108 GB, free: 39 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.001274/0.1788, allocations: 0.5946 MB / 1.108 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1788, allocations: 11.19 kB / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.179, allocations: 31.8 kB / 1.108 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1793, allocations: 241.8 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.1794, allocations: 23.92 kB / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/0.1795, allocations: 16 kB / 1.108 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.1799, allocations: 169.1 kB / 1.109 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.18, allocations: 0 / 1.109 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.18, allocations: 7.984 kB / 1.109 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.18, allocations: 5.375 kB / 1.109 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.1803, allocations: 52.86 kB / 1.109 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.1818, allocations: 0.545 MB / 1.109 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.1822, allocations: 144.4 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1824, allocations: 56.84 kB / 1.109 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1824, allocations: 4 kB / 1.109 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005481/0.183, allocations: 214.8 kB / 1.11 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.505e-06/0.183, allocations: 0 / 1.11 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000816/0.1838, allocations: 273.1 kB / 1.11 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1839, allocations: 63.39 kB / 1.11 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.1842, allocations: 244.9 kB / 1.11 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.1842, allocations: 41.69 kB / 1.11 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.1843, allocations: 97.06 kB / 1.11 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.1844, allocations: 47.02 kB / 1.11 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.1845, allocations: 4 kB / 1.11 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.1846, allocations: 326.8 kB / 1.111 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.1849, allocations: 104.2 kB / 1.111 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.1853, allocations: 156.3 kB / 1.111 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.1856, allocations: 163.2 kB / 1.111 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1856, allocations: 0 / 1.111 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009719/0.1866, allocations: 426.4 kB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.1867, allocations: 79.14 kB / 1.112 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1867, allocations: 4 kB / 1.112 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1867, allocations: 3.953 kB / 1.112 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.187, allocations: 31.91 kB / 1.112 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.187, allocations: 4 kB / 1.112 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/0.1879, allocations: 75.33 kB / 1.112 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.188, allocations: 39.98 kB / 1.112 GB, free: 34.5 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.0002424/0.1883, allocations: 172.7 kB / 1.112 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.1883, allocations: 27.72 kB / 1.112 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.1884, allocations: 27.42 kB / 1.112 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1884, allocations: 3.953 kB / 1.112 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1884, allocations: 0 / 1.112 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.1886, allocations: 153.8 kB / 1.112 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.1887, allocations: 15.31 kB / 1.112 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.189, allocations: 11.98 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.1891, allocations: 15.97 kB / 1.112 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006611/0.1898, allocations: 300.1 kB / 1.112 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005679/0.1904, allocations: 386.3 kB / 1.113 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001881/0.1906, allocations: 63.95 kB / 1.113 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001869/0.1908, allocations: 184.5 kB / 1.113 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.1908, allocations: 0 / 1.113 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009977/0.1918, allocations: 400.5 kB / 1.113 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000996/0.1928, allocations: 0.8407 MB / 1.114 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.01013/0.203, allocations: 4.128 MB / 1.118 GB, free: 27.96 MB / 0.6042 GB