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 5.16/5.16, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 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.002437/0.002437, allocations: 358.6 kB / 0.6447 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.447/4.447, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.002008/0.002008, allocations: 178.3 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 8 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7485, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001714/0.7502, allocations: 1.184 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.7513, allocations: 390.3 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.7513, allocations: 1.094 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.7514, allocations: 3.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.7515, allocations: 15.92 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.7523, allocations: 219 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.7526, allocations: 239.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.7527, allocations: 10.48 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.753, allocations: 164.3 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.7533, allocations: 135.7 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.7534, allocations: 10.66 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.7534, allocations: 8 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.7536, allocations: 79.78 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.7537, allocations: 69.58 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.7539, allocations: 205.6 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7539, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7539, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.754, allocations: 0.7812 kB / 1.464 GB, free: 281.6 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.00128/0.7552, allocations: 0.6118 MB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.7553, allocations: 13.41 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.7554, allocations: 35.7 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.7558, allocations: 258.4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.7559, allocations: 11.98 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.756, allocations: 16.56 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.7564, allocations: 148.1 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.7564, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.7565, allocations: 11.98 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.7565, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.7567, allocations: 39.98 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.7571, allocations: 313.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.7575, allocations: 132.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.7577, allocations: 56.83 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.7578, allocations: 5.344 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006247/0.7584, allocations: 231.2 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.865e-06/0.7584, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000824/0.7593, allocations: 258.3 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.7593, allocations: 64.72 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.7597, allocations: 290.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.7598, allocations: 40.73 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.7598, allocations: 89.14 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.7599, allocations: 43.53 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.76, allocations: 15.92 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.76, allocations: 326.8 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.7604, allocations: 92.17 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.7607, allocations: 148.1 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.7611, allocations: 146.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7611, allocations: 4 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009803/0.7621, allocations: 421.8 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.7622, allocations: 79.38 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7622, allocations: 0 / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.7622, allocations: 4 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.7626, allocations: 19.98 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.7626, allocations: 8.469 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.7635, allocations: 70.92 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.7636, allocations: 60.69 kB / 1.468 GB, free: 277.4 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.0002448/0.7639, allocations: 175.3 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.7639, allocations: 27.62 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.764, allocations: 28.2 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.764, allocations: 7.984 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7641, allocations: 2.688 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.7643, allocations: 148.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.7644, allocations: 11.98 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.7647, allocations: 19.98 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.7648, allocations: 19.92 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006918/0.7655, allocations: 295.9 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006014/0.7661, allocations: 395.1 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001999/0.7663, allocations: 63.95 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002416/0.7666, allocations: 207.4 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of Backend: time 4.61e-07/0.7666, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.7676, allocations: 372.1 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001007/0.7687, allocations: 0.8754 MB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01054/0.7792, allocations: 4.172 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB