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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004259/0.004264, 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.00112/0.00112, 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.893/3.893, allocations: 389.1 MB / 406.5 MB, free: 11.83 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 3.966/3.966, allocations: 472.3 MB / 0.9024 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006602/0.0006606, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1735, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00176/0.1753, allocations: 1.344 MB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1764, allocations: 439.2 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.1764, allocations: 0 / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.1765, allocations: 7.938 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1766, allocations: 15.91 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.1775, allocations: 217 kB / 1.107 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.1778, allocations: 299.5 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1779, allocations: 26.56 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.1783, allocations: 155.6 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1785, allocations: 123.7 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.1786, allocations: 8 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.491e-05/0.1787, allocations: 12 kB / 1.107 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.1788, allocations: 63.78 kB / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.1789, allocations: 73.58 kB / 1.107 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1792, allocations: 278.7 kB / 1.108 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1792, allocations: 3.984 kB / 1.108 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.1792, allocations: 0 / 1.108 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1793, allocations: 0 / 1.108 GB, free: 39.02 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.001256/0.1805, allocations: 0.6017 MB / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1806, allocations: 8.031 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1807, allocations: 23.81 kB / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.181, allocations: 249.8 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.1811, allocations: 19.92 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.1812, allocations: 20.98 kB / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.1816, allocations: 164.7 kB / 1.109 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1817, allocations: 3.094 kB / 1.109 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.1817, allocations: 11.98 kB / 1.109 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1817, allocations: 0 / 1.109 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1819, allocations: 55.97 kB / 1.109 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1835, allocations: 0.5437 MB / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.1839, allocations: 130.7 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1841, allocations: 65.52 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1841, allocations: 2.844 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005497/0.1847, allocations: 213.2 kB / 1.11 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.045e-06/0.1847, allocations: 0 / 1.11 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000816/0.1855, allocations: 277.1 kB / 1.11 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1856, allocations: 63.39 kB / 1.11 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1859, allocations: 244.9 kB / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.1859, allocations: 33.7 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.186, allocations: 101.1 kB / 1.11 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.1861, allocations: 46.97 kB / 1.11 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1862, allocations: 11.94 kB / 1.11 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.1862, allocations: 322.8 kB / 1.111 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1866, allocations: 104.2 kB / 1.111 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.1869, allocations: 157.9 kB / 1.111 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.1873, allocations: 167.4 kB / 1.111 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1873, allocations: 0 / 1.111 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009775/0.1883, allocations: 426.2 kB / 1.112 GB, free: 34.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.1884, allocations: 75.39 kB / 1.112 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1884, allocations: 0 / 1.112 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1884, allocations: 7.953 kB / 1.112 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.1887, allocations: 31.91 kB / 1.112 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.1887, allocations: 4 kB / 1.112 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.1896, allocations: 76.39 kB / 1.112 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.1897, allocations: 39.98 kB / 1.112 GB, free: 34.52 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.0002345/0.19, allocations: 173.1 kB / 1.112 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.19, allocations: 19.72 kB / 1.112 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.696e-05/0.1901, allocations: 30.17 kB / 1.112 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1901, allocations: 4.547 kB / 1.112 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1901, allocations: 3.062 kB / 1.112 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.1904, allocations: 152.8 kB / 1.112 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.1904, allocations: 12 kB / 1.112 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.1908, allocations: 19.98 kB / 1.112 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.1908, allocations: 15.97 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006598/0.1915, allocations: 296.5 kB / 1.112 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005695/0.1921, allocations: 390.3 kB / 1.113 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001898/0.1923, allocations: 68.47 kB / 1.113 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001934/0.1925, allocations: 172.5 kB / 1.113 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of Backend: time 6.31e-07/0.1925, allocations: 0 / 1.113 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.1935, allocations: 408.2 kB / 1.113 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009821/0.1945, allocations: 0.8377 MB / 1.114 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.01019/0.2047, allocations: 4.114 MB / 1.118 GB, free: 28 MB / 0.6042 GB