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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009259/0.009264, allocations: 107.2 kB / 15.06 MB, free: 5.559 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.001108/0.001108, allocations: 178.3 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 1.908/1.908, allocations: 194.6 MB / 211.3 MB, free: 11.32 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.253/2.253, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.0005975, allocations: 16 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5328, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001674/0.5345, allocations: 1.342 MB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.5354, allocations: 436.6 kB / 0.6851 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.5355, allocations: 1.125 kB / 0.6851 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.5356, allocations: 6.188 kB / 0.6851 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.5357, allocations: 25.34 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.5365, allocations: 209.7 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.5368, allocations: 183.6 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.5369, allocations: 22.31 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.5372, allocations: 168.6 kB / 0.6857 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.5374, allocations: 118.2 kB / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.5375, allocations: 8.344 kB / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.5376, allocations: 9.594 kB / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.5377, allocations: 67.14 kB / 0.6859 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.5378, allocations: 67.17 kB / 0.6859 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.5382, allocations: 275.6 kB / 0.6862 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.466e-06/0.5382, allocations: 0 / 0.6862 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.166e-06/0.5382, allocations: 0 / 0.6862 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.716e-06/0.5382, allocations: 0 / 0.6862 GB, free: 15.1 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.001039/0.5393, allocations: 0.5968 MB / 0.6868 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5393, allocations: 12.84 kB / 0.6868 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.5394, allocations: 30.73 kB / 0.6868 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.5398, allocations: 255.2 kB / 0.6871 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.5398, allocations: 13.69 kB / 0.6871 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.5399, allocations: 18.16 kB / 0.6871 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.5404, allocations: 173.8 kB / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5404, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.5404, allocations: 0.8438 kB / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.5404, allocations: 2.5 kB / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.5407, allocations: 62.16 kB / 0.6873 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.5419, allocations: 0.5293 MB / 0.6878 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.5423, allocations: 133.8 kB / 0.688 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.5424, allocations: 6.766 kB / 0.688 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.5429, allocations: 211.1 kB / 0.6882 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.151e-06/0.543, allocations: 0 / 0.6882 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0008285/0.5438, allocations: 274.5 kB / 0.6884 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5439, allocations: 58.92 kB / 0.6885 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.5442, allocations: 248.7 kB / 0.6887 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.5443, allocations: 46.3 kB / 0.6888 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.5443, allocations: 101.6 kB / 0.6889 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.5444, allocations: 46.73 kB / 0.6889 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.5445, allocations: 8.484 kB / 0.6889 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.5445, allocations: 322.6 kB / 0.6892 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.5449, allocations: 103 kB / 0.6893 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.5452, allocations: 155.9 kB / 0.6895 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.5456, allocations: 161.2 kB / 0.6896 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.5456, allocations: 1.469 kB / 0.6896 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009978/0.5466, allocations: 420.8 kB / 0.69 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.5467, allocations: 81.69 kB / 0.6901 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-06/0.5467, allocations: 2.141 kB / 0.6901 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.5468, allocations: 2.75 kB / 0.6901 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.547, allocations: 26.64 kB / 0.6901 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.547, allocations: 2.594 kB / 0.6902 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.5477, allocations: 78.06 kB / 0.6902 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/0.5478, allocations: 43.17 kB / 0.6903 GB, free: 12.29 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.0002658/0.5481, allocations: 178 kB / 0.6904 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.5481, allocations: 22.45 kB / 0.6905 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.5482, allocations: 24.11 kB / 0.6905 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.888e-06/0.5482, allocations: 6.594 kB / 0.6905 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.364e-06/0.5482, allocations: 0 / 0.6905 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5483, allocations: 6.297 kB / 0.6905 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.5493, allocations: 0.5731 MB / 0.6911 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-06/0.5493, allocations: 0 / 0.6911 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.5494, allocations: 11.23 kB / 0.6911 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.593e-06/0.5494, allocations: 1.281 kB / 0.6911 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.5494, allocations: 11.02 kB / 0.6911 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.024e-06/0.5494, allocations: 0.7031 kB / 0.6911 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.407e-06/0.5495, allocations: 9.453 kB / 0.6911 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.5502, allocations: 316.1 kB / 0.6914 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.5504, allocations: 160.1 kB / 0.6915 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.5505, allocations: 15.92 kB / 0.6916 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.5508, allocations: 10.72 kB / 0.6916 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.5509, allocations: 22.55 kB / 0.6916 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.551, allocations: 23.31 kB / 0.6916 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002017/0.5512, allocations: 180.5 kB / 0.6918 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.57e-07/0.5512, allocations: 1.312 kB / 0.6918 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005112/0.5517, allocations: 51.25 kB / 0.6918 GB, free: 11.24 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.0001661/0.5519, allocations: 122 kB / 0.6919 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.5526, allocations: 361.7 kB / 0.6923 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.037e-06/0.5527, allocations: 384 / 0.6923 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.5529, allocations: 81.69 kB / 0.6924 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.5532, allocations: 34.11 kB / 0.6924 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007854/0.554, allocations: 399.7 kB / 0.6928 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.5543, allocations: 0.7504 MB / 0.6935 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.5545, allocations: 32.09 kB / 0.6935 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.5546, allocations: 31.67 kB / 0.6936 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of SimCode: time 1.871e-06/0.5546, allocations: 3.938 kB / 0.6936 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of Templates: time 0.009872/0.5645, allocations: 3.901 MB / 0.6974 GB, free: 8.723 MB / 0.5261 GB