Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.085/4.085, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.927e-05, allocations: 3.812 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2434/0.4533, allocations: 126.2 MB / 0.758 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/0.4538, allocations: 67.97 kB / 0.7581 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.477, allocations: 4.185 MB / 0.7621 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.57e-06/0.4771, allocations: 0 / 0.7621 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.4771, allocations: 4 kB / 0.7621 GB, free: 15.23 MB / 0.6511 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.0009768/0.4781, allocations: 0.5476 MB / 0.7627 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4781, allocations: 8.031 kB / 0.7627 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4783, allocations: 27.72 kB / 0.7627 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4785, allocations: 180 kB / 0.7629 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.4785, allocations: 15.98 kB / 0.7629 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.4786, allocations: 19.94 kB / 0.7629 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.479, allocations: 137.5 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.87e-06/0.479, allocations: 0 / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.479, allocations: 7.984 kB / 0.7631 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.123e-06/0.479, allocations: 7.938 kB / 0.7631 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.4792, allocations: 39.98 kB / 0.7631 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.4797, allocations: 317.2 kB / 0.7634 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.48, allocations: 126.7 kB / 0.7635 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4802, allocations: 52.84 kB / 0.7636 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.4802, allocations: 8 kB / 0.7636 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.4808, allocations: 195.6 kB / 0.7638 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.011e-06/0.4808, allocations: 0 / 0.7638 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006168/0.4814, allocations: 218.8 kB / 0.764 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.4815, allocations: 55.41 kB / 0.764 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.4818, allocations: 196.1 kB / 0.7642 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.4819, allocations: 41.7 kB / 0.7643 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.482, allocations: 84.92 kB / 0.7643 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.482, allocations: 51.5 kB / 0.7644 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.4821, allocations: 7.984 kB / 0.7644 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4823, allocations: 331 kB / 0.7647 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.4826, allocations: 92.2 kB / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.483, allocations: 146.4 kB / 0.7649 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.4833, allocations: 154.1 kB / 0.7651 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.283e-06/0.4833, allocations: 0 / 0.7651 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001005/0.4844, allocations: 395.1 kB / 0.7655 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/0.4845, allocations: 79.5 kB / 0.7655 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4845, allocations: 8 kB / 0.7655 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4845, allocations: 0 / 0.7655 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.4848, allocations: 27.92 kB / 0.7656 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4848, allocations: 4 kB / 0.7656 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.4853, allocations: 47.88 kB / 0.7656 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.4854, allocations: 35.98 kB / 0.7657 GB, free: 11.33 MB / 0.6511 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 () * 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.0002014/0.4856, allocations: 147.9 kB / 0.7658 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.4857, allocations: 19.81 kB / 0.7658 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.541e-05/0.4858, allocations: 21.64 kB / 0.7658 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.329e-06/0.4858, allocations: 4 kB / 0.7658 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.139e-06/0.4858, allocations: 0 / 0.7658 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.043e-06/0.4858, allocations: 3.938 kB / 0.7658 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4868, allocations: 0.5354 MB / 0.7664 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-06/0.4869, allocations: 4 kB / 0.7664 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.4869, allocations: 11.98 kB / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.848e-06/0.487, allocations: 0 / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.487, allocations: 7.984 kB / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.028e-06/0.487, allocations: 0 / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.461e-06/0.487, allocations: 7.938 kB / 0.7664 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.4876, allocations: 303.1 kB / 0.7667 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.4878, allocations: 136.8 kB / 0.7668 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.4879, allocations: 12 kB / 0.7668 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.4882, allocations: 19.98 kB / 0.7668 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.4882, allocations: 7.984 kB / 0.7669 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.4883, allocations: 31.97 kB / 0.7669 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001949/0.4885, allocations: 156.5 kB / 0.767 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.13e-07/0.4885, allocations: 0 / 0.767 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005091/0.489, allocations: 55.98 kB / 0.7671 GB, free: 9.766 MB / 0.6511 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) * 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.0002015/0.4893, allocations: 121.5 kB / 0.7672 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007389/0.49, allocations: 341.1 kB / 0.7675 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.008e-06/0.49, allocations: 0 / 0.7675 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4902, allocations: 75.84 kB / 0.7676 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.4905, allocations: 16.61 kB / 0.7676 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.4912, allocations: 230.7 kB / 0.7678 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.4916, allocations: 0.7321 MB / 0.7686 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.4918, allocations: 25.22 kB / 0.7686 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.492, allocations: 35.41 kB / 0.7686 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of SimCode: time 1.76e-06/0.492, allocations: 0 / 0.7686 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of Templates: time 0.01073/0.5028, allocations: 3.988 MB / 0.7725 GB, free: 4.148 MB / 0.6511 GB