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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadModel(Buildings): time 3.897/3.897, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.575e-05, allocations: 5.797 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1702, allocations: 98.72 MB / 0.6348 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.3643, allocations: 126.6 MB / 0.7584 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.3646, allocations: 75.95 kB / 0.7585 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02118/0.3858, allocations: 4.898 MB / 0.7633 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.772e-06/0.3859, allocations: 0 / 0.7633 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.3859, allocations: 4 kB / 0.7633 GB, free: 14.12 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.00104/0.3869, allocations: 0.5753 MB / 0.7638 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.387, allocations: 12.02 kB / 0.7638 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.3871, allocations: 31.77 kB / 0.7639 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3874, allocations: 201.8 kB / 0.7641 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.3874, allocations: 15.94 kB / 0.7641 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.3875, allocations: 19.98 kB / 0.7641 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.3879, allocations: 163.6 kB / 0.7642 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.741e-06/0.3879, allocations: 0 / 0.7642 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.388, allocations: 0 / 0.7642 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.346e-06/0.388, allocations: 8 kB / 0.7643 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3882, allocations: 55.98 kB / 0.7643 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.3896, allocations: 0.5629 MB / 0.7649 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.3899, allocations: 134.7 kB / 0.765 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3901, allocations: 60.84 kB / 0.765 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3901, allocations: 0 / 0.765 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.3907, allocations: 203.9 kB / 0.7652 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/0.3907, allocations: 0 / 0.7652 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006135/0.3913, allocations: 225.2 kB / 0.7655 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.3914, allocations: 71.3 kB / 0.7655 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.3917, allocations: 217 kB / 0.7657 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.3918, allocations: 41.7 kB / 0.7658 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3919, allocations: 96.81 kB / 0.7659 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.392, allocations: 47.44 kB / 0.7659 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.392, allocations: 8 kB / 0.7659 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3922, allocations: 322.8 kB / 0.7662 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.3926, allocations: 108.2 kB / 0.7663 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.393, allocations: 169.5 kB / 0.7665 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.3934, allocations: 160 kB / 0.7666 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.3934, allocations: 4 kB / 0.7666 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001053/0.3945, allocations: 434.9 kB / 0.7671 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/0.3946, allocations: 75.39 kB / 0.7671 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.01e-06/0.3946, allocations: 0 / 0.7671 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3946, allocations: 4 kB / 0.7671 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3948, allocations: 31.92 kB / 0.7672 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.3949, allocations: 7.984 kB / 0.7672 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.3953, allocations: 48.03 kB / 0.7672 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3954, allocations: 43.97 kB / 0.7673 GB, free: 9.742 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.000186/0.3956, allocations: 132 kB / 0.7674 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.3957, allocations: 19.81 kB / 0.7674 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.3958, allocations: 29.95 kB / 0.7674 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.202e-06/0.3958, allocations: 0 / 0.7674 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-06/0.3958, allocations: 0 / 0.7674 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.448e-06/0.3958, allocations: 3.984 kB / 0.7674 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.3969, allocations: 0.5762 MB / 0.768 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-06/0.3969, allocations: 0 / 0.768 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.397, allocations: 7.938 kB / 0.768 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-06/0.397, allocations: 4 kB / 0.768 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.397, allocations: 15.97 kB / 0.768 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.109e-06/0.3971, allocations: 4 kB / 0.768 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.199e-06/0.3971, allocations: 3.953 kB / 0.768 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.3977, allocations: 317.5 kB / 0.7683 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.3979, allocations: 152.8 kB / 0.7685 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.398, allocations: 11.98 kB / 0.7685 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3982, allocations: 12 kB / 0.7685 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.3983, allocations: 19.92 kB / 0.7685 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.3984, allocations: 27.98 kB / 0.7686 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002271/0.3986, allocations: 177.4 kB / 0.7687 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.146e-06/0.3986, allocations: 0 / 0.7687 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004871/0.3991, allocations: 63.83 kB / 0.7688 GB, free: 8.086 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.0002237/0.3994, allocations: 136.9 kB / 0.7689 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007883/0.4002, allocations: 358.9 kB / 0.7693 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4002, allocations: 4.375 kB / 0.7693 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4004, allocations: 71.92 kB / 0.7693 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4007, allocations: 32.34 kB / 0.7694 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.4014, allocations: 242.3 kB / 0.7696 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.4019, allocations: 0.7439 MB / 0.7703 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.4021, allocations: 29.22 kB / 0.7703 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4023, allocations: 35.41 kB / 0.7704 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of SimCode: time 1.486e-06/0.4023, allocations: 0 / 0.7704 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of Templates: time 0.01115/0.4134, allocations: 4.381 MB / 0.7747 GB, free: 2 MB / 0.6511 GB