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.527/2.527, allocations: 252.6 MB / 265.2 MB, free: 5.68 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.001509/0.001509, allocations: 182 kB / 324.5 MB, free: 14.35 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.158/2.158, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001597/0.001597, allocations: 82.48 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.31e-05, allocations: 4 kB / 0.7912 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1984, allocations: 106.2 MB / 0.8949 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8669/1.065, allocations: 133.7 MB / 1.025 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.066, allocations: 82.5 kB / 1.026 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02695/1.093, allocations: 5.199 MB / 1.031 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.976e-06/1.093, allocations: 0 / 1.031 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.024e-05/1.093, allocations: 8 kB / 1.031 GB, free: 12.38 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.002271/1.095, allocations: 0.6067 MB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.855e-05/1.095, allocations: 8.031 kB / 1.031 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/1.096, allocations: 35.67 kB / 1.031 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/1.097, allocations: 277.8 kB / 1.031 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/1.097, allocations: 15.48 kB / 1.032 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/1.097, allocations: 16 kB / 1.032 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/1.098, allocations: 175.3 kB / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.098, allocations: 0 / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/1.098, allocations: 0 / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/1.098, allocations: 4 kB / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/1.098, allocations: 62.42 kB / 1.032 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/1.101, allocations: 0.5906 MB / 1.032 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/1.102, allocations: 130.5 kB / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/1.102, allocations: 60.97 kB / 1.033 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/1.102, allocations: 4 kB / 1.033 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/1.103, allocations: 233 kB / 1.033 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.006e-06/1.103, allocations: 0 / 1.033 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007927/1.104, allocations: 226.9 kB / 1.033 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.104, allocations: 67.36 kB / 1.033 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/1.104, allocations: 282.2 kB / 1.033 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.246e-05/1.104, allocations: 40.33 kB / 1.033 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.104, allocations: 103.3 kB / 1.033 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/1.104, allocations: 50.5 kB / 1.033 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/1.105, allocations: 7.5 kB / 1.033 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.105, allocations: 325.9 kB / 1.034 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/1.105, allocations: 113.8 kB / 1.034 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/1.106, allocations: 176.6 kB / 1.034 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/1.106, allocations: 157.5 kB / 1.034 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.106, allocations: 4 kB / 1.034 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00124/1.107, allocations: 442.5 kB / 1.035 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.107, allocations: 75.95 kB / 1.035 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.107, allocations: 1.328 kB / 1.035 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.107, allocations: 4 kB / 1.035 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/1.108, allocations: 27.91 kB / 1.035 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.108, allocations: 4 kB / 1.035 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/1.108, allocations: 55.39 kB / 1.035 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.109, allocations: 55.92 kB / 1.035 GB, free: 8.371 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.0002274/1.109, allocations: 133.5 kB / 1.035 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/1.109, allocations: 27.62 kB / 1.035 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/1.109, allocations: 37.08 kB / 1.035 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.109, allocations: 11.98 kB / 1.035 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/1.109, allocations: 0 / 1.035 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.109, allocations: 0 / 1.035 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.11, allocations: 0.5886 MB / 1.036 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.11, allocations: 0 / 1.036 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/1.11, allocations: 7.984 kB / 1.036 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/1.11, allocations: 4 kB / 1.036 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/1.11, allocations: 11.86 kB / 1.036 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.11, allocations: 3.938 kB / 1.036 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.111, allocations: 7.953 kB / 1.036 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/1.111, allocations: 328.8 kB / 1.036 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/1.112, allocations: 185.4 kB / 1.036 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.112, allocations: 19.62 kB / 1.036 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/1.112, allocations: 11.73 kB / 1.036 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/1.112, allocations: 19.92 kB / 1.036 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/1.112, allocations: 30.92 kB / 1.036 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003364/1.112, allocations: 227.8 kB / 1.036 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.112, allocations: 0 / 1.036 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005554/1.113, allocations: 58.55 kB / 1.037 GB, free: 6.824 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.0002462/1.113, allocations: 132.1 kB / 1.037 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008976/1.114, allocations: 364.7 kB / 1.037 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.114, allocations: 384 / 1.037 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.114, allocations: 76.98 kB / 1.037 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/1.115, allocations: 34.86 kB / 1.037 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/1.116, allocations: 310.2 kB / 1.037 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/1.116, allocations: 0.762 MB / 1.038 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002464/1.116, allocations: 41.19 kB / 1.038 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/1.117, allocations: 35.42 kB / 1.038 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of SimCode: time 2.966e-06/1.117, allocations: 3.938 kB / 1.038 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of Templates: time 0.014/1.131, allocations: 4.745 MB / 1.043 GB, free: 456 kB / 0.6511 GB