Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.902/4.902, allocations: 0.5623 GB / 0.5775 GB, free: 3.391 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.002793/0.002792, allocations: 356.8 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.14/4.14, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001841/0.001841, allocations: 180.4 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004975, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7289, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.9416, allocations: 139.9 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.942, allocations: 79.89 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02929/0.9713, allocations: 5.207 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9714, allocations: 0 / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.9714, allocations: 7.984 kB / 1.603 GB, free: 139.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001212/0.9726, allocations: 0.6367 MB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9727, allocations: 11.62 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.9729, allocations: 35.62 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.9732, allocations: 279.1 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.9733, allocations: 16.52 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.9734, allocations: 21.16 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.9739, allocations: 166.8 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9739, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.9739, allocations: 11.52 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.974, allocations: 4 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.9742, allocations: 59.91 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.9757, allocations: 0.5831 MB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.9762, allocations: 139.8 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.9764, allocations: 60.83 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.9765, allocations: 4 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.9771, allocations: 235.6 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.567e-06/0.9771, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0008818/0.978, allocations: 281.1 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.978, allocations: 63.39 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.9785, allocations: 321.1 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.9787, allocations: 39.3 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.9788, allocations: 97.05 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.9789, allocations: 55.36 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.979, allocations: 4 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.9791, allocations: 328.2 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/0.9797, allocations: 116.2 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.9804, allocations: 183.5 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/0.981, allocations: 166.2 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.981, allocations: 0 / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001851/0.9829, allocations: 445.2 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.983, allocations: 83.38 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9831, allocations: 0 / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.9831, allocations: 4.719 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.9834, allocations: 31.86 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.9835, allocations: 5.312 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.9844, allocations: 50.88 kB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.9846, allocations: 59.92 kB / 1.608 GB, free: 134.3 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.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.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.0004347/0.9851, allocations: 184.1 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.9852, allocations: 31.62 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.9853, allocations: 27.02 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.9853, allocations: 5.344 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.9854, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.9854, allocations: 5.438 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.987, allocations: 0.5963 MB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.987, allocations: 0.7188 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.9871, allocations: 9.375 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.9872, allocations: 0 / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.9872, allocations: 15.97 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.9873, allocations: 0 / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9873, allocations: 8.641 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.9882, allocations: 327.8 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.9886, allocations: 185.1 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.9888, allocations: 19.92 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.9892, allocations: 9 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.9894, allocations: 16.59 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/0.9895, allocations: 35.94 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004256/0.9899, allocations: 226 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9899, allocations: 0 / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009051/0.9908, allocations: 64.23 kB / 1.609 GB, free: 132.5 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 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.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.0002545/0.9911, allocations: 126.9 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.9924, allocations: 376.1 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9924, allocations: 0.5938 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.9927, allocations: 79.81 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.9935, allocations: 34.12 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.9948, allocations: 488.2 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.9952, allocations: 0.7649 MB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003306/0.9955, allocations: 39.66 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.9958, allocations: 34.7 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of SimCode: time 3.377e-06/0.9958, allocations: 0 / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01539/1.011, allocations: 4.764 MB / 1.616 GB, free: 126 MB / 0.8542 GB