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.005595/0.0056, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001113/0.001113, allocations: 175.3 kB / 16.7 MB, free: 5.453 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.997/3.997, 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.897/3.897, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 98.73 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8705/1.07, allocations: 126.3 MB / 1.228 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.071, allocations: 72.73 kB / 1.228 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02101/1.092, allocations: 4.185 MB / 1.232 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/1.092, allocations: 0.7188 kB / 1.232 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.031e-05/1.092, allocations: 4 kB / 1.232 GB, free: 24.65 MB / 0.6198 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.00119/1.093, allocations: 0.5744 MB / 1.233 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.093, allocations: 8.031 kB / 1.233 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/1.093, allocations: 26.05 kB / 1.233 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/1.093, allocations: 199.7 kB / 1.233 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/1.093, allocations: 16.73 kB / 1.233 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.018e-05/1.093, allocations: 21.3 kB / 1.233 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/1.094, allocations: 137.5 kB / 1.233 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.094, allocations: 0 / 1.233 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/1.094, allocations: 1.547 kB / 1.233 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.094, allocations: 0 / 1.233 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/1.094, allocations: 41.77 kB / 1.233 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/1.095, allocations: 320.2 kB / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/1.095, allocations: 121.1 kB / 1.234 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/1.095, allocations: 57.53 kB / 1.234 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/1.095, allocations: 7.156 kB / 1.234 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/1.096, allocations: 197.6 kB / 1.234 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.136e-06/1.096, allocations: 3.312 kB / 1.234 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000879/1.097, allocations: 253.8 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/1.097, allocations: 65.06 kB / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/1.097, allocations: 229.1 kB / 1.234 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/1.097, allocations: 35.64 kB / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/1.097, allocations: 91.92 kB / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/1.097, allocations: 36.7 kB / 1.235 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/1.097, allocations: 7.125 kB / 1.235 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.098, allocations: 332.9 kB / 1.235 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/1.098, allocations: 98.72 kB / 1.235 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/1.098, allocations: 158.1 kB / 1.235 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/1.099, allocations: 148.9 kB / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/1.099, allocations: 0 / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001113/1.1, allocations: 412.3 kB / 1.236 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/1.1, allocations: 76.23 kB / 1.236 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.1, allocations: 2.156 kB / 1.236 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.1, allocations: 7.125 kB / 1.236 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/1.1, allocations: 31.97 kB / 1.236 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.1, allocations: 4 kB / 1.236 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/1.101, allocations: 47.28 kB / 1.236 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/1.101, allocations: 46.39 kB / 1.236 GB, free: 21.54 MB / 0.6198 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.0002687/1.101, allocations: 161 kB / 1.236 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/1.102, allocations: 22.84 kB / 1.236 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/1.102, allocations: 25.72 kB / 1.236 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.102, allocations: 4 kB / 1.236 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.102, allocations: 0 / 1.236 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.102, allocations: 0 / 1.236 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.103, allocations: 0.5356 MB / 1.237 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.103, allocations: 3.219 kB / 1.237 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/1.103, allocations: 11.44 kB / 1.237 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.103, allocations: 3.938 kB / 1.237 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/1.103, allocations: 14.27 kB / 1.237 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.103, allocations: 8 kB / 1.237 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.103, allocations: 0 / 1.237 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/1.104, allocations: 313.7 kB / 1.237 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/1.104, allocations: 130.4 kB / 1.237 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/1.104, allocations: 7.75 kB / 1.237 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/1.104, allocations: 10.67 kB / 1.237 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/1.104, allocations: 21.36 kB / 1.237 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/1.104, allocations: 25.3 kB / 1.237 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002159/1.104, allocations: 166.5 kB / 1.237 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/1.104, allocations: 0 / 1.237 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005409/1.105, allocations: 46.41 kB / 1.237 GB, free: 20.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/1.105, allocations: 129.9 kB / 1.237 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008396/1.106, allocations: 344.8 kB / 1.238 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.106, allocations: 0.5938 kB / 1.238 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/1.106, allocations: 68.27 kB / 1.238 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/1.107, allocations: 32.59 kB / 1.238 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007883/1.108, allocations: 364.3 kB / 1.238 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/1.108, allocations: 0.7379 MB / 1.239 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000219/1.109, allocations: 31.34 kB / 1.239 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/1.109, allocations: 30.67 kB / 1.239 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/1.109, allocations: 4 kB / 1.239 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.01025/1.119, allocations: 3.973 MB / 1.243 GB, free: 31.75 MB / 0.6355 GB