Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.893/4.893, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002418/0.002418, allocations: 354.2 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.142/4.142, allocations: 410.7 MB / 1.113 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001867/0.001867, allocations: 194.6 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004927, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7398, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.953, allocations: 139.9 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.9533, allocations: 71.95 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02207/0.9754, allocations: 5.193 MB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9754, allocations: 7.938 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.9755, allocations: 4 kB / 1.603 GB, free: 139.2 MB / 0.8542 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.00114/0.9766, allocations: 0.6356 MB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9767, allocations: 17.03 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.9768, allocations: 35.62 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.9772, allocations: 275.1 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.9772, allocations: 14.36 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.9774, allocations: 20 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.9778, allocations: 161.5 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9779, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.9779, allocations: 15.94 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.9779, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.9782, allocations: 56.75 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.9798, allocations: 0.5946 MB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.9803, allocations: 144.6 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.9805, allocations: 58.86 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.9806, allocations: 4 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/0.9812, allocations: 227.2 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.695e-06/0.9812, allocations: 1.469 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0009317/0.9821, allocations: 280.9 kB / 1.606 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.9822, allocations: 59.41 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.9826, allocations: 321.2 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.792e-05/0.9827, allocations: 45.69 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.9828, allocations: 93.86 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.9829, allocations: 51.38 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.983, allocations: 12.98 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.9831, allocations: 322.8 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.9835, allocations: 120.9 kB / 1.607 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.984, allocations: 176.9 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.9844, allocations: 170.3 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9844, allocations: 4 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001259/0.9857, allocations: 443.2 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.9858, allocations: 80.14 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9859, allocations: 7.984 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/0.9859, allocations: 5.594 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.9862, allocations: 23.92 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.9862, allocations: 4 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.9869, allocations: 54.84 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.987, allocations: 59.94 kB / 1.608 GB, free: 134.4 MB / 0.8542 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.0003512/0.9874, allocations: 190.8 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.9875, allocations: 27.62 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.9876, allocations: 34.36 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.9876, allocations: 4 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9876, allocations: 0 / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9876, allocations: 0 / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.9887, allocations: 0.5968 MB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.9887, allocations: 0.9062 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.9888, allocations: 8 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.9889, allocations: 0 / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.9889, allocations: 16.53 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.9889, allocations: 5.562 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9889, allocations: 3.953 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.9896, allocations: 324 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.9899, allocations: 184.6 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.99, allocations: 20.69 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.9903, allocations: 13.75 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.9904, allocations: 15.97 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.9904, allocations: 35.94 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002963/0.9907, allocations: 227.8 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9908, allocations: 0 / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000577/0.9913, allocations: 60.77 kB / 1.609 GB, free: 132.6 MB / 0.8542 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.000208/0.9916, allocations: 136.7 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009801/0.9926, allocations: 376.9 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.9926, allocations: 0 / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.9928, allocations: 79.8 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.9934, allocations: 29.84 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.9944, allocations: 497.9 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.9947, allocations: 0.7565 MB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002566/0.9949, allocations: 39.8 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.9951, allocations: 37.45 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.9952, allocations: 0 / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01142/1.007, allocations: 4.739 MB / 1.616 GB, free: 126.2 MB / 0.8542 GB