Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.612/4.612, allocations: 0.5623 GB / 0.5775 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002542/0.002541, allocations: 361.5 kB / 0.6446 GB, free: 21.51 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.12/4.12, allocations: 410.7 MB / 1.113 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001912/0.001911, allocations: 172.7 kB / 1.226 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0007011/0.0007017, allocations: 17.59 kB / 1.349 GB, free: 321.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2246, allocations: 115.3 MB / 1.461 GB, free: 220.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.4417, allocations: 139.9 MB / 1.598 GB, free: 80.55 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.4421, allocations: 76.52 kB / 1.598 GB, free: 80.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.02841/0.4705, allocations: 5.205 MB / 1.603 GB, free: 75.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.497e-06/0.4705, allocations: 0 / 1.603 GB, free: 75.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.4706, allocations: 7.938 kB / 1.603 GB, free: 75.31 MB / 0.8073 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.001181/0.4718, allocations: 0.6409 MB / 1.604 GB, free: 74.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4718, allocations: 8.75 kB / 1.604 GB, free: 74.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.472, allocations: 31.72 kB / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.4724, allocations: 271.9 kB / 1.604 GB, free: 74.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.4724, allocations: 15.98 kB / 1.604 GB, free: 74.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.4725, allocations: 16.88 kB / 1.604 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.473, allocations: 169.5 kB / 1.604 GB, free: 74.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.473, allocations: 1.312 kB / 1.604 GB, free: 74.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.4731, allocations: 7.938 kB / 1.604 GB, free: 74.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4731, allocations: 4 kB / 1.604 GB, free: 74.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.4733, allocations: 59.97 kB / 1.604 GB, free: 73.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.475, allocations: 0.5979 MB / 1.605 GB, free: 73.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.4754, allocations: 133.6 kB / 1.605 GB, free: 73.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.4757, allocations: 60.83 kB / 1.605 GB, free: 73.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.4757, allocations: 4.25 kB / 1.605 GB, free: 73.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.4763, allocations: 227 kB / 1.605 GB, free: 72.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 2.585e-06/0.4763, allocations: 0 / 1.605 GB, free: 72.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.000922/0.4773, allocations: 277.2 kB / 1.606 GB, free: 72.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4773, allocations: 68.27 kB / 1.606 GB, free: 72.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.4778, allocations: 312.5 kB / 1.606 GB, free: 72.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/0.4779, allocations: 46.56 kB / 1.606 GB, free: 72.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.478, allocations: 101.8 kB / 1.606 GB, free: 72.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.478, allocations: 39.45 kB / 1.606 GB, free: 72.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.4781, allocations: 16.8 kB / 1.606 GB, free: 72.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.4782, allocations: 326.8 kB / 1.606 GB, free: 71.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.4786, allocations: 116.7 kB / 1.607 GB, free: 71.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.4791, allocations: 184.6 kB / 1.607 GB, free: 71.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.4795, allocations: 165.5 kB / 1.607 GB, free: 71.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4796, allocations: 0 / 1.607 GB, free: 71.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001225/0.4808, allocations: 456.6 kB / 1.607 GB, free: 70.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/0.4809, allocations: 85.25 kB / 1.607 GB, free: 70.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4809, allocations: 0.625 kB / 1.607 GB, free: 70.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.481, allocations: 4 kB / 1.607 GB, free: 70.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.4812, allocations: 25.36 kB / 1.607 GB, free: 70.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4812, allocations: 4 kB / 1.607 GB, free: 70.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.4819, allocations: 49.19 kB / 1.608 GB, free: 70.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.482, allocations: 60.56 kB / 1.608 GB, free: 70.54 MB / 0.8073 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.0003156/0.4823, allocations: 191.2 kB / 1.608 GB, free: 70.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.4824, allocations: 27.72 kB / 1.608 GB, free: 70.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.243e-05/0.4825, allocations: 31.52 kB / 1.608 GB, free: 70.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4825, allocations: 4 kB / 1.608 GB, free: 70.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4825, allocations: 0 / 1.608 GB, free: 70.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4825, allocations: 0.5 kB / 1.608 GB, free: 70.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.4836, allocations: 0.6021 MB / 1.608 GB, free: 69.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4836, allocations: 0 / 1.608 GB, free: 69.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.4837, allocations: 12 kB / 1.608 GB, free: 69.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4837, allocations: 0 / 1.608 GB, free: 69.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.4837, allocations: 15.97 kB / 1.608 GB, free: 69.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4837, allocations: 0 / 1.608 GB, free: 69.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4837, allocations: 4.578 kB / 1.608 GB, free: 69.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.4843, allocations: 323.1 kB / 1.609 GB, free: 69.26 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.4846, allocations: 189.1 kB / 1.609 GB, free: 69.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.4847, allocations: 19.98 kB / 1.609 GB, free: 69.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.485, allocations: 6.562 kB / 1.609 GB, free: 69.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.4851, allocations: 19.97 kB / 1.609 GB, free: 69.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.4852, allocations: 31.94 kB / 1.609 GB, free: 68.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003023/0.4855, allocations: 227 kB / 1.609 GB, free: 68.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4855, allocations: 0 / 1.609 GB, free: 68.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000532/0.4861, allocations: 60.67 kB / 1.609 GB, free: 68.71 MB / 0.8073 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.0001955/0.4863, allocations: 130.9 kB / 1.609 GB, free: 68.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009195/0.4872, allocations: 384.1 kB / 1.61 GB, free: 68.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4872, allocations: 0 / 1.61 GB, free: 68.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.4874, allocations: 72.56 kB / 1.61 GB, free: 68.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.488, allocations: 37.22 kB / 1.61 GB, free: 68.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000993/0.489, allocations: 492.7 kB / 1.61 GB, free: 67.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.4892, allocations: 0.7651 MB / 1.611 GB, free: 66.78 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000254/0.4895, allocations: 36.48 kB / 1.611 GB, free: 66.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.4897, allocations: 36.61 kB / 1.611 GB, free: 66.72 MB / 0.8073 GB Notification: Performance of SimCode: time 1.172e-06/0.4897, allocations: 3.938 kB / 1.611 GB, free: 66.71 MB / 0.8073 GB Notification: Performance of Templates: time 0.01157/0.5013, allocations: 4.768 MB / 1.616 GB, free: 62.1 MB / 0.8073 GB