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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 252.6 MB / 265.2 MB, free: 5.742 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.001477/0.001477, allocations: 191.8 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001133/0.001133, allocations: 105.4 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.428e-05, allocations: 8 kB / 0.7912 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2438, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8253/1.069, allocations: 133.6 MB / 1.025 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.07, allocations: 72.33 kB / 1.026 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02493/1.094, allocations: 5.207 MB / 1.031 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/1.095, allocations: 4 kB / 1.031 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.681e-05/1.095, allocations: 7.938 kB / 1.031 GB, free: 12.39 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.001216/1.096, allocations: 0.6067 MB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.096, allocations: 12.03 kB / 1.031 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/1.096, allocations: 39.66 kB / 1.031 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/1.096, allocations: 264.2 kB / 1.031 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/1.097, allocations: 15.94 kB / 1.032 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/1.097, allocations: 23.36 kB / 1.032 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/1.097, allocations: 172.1 kB / 1.032 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.097, allocations: 0 / 1.032 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/1.097, allocations: 7.5 kB / 1.032 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.097, allocations: 3.938 kB / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/1.097, allocations: 58.73 kB / 1.032 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/1.099, allocations: 0.5862 MB / 1.032 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/1.099, allocations: 128.5 kB / 1.032 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/1.1, allocations: 62.16 kB / 1.033 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/1.1, allocations: 4 kB / 1.033 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/1.1, allocations: 227.6 kB / 1.033 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.665e-06/1.1, allocations: 4 kB / 1.033 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007116/1.101, allocations: 227 kB / 1.033 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.101, allocations: 67.28 kB / 1.033 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/1.102, allocations: 284.1 kB / 1.033 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.881e-05/1.102, allocations: 41.38 kB / 1.033 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.102, allocations: 100.9 kB / 1.033 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/1.102, allocations: 50.19 kB / 1.033 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/1.102, allocations: 11.48 kB / 1.033 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.102, allocations: 321.7 kB / 1.034 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/1.103, allocations: 121.7 kB / 1.034 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/1.103, allocations: 165.7 kB / 1.034 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/1.103, allocations: 165.7 kB / 1.034 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.103, allocations: 0 / 1.034 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001179/1.105, allocations: 440.8 kB / 1.035 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.62e-05/1.105, allocations: 78.14 kB / 1.035 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.105, allocations: 4 kB / 1.035 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.105, allocations: 0 / 1.035 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/1.105, allocations: 31.91 kB / 1.035 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.105, allocations: 4.188 kB / 1.035 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/1.106, allocations: 55.7 kB / 1.035 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.106, allocations: 55.92 kB / 1.035 GB, free: 8.379 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.0001901/1.106, allocations: 133.7 kB / 1.035 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/1.106, allocations: 35.61 kB / 1.035 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.106, allocations: 29.83 kB / 1.035 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.106, allocations: 3.938 kB / 1.035 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.106, allocations: 0 / 1.035 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.106, allocations: 0 / 1.035 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.107, allocations: 0.5939 MB / 1.036 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.107, allocations: 0 / 1.036 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/1.108, allocations: 11.98 kB / 1.036 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.108, allocations: 0 / 1.036 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/1.108, allocations: 15.98 kB / 1.036 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.108, allocations: 0 / 1.036 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.108, allocations: 3.953 kB / 1.036 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/1.108, allocations: 324.3 kB / 1.036 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/1.109, allocations: 191.5 kB / 1.036 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/1.109, allocations: 10.44 kB / 1.036 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/1.109, allocations: 15.42 kB / 1.036 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/1.109, allocations: 27.86 kB / 1.036 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/1.109, allocations: 35.84 kB / 1.036 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003239/1.11, allocations: 223.9 kB / 1.036 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.11, allocations: 0 / 1.036 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005081/1.11, allocations: 55.36 kB / 1.037 GB, free: 6.832 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.0002348/1.11, allocations: 124.6 kB / 1.037 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008697/1.111, allocations: 378.6 kB / 1.037 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.111, allocations: 0 / 1.037 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/1.111, allocations: 76.34 kB / 1.037 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/1.112, allocations: 29.38 kB / 1.037 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008555/1.113, allocations: 310.5 kB / 1.037 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/1.113, allocations: 0.7659 MB / 1.038 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002378/1.113, allocations: 41.2 kB / 1.038 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/1.114, allocations: 31.42 kB / 1.038 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.114, allocations: 3.938 kB / 1.038 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of Templates: time 0.01357/1.127, allocations: 4.759 MB / 1.043 GB, free: 480 kB / 0.6511 GB