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 5.173/5.173, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002873/0.002873, allocations: 360.2 kB / 0.6441 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.35/4.35, allocations: 410.7 MB / 1.112 GB, free: 5.965 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.001873/0.001873, allocations: 188.8 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004933, allocations: 15.98 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5963/0.5968, 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.CalendarTimeMonths): time 0.001579/0.5984, allocations: 1.357 MB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008799/0.5993, allocations: 444 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.5994, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.5995, allocations: 8.422 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.5996, allocations: 25.41 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.6003, allocations: 219.4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.6006, allocations: 304.1 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.6007, allocations: 28.61 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.601, allocations: 175.5 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.6012, allocations: 131.7 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.6013, allocations: 12 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.6014, allocations: 8.969 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.6015, allocations: 83.77 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.6016, allocations: 78.48 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.6019, allocations: 325.3 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.301e-06/0.6019, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.16e-06/0.6019, allocations: 0.9062 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.285e-06/0.6019, allocations: 0 / 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.001028/0.603, allocations: 0.6367 MB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.603, allocations: 9.109 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.6031, allocations: 35.67 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.6036, allocations: 271.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.6036, allocations: 17.55 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.6037, allocations: 20 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.6041, allocations: 174.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6041, allocations: 1.688 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.6042, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-06/0.6042, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.6044, allocations: 63.91 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.6057, allocations: 0.5629 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.606, allocations: 141 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.6062, allocations: 56.84 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.6063, allocations: 6.125 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005563/0.6068, allocations: 235 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.257e-06/0.6069, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0007816/0.6076, allocations: 281.2 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.6077, allocations: 63.39 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.608, allocations: 314 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.6081, allocations: 41.69 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.6082, allocations: 97.05 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.6083, allocations: 40.2 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.6083, allocations: 11.98 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.6084, allocations: 323.8 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.6087, allocations: 109.2 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.6091, allocations: 162.9 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.6094, allocations: 162 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.24e-06/0.6094, allocations: 2.312 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009092/0.6103, allocations: 435.1 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.6104, allocations: 79.39 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6104, allocations: 16.92 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.6105, allocations: 3.953 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.6107, allocations: 23.98 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6107, allocations: 4.688 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.6114, allocations: 76.72 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.6115, allocations: 55.97 kB / 1.468 GB, free: 276.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.0002459/0.6117, allocations: 181.5 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.6118, allocations: 23.72 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.6119, allocations: 34.86 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6119, allocations: 7.594 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6119, allocations: 3.953 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6119, allocations: 3.984 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/0.6128, allocations: 0.5995 MB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6128, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.6129, allocations: 11.92 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.006e-06/0.6129, allocations: 7.953 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.613, allocations: 15.98 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.365e-06/0.613, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-06/0.613, allocations: 9.312 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.6136, allocations: 320.9 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.6139, allocations: 184.6 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.614, allocations: 15.95 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.6143, allocations: 12.8 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.6144, allocations: 20.66 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.6144, allocations: 28.95 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002266/0.6147, allocations: 227 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-07/0.6147, allocations: 2.406 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004752/0.6152, allocations: 48 kB / 1.47 GB, free: 274.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.0001678/0.6153, allocations: 130.8 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006997/0.6161, allocations: 367.6 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.246e-06/0.6161, allocations: 0.625 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.6164, allocations: 71.95 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.6169, allocations: 34.86 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.6178, allocations: 499.5 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.618, allocations: 0.7577 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.6183, allocations: 37 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.6184, allocations: 40.89 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.713e-06/0.6185, allocations: 4.906 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.009412/0.6279, allocations: 4.278 MB / 1.476 GB, free: 268.7 MB / 0.8542 GB