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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01217/0.01217, allocations: 107.3 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001196/0.001196, allocations: 184.5 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.132/2.132, allocations: 194.5 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.38/2.38, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004685, allocations: 12 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5346, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001677/0.5364, allocations: 1.343 MB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.5373, allocations: 433.6 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.5374, allocations: 0 / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.5374, allocations: 7.375 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.5375, allocations: 29.66 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.5383, allocations: 210.1 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.5386, allocations: 174.9 kB / 0.6855 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.5387, allocations: 25.38 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.539, allocations: 161.5 kB / 0.6857 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.5392, allocations: 122.2 kB / 0.6858 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.5393, allocations: 13.75 kB / 0.6858 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.5394, allocations: 8.812 kB / 0.6858 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.5395, allocations: 61.67 kB / 0.6859 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.5396, allocations: 68.05 kB / 0.6859 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.54, allocations: 279.2 kB / 0.6862 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.476e-06/0.54, allocations: 1.375 kB / 0.6862 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.762e-06/0.54, allocations: 0 / 0.6862 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.117e-06/0.54, allocations: 0 / 0.6862 GB, free: 15.14 MB / 0.5261 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.001019/0.541, allocations: 0.5991 MB / 0.6868 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5411, allocations: 10.25 kB / 0.6868 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.5412, allocations: 28.66 kB / 0.6868 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.5415, allocations: 255.7 kB / 0.6871 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.5416, allocations: 15.97 kB / 0.6871 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.5417, allocations: 19.59 kB / 0.6871 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.5421, allocations: 161.4 kB / 0.6873 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5421, allocations: 2.391 kB / 0.6873 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.5422, allocations: 8.953 kB / 0.6873 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-06/0.5422, allocations: 1.719 kB / 0.6873 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.5424, allocations: 60.33 kB / 0.6873 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.5437, allocations: 0.5326 MB / 0.6878 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.5442, allocations: 130.7 kB / 0.688 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.5442, allocations: 2.922 kB / 0.688 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006125/0.5448, allocations: 213.6 kB / 0.6882 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.965e-06/0.5449, allocations: 0 / 0.6882 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.00086/0.5457, allocations: 271.8 kB / 0.6884 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5458, allocations: 67.27 kB / 0.6885 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.5461, allocations: 249.8 kB / 0.6887 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.749e-05/0.5462, allocations: 37.72 kB / 0.6888 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.5463, allocations: 101 kB / 0.6889 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.5464, allocations: 52.09 kB / 0.6889 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.5464, allocations: 5.047 kB / 0.6889 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.5465, allocations: 325 kB / 0.6892 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.5468, allocations: 98.83 kB / 0.6893 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.5472, allocations: 155.9 kB / 0.6895 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.5475, allocations: 163.5 kB / 0.6896 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.883e-06/0.5475, allocations: 1.531 kB / 0.6896 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001013/0.5486, allocations: 424.6 kB / 0.69 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.5487, allocations: 75.48 kB / 0.6901 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5487, allocations: 3.453 kB / 0.6901 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5487, allocations: 2.656 kB / 0.6901 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.549, allocations: 29.83 kB / 0.6902 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.549, allocations: 3.109 kB / 0.6902 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/0.5497, allocations: 81.98 kB / 0.6902 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.5498, allocations: 40.77 kB / 0.6903 GB, free: 12.32 MB / 0.5261 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 () * Number of clocked 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.0002656/0.55, allocations: 177.5 kB / 0.6904 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.5501, allocations: 27.84 kB / 0.6905 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.5502, allocations: 27.16 kB / 0.6905 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.059e-06/0.5502, allocations: 2.828 kB / 0.6905 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.123e-06/0.5502, allocations: 3.938 kB / 0.6905 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.458e-06/0.5502, allocations: 2.453 kB / 0.6905 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/0.5512, allocations: 0.5729 MB / 0.6911 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.599e-06/0.5513, allocations: 4 kB / 0.6911 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.5513, allocations: 8.188 kB / 0.6911 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.174e-06/0.5514, allocations: 1.344 kB / 0.6911 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.5514, allocations: 18.72 kB / 0.6911 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.121e-06/0.5514, allocations: 0 / 0.6911 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.659e-06/0.5514, allocations: 5.047 kB / 0.6911 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.552, allocations: 316.7 kB / 0.6914 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.5522, allocations: 156 kB / 0.6915 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.5523, allocations: 15.64 kB / 0.6916 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.5526, allocations: 15.62 kB / 0.6916 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.5527, allocations: 21.06 kB / 0.6916 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.5528, allocations: 24.06 kB / 0.6916 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002092/0.553, allocations: 181.7 kB / 0.6918 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.36e-07/0.553, allocations: 0 / 0.6918 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00051/0.5535, allocations: 46.7 kB / 0.6918 GB, free: 11.27 MB / 0.5261 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) * Number of clocked states: 0 () * 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.0001763/0.5537, allocations: 126.8 kB / 0.692 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007348/0.5545, allocations: 365.2 kB / 0.6923 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.559e-06/0.5545, allocations: 1.156 kB / 0.6923 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.5547, allocations: 71.64 kB / 0.6924 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.5551, allocations: 30.61 kB / 0.6924 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.5559, allocations: 404.2 kB / 0.6928 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.5561, allocations: 0.7381 MB / 0.6935 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.5563, allocations: 35.67 kB / 0.6935 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5565, allocations: 35.2 kB / 0.6936 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.47e-06/0.5565, allocations: 0 / 0.6936 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.01028/0.5668, allocations: 3.897 MB / 0.6974 GB, free: 8.754 MB / 0.5261 GB