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 5.338/5.338, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002541/0.00254, allocations: 357.8 kB / 0.644 GB, free: 185.6 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.238/4.238, allocations: 410.7 MB / 1.112 GB, free: 6.035 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.00178/0.001779, allocations: 185.4 kB / 1.225 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005245/0.0005249, allocations: 16 kB / 1.348 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6502/0.6508, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001734/0.6525, allocations: 1.358 MB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.6537, allocations: 440.8 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.6538, allocations: 1.094 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.6539, allocations: 7.922 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.654, allocations: 27.84 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.6549, allocations: 217 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.6552, allocations: 303.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.6554, allocations: 24.42 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.6556, allocations: 172.2 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.6559, allocations: 136.4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.656, allocations: 12 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-05/0.656, allocations: 8.594 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.6562, allocations: 85.45 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.6562, allocations: 77.58 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.6566, allocations: 317.3 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.048e-06/0.6566, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6566, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.6566, allocations: 1.344 kB / 1.464 GB, free: 281.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.001223/0.6579, allocations: 0.6385 MB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6579, allocations: 13.72 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.658, allocations: 35.67 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.6584, allocations: 275.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.6584, allocations: 11.98 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.6585, allocations: 21.12 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.6589, allocations: 170.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.826e-06/0.6589, allocations: 2.656 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.659, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-06/0.659, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.6592, allocations: 63.84 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6604, allocations: 0.5629 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.6608, allocations: 135.2 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.661, allocations: 67.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.661, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.6616, allocations: 228.6 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.236e-06/0.6616, allocations: 1.531 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0007426/0.6624, allocations: 289.2 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.6624, allocations: 59.39 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.6628, allocations: 313.1 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.6628, allocations: 45.69 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.6629, allocations: 94.67 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.663, allocations: 39.52 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.663, allocations: 8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.6631, allocations: 327.5 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.6634, allocations: 109 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.6637, allocations: 162.7 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.664, allocations: 166.3 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-06/0.6641, allocations: 0.875 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009155/0.665, allocations: 442.5 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.6651, allocations: 75.39 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6651, allocations: 4 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.6651, allocations: 7.953 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.6654, allocations: 31.91 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.702e-06/0.6654, allocations: 4.516 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/0.6661, allocations: 75.47 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.6663, allocations: 52.58 kB / 1.468 GB, free: 276.5 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.000304/0.6666, allocations: 189.9 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.6667, allocations: 23.72 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.6668, allocations: 30.98 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.884e-06/0.6668, allocations: 1.156 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.039e-06/0.6668, allocations: 3.953 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.856e-06/0.6668, allocations: 3.984 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008947/0.6677, allocations: 0.6056 MB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6678, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.6679, allocations: 7.938 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.6679, allocations: 9.172 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.668, allocations: 19.97 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.409e-06/0.668, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.533e-06/0.668, allocations: 9.375 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.6686, allocations: 324.5 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.6688, allocations: 184.6 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.6689, allocations: 11.95 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.6693, allocations: 17.05 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.6693, allocations: 15.97 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.6694, allocations: 31.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002282/0.6696, allocations: 224 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.7e-07/0.6697, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004595/0.6701, allocations: 53 kB / 1.47 GB, free: 274.7 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.00016/0.6703, allocations: 127 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007986/0.6711, allocations: 364.2 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.344e-06/0.6711, allocations: 0.9688 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.6714, allocations: 75.91 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.6719, allocations: 33.12 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009256/0.6728, allocations: 498.1 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.673, allocations: 0.7654 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.6733, allocations: 36.36 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.6735, allocations: 37.42 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.698e-06/0.6735, allocations: 3.938 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.009566/0.6831, allocations: 4.271 MB / 1.476 GB, free: 268.7 MB / 0.8542 GB