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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.296/2.295, allocations: 253.1 MB / 260.6 MB, free: 7.383 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001571, allocations: 184.8 kB / 319.9 MB, free: 3.102 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.234/2.234, allocations: 205.6 MB / 0.5709 GB, free: 15.29 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.001545/0.001545, allocations: 82.78 kB / 0.6751 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.316e-05, allocations: 8 kB / 0.785 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1954, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8806/1.076, allocations: 133.9 MB / 1.019 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.076, allocations: 69.89 kB / 1.019 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02479/1.101, allocations: 5.172 MB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.944e-06/1.101, allocations: 0 / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.726e-05/1.101, allocations: 8 kB / 1.025 GB, free: 15.09 MB / 0.6511 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.001226/1.102, allocations: 0.6075 MB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.103, allocations: 12.02 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/1.103, allocations: 35.67 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/1.103, allocations: 276.8 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/1.103, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.103, allocations: 19.44 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000193/1.104, allocations: 53.42 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/1.104, allocations: 163.7 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.104, allocations: 3.938 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/1.104, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/1.104, allocations: 4 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/1.106, allocations: 0.5519 MB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/1.106, allocations: 129.8 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/1.106, allocations: 54.84 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/1.106, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/1.107, allocations: 219 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/1.107, allocations: 0 / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006619/1.108, allocations: 218 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/1.108, allocations: 66.58 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/1.108, allocations: 264.6 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/1.108, allocations: 41.25 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.108, allocations: 93.05 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/1.108, allocations: 51.97 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/1.109, allocations: 7.984 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.109, allocations: 325.2 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/1.109, allocations: 106.5 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/1.109, allocations: 155.1 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/1.11, allocations: 95.89 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.11, allocations: 0 / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001008/1.111, allocations: 336.4 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.111, allocations: 81 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/1.111, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/1.111, allocations: 7.984 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/1.111, allocations: 19.98 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.111, allocations: 11.92 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/1.112, allocations: 47.39 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/1.112, allocations: 55.97 kB / 1.029 GB, free: 11.37 MB / 0.6511 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 () * 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.0002163/1.112, allocations: 123.5 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/1.112, allocations: 31.56 kB / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/1.112, allocations: 32.58 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.113, allocations: 3.984 kB / 1.029 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.113, allocations: 7.938 kB / 1.029 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.113, allocations: 4 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.114, allocations: 0.5451 MB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.114, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/1.114, allocations: 15.36 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/1.114, allocations: 0 / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/1.114, allocations: 11.98 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.114, allocations: 0 / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.114, allocations: 0 / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/1.114, allocations: 320.4 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/1.115, allocations: 189.1 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/1.115, allocations: 15.06 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/1.115, allocations: 4 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/1.115, allocations: 19.88 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/1.115, allocations: 31.61 kB / 1.03 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000311/1.116, allocations: 216.7 kB / 1.03 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.22e-07/1.116, allocations: 0 / 1.03 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006287/1.116, allocations: 51.69 kB / 1.03 GB, free: 9.91 MB / 0.6511 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) * 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.0002617/1.117, allocations: 130.5 kB / 1.03 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008367/1.118, allocations: 352.1 kB / 1.031 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.118, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/1.118, allocations: 70.61 kB / 1.031 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/1.118, allocations: 37.88 kB / 1.031 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/1.119, allocations: 301.3 kB / 1.031 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/1.119, allocations: 0.7582 MB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002567/1.12, allocations: 37.2 kB / 1.032 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/1.12, allocations: 35.42 kB / 1.032 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of SimCode: time 3.818e-06/1.12, allocations: 0 / 1.032 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of Templates: time 0.01358/1.134, allocations: 4.537 MB / 1.036 GB, free: 3.773 MB / 0.6511 GB