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/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.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.289/4.289, allocations: 432.6 MB / 445.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.952e-05/4.965e-05, allocations: 5.938 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.226, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2501/0.4762, allocations: 126.6 MB / 0.7583 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004105/0.4767, allocations: 71.95 kB / 0.7584 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03905/0.5157, allocations: 4.891 MB / 0.7632 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5158, allocations: 0 / 0.7632 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.033e-05/0.5158, allocations: 8 kB / 0.7632 GB, free: 14.15 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.001834/0.5177, allocations: 0.5676 MB / 0.7638 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.5178, allocations: 8.031 kB / 0.7638 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.5179, allocations: 46.55 kB / 0.7638 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.5182, allocations: 35.61 kB / 0.7638 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.5186, allocations: 193.9 kB / 0.764 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.5187, allocations: 15.98 kB / 0.764 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.5189, allocations: 20 kB / 0.7641 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.5196, allocations: 154.9 kB / 0.7642 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.5196, allocations: 4 kB / 0.7642 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.5197, allocations: 7.984 kB / 0.7642 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5197, allocations: 3.938 kB / 0.7642 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.5201, allocations: 55.98 kB / 0.7643 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.523, allocations: 0.5627 MB / 0.7648 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.5237, allocations: 138.7 kB / 0.765 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.524, allocations: 52.86 kB / 0.765 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.5241, allocations: 7.984 kB / 0.765 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008871/0.525, allocations: 207.6 kB / 0.7652 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.567e-06/0.525, allocations: 0 / 0.7652 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.00118/0.5262, allocations: 221.4 kB / 0.7654 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/0.5263, allocations: 67.3 kB / 0.7655 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.5269, allocations: 229 kB / 0.7657 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.5271, allocations: 37.7 kB / 0.7657 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.5273, allocations: 92.91 kB / 0.7658 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5274, allocations: 51.38 kB / 0.7659 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.5275, allocations: 8 kB / 0.7659 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5277, allocations: 326.8 kB / 0.7662 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.5283, allocations: 108.2 kB / 0.7663 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/0.529, allocations: 170.4 kB / 0.7665 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.5297, allocations: 154 kB / 0.7666 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.5297, allocations: 0 / 0.7666 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001801/0.5315, allocations: 435 kB / 0.767 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.5317, allocations: 78.2 kB / 0.7671 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5317, allocations: 4 kB / 0.7671 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.5318, allocations: 4 kB / 0.7671 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.5322, allocations: 27.91 kB / 0.7671 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.5322, allocations: 0 / 0.7671 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/0.5332, allocations: 59.95 kB / 0.7672 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.5334, allocations: 43.98 kB / 0.7672 GB, free: 9.719 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.0003084/0.5338, allocations: 128.1 kB / 0.7674 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5339, allocations: 23.72 kB / 0.7674 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.534, allocations: 17.97 kB / 0.7674 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5341, allocations: 7.984 kB / 0.7674 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.5341, allocations: 0 / 0.7674 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.5342, allocations: 11.92 kB / 0.7674 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.5373, allocations: 0.5646 MB / 0.768 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5373, allocations: 4 kB / 0.768 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.5375, allocations: 11.92 kB / 0.768 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.5375, allocations: 0 / 0.768 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.5375, allocations: 11.98 kB / 0.768 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.5376, allocations: 3.953 kB / 0.768 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5376, allocations: 0 / 0.768 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.5382, allocations: 315.1 kB / 0.7683 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.5386, allocations: 156.8 kB / 0.7684 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.5387, allocations: 16 kB / 0.7685 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.539, allocations: 7.984 kB / 0.7685 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.5391, allocations: 19.94 kB / 0.7685 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.5391, allocations: 27.97 kB / 0.7685 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002584/0.5394, allocations: 177.4 kB / 0.7687 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5394, allocations: 4 kB / 0.7687 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005682/0.54, allocations: 60.16 kB / 0.7687 GB, free: 8.07 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.001124/0.5411, allocations: 0.8638 MB / 0.7696 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009927/0.5422, allocations: 381.1 kB / 0.77 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.5422, allocations: 0 / 0.77 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.5425, allocations: 75.91 kB / 0.77 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.5429, allocations: 37.55 kB / 0.7701 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5442, allocations: 306.2 kB / 0.7704 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.5446, allocations: 0.7402 MB / 0.7711 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.5448, allocations: 33.2 kB / 0.7711 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.545, allocations: 43.41 kB / 0.7711 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/0.545, allocations: 0 / 0.7711 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.5754, allocations: 5.569 MB / 0.7766 GB, free: 28 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5742/1.15, allocations: 187.7 kB / 0.7768 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.638, allocations: 0 / 0.7768 GB, free: 143.1 MB / 0.6511 GB