Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadModel(Buildings): time 3.772/3.772, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.111e-05, allocations: 4.844 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 98.74 MB / 0.6348 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.3828, allocations: 126.6 MB / 0.7584 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.383, allocations: 71.95 kB / 0.7584 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02061/0.4037, allocations: 4.883 MB / 0.7632 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.108e-06/0.4037, allocations: 7.938 kB / 0.7632 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.4037, allocations: 0 / 0.7632 GB, free: 14.17 MB / 0.6511 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.0009794/0.4047, allocations: 0.5792 MB / 0.7638 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4048, allocations: 8.031 kB / 0.7638 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.4049, allocations: 27.77 kB / 0.7638 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.4051, allocations: 197.8 kB / 0.764 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.4052, allocations: 12 kB / 0.764 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.4053, allocations: 23.98 kB / 0.764 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.4057, allocations: 159.4 kB / 0.7642 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.991e-06/0.4057, allocations: 0 / 0.7642 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.4057, allocations: 11.98 kB / 0.7642 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-06/0.4058, allocations: 4 kB / 0.7642 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.406, allocations: 55.98 kB / 0.7642 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.4073, allocations: 0.559 MB / 0.7648 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.4077, allocations: 126.7 kB / 0.7649 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.4079, allocations: 64.78 kB / 0.765 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4079, allocations: 4 kB / 0.765 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.4084, allocations: 199.7 kB / 0.7652 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.277e-06/0.4084, allocations: 0 / 0.7652 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006079/0.409, allocations: 230.6 kB / 0.7654 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4091, allocations: 71.34 kB / 0.7655 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.4094, allocations: 221 kB / 0.7657 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.4095, allocations: 37.64 kB / 0.7657 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4096, allocations: 100.8 kB / 0.7658 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.641e-05/0.4097, allocations: 43.45 kB / 0.7658 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.4098, allocations: 8 kB / 0.7659 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4099, allocations: 322.8 kB / 0.7662 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.4103, allocations: 108.2 kB / 0.7663 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.4107, allocations: 166.4 kB / 0.7664 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.4111, allocations: 162.3 kB / 0.7666 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-06/0.4111, allocations: 4 kB / 0.7666 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001083/0.4122, allocations: 435 kB / 0.767 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/0.4123, allocations: 75.39 kB / 0.7671 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.181e-06/0.4123, allocations: 4 kB / 0.7671 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4123, allocations: 0 / 0.7671 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.4125, allocations: 23.92 kB / 0.7671 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4126, allocations: 7.984 kB / 0.7671 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.413, allocations: 56.02 kB / 0.7672 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4131, allocations: 39.98 kB / 0.7672 GB, free: 9.797 MB / 0.6511 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.0001774/0.4133, allocations: 136 kB / 0.7673 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.4134, allocations: 15.81 kB / 0.7673 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.4135, allocations: 29.89 kB / 0.7674 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-06/0.4135, allocations: 8 kB / 0.7674 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.987e-06/0.4135, allocations: 0 / 0.7674 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.173e-06/0.4135, allocations: 3.984 kB / 0.7674 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4145, allocations: 0.5741 MB / 0.7679 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-06/0.4146, allocations: 0 / 0.7679 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.4146, allocations: 8 kB / 0.7679 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.333e-06/0.4146, allocations: 0 / 0.7679 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.4147, allocations: 19.97 kB / 0.768 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.288e-06/0.4147, allocations: 4 kB / 0.768 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.588e-06/0.4147, allocations: 7.953 kB / 0.768 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.4153, allocations: 311 kB / 0.7683 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.4155, allocations: 152.8 kB / 0.7684 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.4156, allocations: 16 kB / 0.7684 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.4159, allocations: 7.984 kB / 0.7684 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.4159, allocations: 19.94 kB / 0.7685 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.416, allocations: 23.98 kB / 0.7685 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002223/0.4162, allocations: 177.4 kB / 0.7687 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.89e-07/0.4162, allocations: 0 / 0.7687 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000471/0.4167, allocations: 72.08 kB / 0.7687 GB, free: 8.133 MB / 0.6511 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.0002047/0.4169, allocations: 128 kB / 0.7688 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007666/0.4177, allocations: 369.2 kB / 0.7692 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.017e-06/0.4177, allocations: 384 / 0.7692 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.4179, allocations: 75.92 kB / 0.7693 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.4183, allocations: 24.41 kB / 0.7693 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.4189, allocations: 250.2 kB / 0.7695 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.4194, allocations: 0.7478 MB / 0.7703 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.4196, allocations: 25.22 kB / 0.7703 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4198, allocations: 35.41 kB / 0.7703 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of SimCode: time 1.475e-06/0.4198, allocations: 0 / 0.7703 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of Templates: time 0.01078/0.4306, allocations: 4.374 MB / 0.7746 GB, free: 2.055 MB / 0.6511 GB