Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.345/4.345, allocations: 433.2 MB / 440.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.698e-05, allocations: 7.406 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2294, allocations: 98.73 MB / 0.6289 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.5318, allocations: 125.9 MB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.5322, allocations: 75.94 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02415/0.5564, allocations: 4.872 MB / 0.7568 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5564, allocations: 4 kB / 0.7568 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.5564, allocations: 4 kB / 0.7568 GB, free: 5.91 MB / 0.6355 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.001267/0.5577, allocations: 0.5714 MB / 0.7573 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.5578, allocations: 12.02 kB / 0.7573 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.5579, allocations: 35.67 kB / 0.7574 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.5581, allocations: 189.9 kB / 0.7575 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.5582, allocations: 12 kB / 0.7576 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5583, allocations: 19.98 kB / 0.7576 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002185/0.5585, allocations: 51.92 kB / 0.7576 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.5589, allocations: 157.4 kB / 0.7578 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.559, allocations: 0 / 0.7578 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.559, allocations: 3.984 kB / 0.7578 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.559, allocations: 4 kB / 0.7578 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.5608, allocations: 0.5322 MB / 0.7583 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.5611, allocations: 126.7 kB / 0.7584 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.5613, allocations: 52.84 kB / 0.7585 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.5613, allocations: 8 kB / 0.7585 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/0.5619, allocations: 203.6 kB / 0.7587 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 4.839e-06/0.5619, allocations: 0 / 0.7587 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007485/0.5627, allocations: 214.1 kB / 0.7589 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.5628, allocations: 63.39 kB / 0.7589 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.5631, allocations: 208.5 kB / 0.7591 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.5632, allocations: 37.7 kB / 0.7592 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.5634, allocations: 96.81 kB / 0.7593 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.5634, allocations: 43.52 kB / 0.7593 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.5635, allocations: 4 kB / 0.7593 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5637, allocations: 322.8 kB / 0.7596 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.564, allocations: 108.2 kB / 0.7597 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.5644, allocations: 142.2 kB / 0.7599 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.5647, allocations: 88.64 kB / 0.7599 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5647, allocations: 3.938 kB / 0.7599 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001016/0.5658, allocations: 330.1 kB / 0.7603 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.5659, allocations: 75.39 kB / 0.7603 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5659, allocations: 192 / 0.7603 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.5659, allocations: 8 kB / 0.7603 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.5662, allocations: 27.91 kB / 0.7604 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5663, allocations: 4 kB / 0.7604 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.5669, allocations: 43.81 kB / 0.7604 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.5671, allocations: 43.98 kB / 0.7605 GB, free: 1.867 MB / 0.6355 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 () * 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.0002431/0.5673, allocations: 136.8 kB / 0.7606 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005688/0.5679, allocations: 202.7 kB / 0.7608 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.568, allocations: 27.72 kB / 0.7608 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/0.5681, allocations: 17.95 kB / 0.7608 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5681, allocations: 4 kB / 0.7608 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5681, allocations: 0 / 0.7608 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5682, allocations: 0 / 0.7608 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.5692, allocations: 0.5397 MB / 0.7614 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5693, allocations: 4 kB / 0.7614 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.28e-05/0.5694, allocations: 4 kB / 0.7614 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.5694, allocations: 3.938 kB / 0.7614 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.5694, allocations: 11.98 kB / 0.7614 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5694, allocations: 0 / 0.7614 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.5695, allocations: 7.984 kB / 0.7614 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.5701, allocations: 307 kB / 0.7617 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.5704, allocations: 156.7 kB / 0.7618 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.5705, allocations: 16 kB / 0.7618 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.5708, allocations: 11.98 kB / 0.7619 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.5709, allocations: 19.97 kB / 0.7619 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.571, allocations: 19.98 kB / 0.7619 GB, free: 312 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002403/0.5712, allocations: 168.5 kB / 0.7621 GB, free: 140 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/0.5712, allocations: 0 / 0.7621 GB, free: 140 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006279/0.5719, allocations: 51.95 kB / 0.7621 GB, free: 88 kB / 0.6355 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) * 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.001183/0.5731, allocations: 0.8638 MB / 0.7629 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009021/0.574, allocations: 349.7 kB / 0.7633 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.574, allocations: 3.938 kB / 0.7633 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.5742, allocations: 67.92 kB / 0.7633 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.5747, allocations: 24.8 kB / 0.7634 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5758, allocations: 298.9 kB / 0.7637 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.5763, allocations: 0.7397 MB / 0.7644 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.5765, allocations: 37.19 kB / 0.7644 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5767, allocations: 47.41 kB / 0.7645 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/0.5767, allocations: 0 / 0.7645 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05538/0.6321, allocations: 5.045 MB / 0.7694 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/0.6325, allocations: 179.7 kB / 0.7696 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.004, allocations: 1.562 kB / 0.7696 GB, free: 8.344 MB / 0.6511 GB