Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime.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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004282/0.004287, 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.001164/0.001164, 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 4.196/4.196, 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.29/4.29, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004957, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.175, allocations: 98.71 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001621/0.1766, allocations: 1.163 MB / 1.106 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1777, allocations: 383.5 kB / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.1778, allocations: 0 / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.1778, allocations: 0 / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.178, allocations: 23.84 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.1788, allocations: 205.1 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1791, allocations: 232.8 kB / 1.107 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.1791, allocations: 4.891 kB / 1.107 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.1794, allocations: 155.6 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1797, allocations: 116.5 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.1798, allocations: 8 kB / 1.107 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.1798, allocations: 15.41 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.18, allocations: 59.84 kB / 1.107 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.18, allocations: 61.58 kB / 1.107 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1803, allocations: 171.8 kB / 1.107 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1803, allocations: 0 / 1.107 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1803, allocations: 0 / 1.107 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.1803, allocations: 0 / 1.107 GB, free: 39.44 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001257/0.1816, allocations: 0.5743 MB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1817, allocations: 16.02 kB / 1.108 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1818, allocations: 27.77 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1821, allocations: 227.8 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.1821, allocations: 11.98 kB / 1.108 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.1822, allocations: 27.44 kB / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.1826, allocations: 147.2 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1826, allocations: 0 / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.1827, allocations: 0 / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1827, allocations: 3.953 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.1829, allocations: 43.97 kB / 1.108 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1832, allocations: 290.4 kB / 1.108 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.1836, allocations: 129.8 kB / 1.109 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.1838, allocations: 56.83 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1839, allocations: 0 / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005317/0.1844, allocations: 205.6 kB / 1.109 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.807e-06/0.1844, allocations: 1.219 kB / 1.109 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008225/0.1853, allocations: 257 kB / 1.109 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1853, allocations: 67.39 kB / 1.109 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1856, allocations: 225.8 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.1857, allocations: 44.39 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.1857, allocations: 85.14 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.1858, allocations: 47.44 kB / 1.109 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1859, allocations: 15.88 kB / 1.109 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.1859, allocations: 326.8 kB / 1.11 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.1863, allocations: 88.16 kB / 1.11 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1866, allocations: 146.9 kB / 1.11 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1869, allocations: 155 kB / 1.11 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.1869, allocations: 0 / 1.11 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009416/0.1879, allocations: 398.9 kB / 1.111 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.188, allocations: 74.11 kB / 1.111 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.188, allocations: 0 / 1.111 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.188, allocations: 4 kB / 1.111 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.1883, allocations: 31.91 kB / 1.111 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1883, allocations: 4 kB / 1.111 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/0.1892, allocations: 72.81 kB / 1.111 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.1893, allocations: 39.98 kB / 1.111 GB, free: 35.41 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0002263/0.1896, allocations: 166.6 kB / 1.111 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.1896, allocations: 19.72 kB / 1.111 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.1897, allocations: 25.86 kB / 1.111 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1897, allocations: 0 / 1.111 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1897, allocations: 7.219 kB / 1.111 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1899, allocations: 144.7 kB / 1.111 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.19, allocations: 11.95 kB / 1.111 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.1903, allocations: 13.11 kB / 1.111 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.1904, allocations: 15.98 kB / 1.111 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006659/0.1911, allocations: 291.8 kB / 1.111 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005799/0.1917, allocations: 394 kB / 1.112 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001892/0.1919, allocations: 63.95 kB / 1.112 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001764/0.1921, allocations: 162.2 kB / 1.112 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of Backend: time 9.32e-07/0.1921, allocations: 0 / 1.112 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.1931, allocations: 373.1 kB / 1.112 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008739/0.1941, allocations: 0.7913 MB / 1.113 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.01022/0.2043, allocations: 3.759 MB / 1.117 GB, free: 29.34 MB / 0.6042 GB