Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 182.4 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.321/2.321, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 92.59 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 12.59 kB / 0.7952 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2543, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2848/0.5392, allocations: 133.7 MB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004317/0.5397, allocations: 71.95 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04188/0.5816, allocations: 5.204 MB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.426e-06/0.5817, allocations: 0 / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.713e-05/0.5818, allocations: 8 kB / 1.035 GB, free: 6.219 MB / 0.6823 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.002131/0.5839, allocations: 0.6457 MB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.584, allocations: 12.03 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.5843, allocations: 39.56 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.5856, allocations: 271.2 kB / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5858, allocations: 12 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003763/0.5862, allocations: 27.98 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5874, allocations: 169.5 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.5875, allocations: 0 / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.5877, allocations: 0 / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.5877, allocations: 4 kB / 1.036 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/0.5884, allocations: 67.89 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.5905, allocations: 0.5863 MB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.591, allocations: 138.6 kB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.5911, allocations: 7.984 kB / 1.037 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006675/0.5918, allocations: 224.2 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 5.931e-06/0.5918, allocations: 0 / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001066/0.5929, allocations: 283.2 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.5929, allocations: 59.41 kB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.5935, allocations: 295.5 kB / 1.037 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.5936, allocations: 33.7 kB / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5938, allocations: 97.12 kB / 1.038 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.5938, allocations: 47.44 kB / 1.038 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.5939, allocations: 8 kB / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5941, allocations: 322.8 kB / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.5946, allocations: 124.1 kB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.5952, allocations: 179 kB / 1.038 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.5957, allocations: 167.1 kB / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5957, allocations: 0 / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001452/0.5972, allocations: 451.1 kB / 1.039 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.5973, allocations: 79.38 kB / 1.039 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5974, allocations: 4 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5974, allocations: 4 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.5977, allocations: 27.92 kB / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.5977, allocations: 0 / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.5984, allocations: 48.06 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.5985, allocations: 63.92 kB / 1.039 GB, free: 1.496 MB / 0.6823 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.0004077/0.5989, allocations: 185.7 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.599, allocations: 31.62 kB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.255e-05/0.5991, allocations: 30.36 kB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5991, allocations: 0 / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5992, allocations: 4 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5992, allocations: 7.984 kB / 1.039 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.6005, allocations: 0.5979 MB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6005, allocations: 0 / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.6006, allocations: 8 kB / 1.04 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6007, allocations: 0 / 1.04 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.6007, allocations: 11.97 kB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.6007, allocations: 4 kB / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6007, allocations: 7.891 kB / 1.04 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.6015, allocations: 327 kB / 1.04 GB, free: 212 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.6019, allocations: 180.7 kB / 1.04 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.602, allocations: 16.06 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.6023, allocations: 15.94 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.6024, allocations: 15.97 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.6025, allocations: 31.94 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003785/0.6029, allocations: 227 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6029, allocations: 0 / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006002/0.6035, allocations: 59.98 kB / 1.041 GB, free: 15.65 MB / 0.698 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.0002622/0.6038, allocations: 132.9 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.6049, allocations: 380.1 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6049, allocations: 0 / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.6052, allocations: 75.91 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.6058, allocations: 31.72 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.6077, allocations: 490.5 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.6085, allocations: 0.7594 MB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004343/0.609, allocations: 41.41 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.6093, allocations: 43.41 kB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of SimCode: time 1.104e-05/0.6094, allocations: 0 / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of Templates: time 0.02236/0.6317, allocations: 4.751 MB / 1.047 GB, free: 8.902 MB / 0.698 GB