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.364/2.364, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001672/0.001671, allocations: 177.6 kB / 325.6 MB, free: 2.852 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.415/2.415, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001094/0.001094, allocations: 100.1 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005105, allocations: 14.72 kB / 0.7952 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2041, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.4278, allocations: 133.7 MB / 1.029 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.4282, allocations: 83.88 kB / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02555/0.4538, allocations: 5.203 MB / 1.035 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4538, allocations: 0 / 1.035 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.4539, allocations: 4 kB / 1.035 GB, free: 6.758 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.00138/0.4552, allocations: 0.6496 MB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4553, allocations: 12.03 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.4555, allocations: 43.58 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.4559, allocations: 263.2 kB / 1.036 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.456, allocations: 15.98 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.4561, allocations: 20 kB / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.4566, allocations: 166.5 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4567, allocations: 0 / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.4567, allocations: 3.984 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4567, allocations: 4 kB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.457, allocations: 59.97 kB / 1.036 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.4587, allocations: 0.5902 MB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.4592, allocations: 130.7 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.4593, allocations: 15.88 kB / 1.037 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006354/0.4599, allocations: 218.4 kB / 1.037 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 4.188e-06/0.4599, allocations: 4 kB / 1.037 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0009631/0.4609, allocations: 285 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.461, allocations: 67.38 kB / 1.037 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.4614, allocations: 283.6 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.4615, allocations: 37.7 kB / 1.037 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4616, allocations: 97.12 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.4617, allocations: 43.45 kB / 1.038 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.4618, allocations: 8 kB / 1.038 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4619, allocations: 330.8 kB / 1.038 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.4625, allocations: 120.2 kB / 1.038 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.463, allocations: 174.3 kB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.4635, allocations: 172.6 kB / 1.038 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4635, allocations: 0 / 1.038 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001406/0.4649, allocations: 457.2 kB / 1.039 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.741e-05/0.465, allocations: 75.39 kB / 1.039 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4651, allocations: 4 kB / 1.039 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4651, allocations: 7.984 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.4654, allocations: 23.92 kB / 1.039 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.4654, allocations: 7.984 kB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.4661, allocations: 44.08 kB / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4662, allocations: 63.92 kB / 1.039 GB, free: 2.035 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.0003361/0.4666, allocations: 177.8 kB / 1.039 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.4667, allocations: 31.62 kB / 1.039 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-05/0.4668, allocations: 34.36 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.4668, allocations: 7.984 kB / 1.039 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4668, allocations: 0 / 1.039 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4668, allocations: 0 / 1.039 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.468, allocations: 0.5958 MB / 1.04 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4681, allocations: 0 / 1.04 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.4682, allocations: 11.98 kB / 1.04 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4682, allocations: 0 / 1.04 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.4682, allocations: 11.98 kB / 1.04 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4682, allocations: 8 kB / 1.04 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.4682, allocations: 3.953 kB / 1.04 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.4689, allocations: 328.3 kB / 1.04 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.4693, allocations: 180.7 kB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.4694, allocations: 16 kB / 1.04 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.4697, allocations: 11.98 kB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.4698, allocations: 11.98 kB / 1.04 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.4699, allocations: 39.92 kB / 1.04 GB, free: 488 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003334/0.4702, allocations: 227 kB / 1.041 GB, free: 260 kB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4702, allocations: 0 / 1.041 GB, free: 260 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000553/0.4708, allocations: 55.94 kB / 1.041 GB, free: 204 kB / 0.6823 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.0002429/0.471, allocations: 132.9 kB / 1.041 GB, free: 64 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.4721, allocations: 382.9 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4721, allocations: 4.125 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.4724, allocations: 73.47 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.4728, allocations: 36.55 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.474, allocations: 488.1 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.4744, allocations: 0.7648 MB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.4747, allocations: 37.42 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.4749, allocations: 39.42 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/0.4749, allocations: 4 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of Templates: time 0.01288/0.4878, allocations: 4.75 MB / 1.047 GB, free: 9.445 MB / 0.698 GB