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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.227/4.227, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.144e-05/5.16e-05, allocations: 7.953 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2236, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.4579, allocations: 126.6 MB / 0.7584 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.4583, allocations: 75.95 kB / 0.7585 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02952/0.4878, allocations: 4.891 MB / 0.7632 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.185e-06/0.4879, allocations: 0 / 0.7632 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.4879, allocations: 4 kB / 0.7632 GB, free: 14.14 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.001202/0.4891, allocations: 0.5714 MB / 0.7638 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4892, allocations: 12.03 kB / 0.7638 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.783e-05/0.4893, allocations: 42.56 kB / 0.7639 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.4894, allocations: 39.66 kB / 0.7639 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.4896, allocations: 197.8 kB / 0.7641 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.4897, allocations: 12 kB / 0.7641 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4898, allocations: 23.98 kB / 0.7641 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.4902, allocations: 153.5 kB / 0.7643 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4903, allocations: 0 / 0.7643 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4903, allocations: 4 kB / 0.7643 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4903, allocations: 0 / 0.7643 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.4906, allocations: 67.92 kB / 0.7643 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.4924, allocations: 0.5627 MB / 0.7649 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.4929, allocations: 134.7 kB / 0.765 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.4931, allocations: 56.84 kB / 0.7651 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.4931, allocations: 4 kB / 0.7651 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.4937, allocations: 207.6 kB / 0.7653 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/0.4937, allocations: 0 / 0.7653 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0008053/0.4945, allocations: 220.2 kB / 0.7655 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.4946, allocations: 75.28 kB / 0.7655 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.495, allocations: 217 kB / 0.7658 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4951, allocations: 45.69 kB / 0.7658 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.4952, allocations: 92.91 kB / 0.7659 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.4953, allocations: 43.45 kB / 0.7659 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.4954, allocations: 11.98 kB / 0.7659 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4955, allocations: 322.8 kB / 0.7662 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.4959, allocations: 108.2 kB / 0.7664 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.4964, allocations: 166.4 kB / 0.7665 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.4968, allocations: 165.9 kB / 0.7667 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4968, allocations: 4 kB / 0.7667 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001187/0.498, allocations: 424.7 kB / 0.7671 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.4981, allocations: 83.38 kB / 0.7672 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4981, allocations: 4 kB / 0.7672 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.4982, allocations: 4 kB / 0.7672 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.4984, allocations: 23.92 kB / 0.7672 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/0.4985, allocations: 0 / 0.7672 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.4992, allocations: 56.02 kB / 0.7672 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4993, allocations: 47.97 kB / 0.7673 GB, free: 9.703 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.0002022/0.4995, allocations: 124 kB / 0.7674 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.4996, allocations: 31.7 kB / 0.7674 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.136e-05/0.4997, allocations: 21.95 kB / 0.7675 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4997, allocations: 8 kB / 0.7675 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4997, allocations: 0 / 0.7675 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4997, allocations: 0 / 0.7675 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.5009, allocations: 0.5762 MB / 0.768 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5009, allocations: 4 kB / 0.768 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.501, allocations: 4 kB / 0.768 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.501, allocations: 0 / 0.768 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.5011, allocations: 15.92 kB / 0.768 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.5011, allocations: 3.953 kB / 0.7681 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5011, allocations: 7.984 kB / 0.7681 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.5018, allocations: 311.1 kB / 0.7684 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.502, allocations: 156.8 kB / 0.7685 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.5021, allocations: 15.98 kB / 0.7685 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.5024, allocations: 8 kB / 0.7685 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5026, allocations: 19.92 kB / 0.7685 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.5026, allocations: 27.98 kB / 0.7686 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002602/0.5029, allocations: 181.4 kB / 0.7687 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/0.5029, allocations: 0 / 0.7687 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005484/0.5035, allocations: 60.14 kB / 0.7688 GB, free: 8.047 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.001096/0.5046, allocations: 0.868 MB / 0.7697 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009704/0.5056, allocations: 376.6 kB / 0.77 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5056, allocations: 0 / 0.77 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.5059, allocations: 67.92 kB / 0.7701 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.5063, allocations: 36.3 kB / 0.7701 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.5075, allocations: 304.3 kB / 0.7704 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.5079, allocations: 0.7439 MB / 0.7711 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.5081, allocations: 45.11 kB / 0.7712 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.5083, allocations: 43.41 kB / 0.7712 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/0.5083, allocations: 0 / 0.7712 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.5458, allocations: 5.58 MB / 0.7767 GB, free: 4 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5668/1.113, allocations: 185.7 kB / 0.7768 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.789, allocations: 0 / 0.7768 GB, free: 142.7 MB / 0.6511 GB