Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.Examples.CalendarTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.994/4.994, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002654/0.002652, allocations: 358.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.405/4.405, allocations: 410.7 MB / 1.113 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002693/0.002693, allocations: 195.7 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007341/0.0007346, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8462, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/1.062, allocations: 139.7 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.062, allocations: 75.97 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02557/1.088, allocations: 4.443 MB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.093e-06/1.088, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.586e-05/1.088, allocations: 5 kB / 1.602 GB, free: 140.1 MB / 0.8542 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.001154/1.089, allocations: 0.6239 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.089, allocations: 15.61 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/1.089, allocations: 29.16 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/1.089, allocations: 258.4 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/1.089, allocations: 12 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/1.09, allocations: 19.98 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/1.09, allocations: 138 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.09, allocations: 0.9688 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/1.09, allocations: 7.984 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.09, allocations: 1.25 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/1.09, allocations: 39.98 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/1.091, allocations: 333.3 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/1.091, allocations: 128.6 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/1.091, allocations: 58.39 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/1.091, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/1.092, allocations: 222.4 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/1.092, allocations: 1.625 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0009248/1.093, allocations: 269.2 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.093, allocations: 59.41 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/1.093, allocations: 288 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/1.094, allocations: 41.69 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/1.094, allocations: 89.67 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/1.094, allocations: 39.55 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/1.094, allocations: 13.38 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/1.094, allocations: 326.8 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/1.094, allocations: 100.9 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/1.095, allocations: 156.5 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/1.095, allocations: 157.5 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.095, allocations: 0.5 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001211/1.096, allocations: 428.3 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/1.097, allocations: 72.92 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.097, allocations: 0 / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.097, allocations: 5.031 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/1.097, allocations: 27.97 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.097, allocations: 10.47 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/1.098, allocations: 47.81 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/1.098, allocations: 56.48 kB / 1.606 GB, free: 135.8 MB / 0.8542 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.0003065/1.098, allocations: 188.1 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/1.098, allocations: 23.72 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/1.098, allocations: 30.25 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.098, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.098, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.098, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/1.099, allocations: 0.5589 MB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.099, allocations: 4 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/1.099, allocations: 11.92 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.1, allocations: 0 / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/1.1, allocations: 15.98 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.1, allocations: 0.9375 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.1, allocations: 0 / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/1.1, allocations: 322.2 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/1.1, allocations: 156.6 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/1.101, allocations: 8 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/1.101, allocations: 16.83 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.101, allocations: 16.59 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/1.101, allocations: 31.98 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000258/1.101, allocations: 211 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/1.101, allocations: 3.938 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005679/1.102, allocations: 52.38 kB / 1.608 GB, free: 134.1 MB / 0.8542 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.0001911/1.102, allocations: 122.2 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009152/1.103, allocations: 352.1 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.103, allocations: 0 / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/1.103, allocations: 73.06 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/1.104, allocations: 32.75 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.105, allocations: 442.8 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/1.105, allocations: 0.7494 MB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002608/1.105, allocations: 41.77 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/1.106, allocations: 33.3 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/1.106, allocations: 0 / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01193/1.118, allocations: 4.346 MB / 1.614 GB, free: 128.1 MB / 0.8542 GB