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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.164/4.164, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.625e-05, allocations: 11.06 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 98.71 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.4644, allocations: 125.9 MB / 0.7519 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.4648, allocations: 71.95 kB / 0.7519 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.4888, allocations: 4.862 MB / 0.7567 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4888, allocations: 0 / 0.7567 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.4888, allocations: 4 kB / 0.7567 GB, free: 6.09 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.001355/0.4902, allocations: 0.5714 MB / 0.7573 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.4903, allocations: 12.03 kB / 0.7573 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.4905, allocations: 31.67 kB / 0.7573 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.4907, allocations: 197.9 kB / 0.7575 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.4908, allocations: 4 kB / 0.7575 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.4909, allocations: 19.98 kB / 0.7575 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002083/0.4911, allocations: 55.92 kB / 0.7576 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.4915, allocations: 149.5 kB / 0.7577 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4916, allocations: 0 / 0.7577 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.4916, allocations: 0 / 0.7577 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4916, allocations: 4 kB / 0.7577 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.4935, allocations: 0.5361 MB / 0.7582 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.4939, allocations: 118.7 kB / 0.7583 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.4941, allocations: 57.09 kB / 0.7584 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.4941, allocations: 7.984 kB / 0.7584 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.4947, allocations: 207.6 kB / 0.7586 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 5.1e-06/0.4947, allocations: 0 / 0.7586 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007329/0.4955, allocations: 215.2 kB / 0.7588 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4955, allocations: 59.41 kB / 0.7589 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.4959, allocations: 208.5 kB / 0.7591 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.496, allocations: 33.7 kB / 0.7591 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.4962, allocations: 108.8 kB / 0.7592 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.4963, allocations: 43.5 kB / 0.7592 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.4963, allocations: 0 / 0.7592 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4965, allocations: 330.8 kB / 0.7596 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.4969, allocations: 100.2 kB / 0.7597 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.4972, allocations: 150.2 kB / 0.7598 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4976, allocations: 86.38 kB / 0.7599 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4976, allocations: 3.938 kB / 0.7599 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001035/0.4986, allocations: 327.7 kB / 0.7602 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.4988, allocations: 75.58 kB / 0.7603 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4988, allocations: 4 kB / 0.7603 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4988, allocations: 4 kB / 0.7603 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.4991, allocations: 35.91 kB / 0.7603 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4991, allocations: 4 kB / 0.7603 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.4998, allocations: 43.81 kB / 0.7604 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4999, allocations: 39.98 kB / 0.7604 GB, free: 2.047 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.000251/0.5002, allocations: 137 kB / 0.7605 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005589/0.5008, allocations: 201.3 kB / 0.7607 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.5008, allocations: 19.72 kB / 0.7607 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.5009, allocations: 25.95 kB / 0.7608 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.501, allocations: 4 kB / 0.7608 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.501, allocations: 0 / 0.7608 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.501, allocations: 0 / 0.7608 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.502, allocations: 0.5358 MB / 0.7613 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5021, allocations: 0 / 0.7613 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.5021, allocations: 8 kB / 0.7613 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.5022, allocations: 0 / 0.7613 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.5022, allocations: 15.97 kB / 0.7613 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5022, allocations: 4 kB / 0.7613 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5022, allocations: 0 / 0.7613 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.5028, allocations: 307 kB / 0.7616 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.5031, allocations: 160.8 kB / 0.7618 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.5032, allocations: 15.97 kB / 0.7618 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.5035, allocations: 4 kB / 0.7618 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.5036, allocations: 19.97 kB / 0.7618 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.5037, allocations: 23.98 kB / 0.7618 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002336/0.5039, allocations: 172.5 kB / 0.762 GB, free: 328 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5039, allocations: 0 / 0.762 GB, free: 328 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006062/0.5046, allocations: 51.94 kB / 0.762 GB, free: 276 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.001077/0.5057, allocations: 0.863 MB / 0.7629 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008572/0.5065, allocations: 342.9 kB / 0.7632 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5066, allocations: 3.938 kB / 0.7632 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.5068, allocations: 76.23 kB / 0.7633 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.5072, allocations: 33.2 kB / 0.7633 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.5084, allocations: 294.9 kB / 0.7636 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.5088, allocations: 0.7397 MB / 0.7643 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.509, allocations: 37.2 kB / 0.7644 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.5093, allocations: 47.41 kB / 0.7644 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.5093, allocations: 0 / 0.7644 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04968/0.559, allocations: 5.055 MB / 0.7693 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/0.5593, allocations: 173.5 kB / 0.7695 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.055, allocations: 4.031 kB / 0.7695 GB, free: 8.523 MB / 0.6511 GB