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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.227/4.227, allocations: 433.3 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.039e-05, allocations: 4 kB / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5072, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/0.759, allocations: 125.6 MB / 0.7515 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004205/0.7595, allocations: 75.78 kB / 0.7516 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02594/0.7855, allocations: 4.154 MB / 0.7557 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.142e-06/0.7855, allocations: 0 / 0.7557 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.7855, allocations: 4 kB / 0.7557 GB, free: 13.76 MB / 0.6355 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.0009852/0.7865, allocations: 0.5439 MB / 0.7562 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.7866, allocations: 12.02 kB / 0.7562 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.7867, allocations: 31.66 kB / 0.7562 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.7869, allocations: 187.9 kB / 0.7564 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.787, allocations: 11.98 kB / 0.7564 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.7871, allocations: 19.98 kB / 0.7564 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001521/0.7873, allocations: 35.98 kB / 0.7565 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.7876, allocations: 137.5 kB / 0.7566 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.683e-06/0.7876, allocations: 0 / 0.7566 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.7877, allocations: 0 / 0.7566 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.7877, allocations: 8 kB / 0.7566 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.7882, allocations: 281.8 kB / 0.7569 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.7885, allocations: 118.7 kB / 0.757 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.7886, allocations: 44.86 kB / 0.757 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.7887, allocations: 7.984 kB / 0.757 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.7892, allocations: 197.6 kB / 0.7572 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.549e-06/0.7892, allocations: 3.938 kB / 0.7572 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005914/0.7898, allocations: 201.3 kB / 0.7574 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.7899, allocations: 59.39 kB / 0.7575 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.7901, allocations: 195 kB / 0.7577 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.7902, allocations: 33.7 kB / 0.7577 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.7903, allocations: 88.92 kB / 0.7578 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.7904, allocations: 43.45 kB / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.7905, allocations: 0 / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7907, allocations: 326.8 kB / 0.7581 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.791, allocations: 84.2 kB / 0.7582 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.7913, allocations: 130.2 kB / 0.7583 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.7915, allocations: 84.58 kB / 0.7584 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.477e-06/0.7916, allocations: 3.938 kB / 0.7584 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008682/0.7924, allocations: 298.2 kB / 0.7587 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.7926, allocations: 75.38 kB / 0.7588 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7926, allocations: 0 / 0.7588 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.7926, allocations: 7.938 kB / 0.7588 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.7928, allocations: 24.17 kB / 0.7588 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.7929, allocations: 11.94 kB / 0.7588 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.7933, allocations: 39.88 kB / 0.7589 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7935, allocations: 39.98 kB / 0.7589 GB, free: 10.17 MB / 0.6355 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.0002005/0.7937, allocations: 127.3 kB / 0.759 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.7937, allocations: 19.81 kB / 0.759 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.89e-05/0.7938, allocations: 25.95 kB / 0.7591 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.893e-06/0.7939, allocations: 4 kB / 0.7591 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.953e-06/0.7939, allocations: 3.938 kB / 0.7591 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.843e-06/0.7939, allocations: 0 / 0.7591 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000971/0.7949, allocations: 0.5044 MB / 0.7596 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.192e-06/0.7949, allocations: 0 / 0.7596 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.795, allocations: 7.984 kB / 0.7596 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.335e-06/0.795, allocations: 7.922 kB / 0.7596 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.795, allocations: 19.98 kB / 0.7596 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.17e-06/0.7951, allocations: 0 / 0.7596 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.6e-06/0.7951, allocations: 0 / 0.7596 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.7956, allocations: 296.5 kB / 0.7599 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.7958, allocations: 136.8 kB / 0.76 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.7959, allocations: 8 kB / 0.76 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.7961, allocations: 11.98 kB / 0.76 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.7962, allocations: 11.98 kB / 0.7601 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.7963, allocations: 31.97 kB / 0.7601 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000181/0.7965, allocations: 153.6 kB / 0.7602 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.92e-07/0.7965, allocations: 0 / 0.7602 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005158/0.797, allocations: 47.92 kB / 0.7603 GB, free: 8.691 MB / 0.6355 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.000202/0.7972, allocations: 116.9 kB / 0.7604 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007099/0.798, allocations: 318.9 kB / 0.7607 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.539e-06/0.798, allocations: 384 / 0.7607 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.7982, allocations: 71.91 kB / 0.7608 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.7985, allocations: 20.61 kB / 0.7608 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.7991, allocations: 216.3 kB / 0.761 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.7996, allocations: 0.7356 MB / 0.7617 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.7998, allocations: 33.2 kB / 0.7617 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.8, allocations: 31.42 kB / 0.7618 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of SimCode: time 1.889e-06/0.8, allocations: 0 / 0.7618 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.01057/0.8106, allocations: 3.788 MB / 0.7655 GB, free: 3.301 MB / 0.6355 GB