Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01532/0.01532, allocations: 108.3 kB / 15.06 MB, free: 6.039 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.001773/0.001773, allocations: 182.1 kB / 15.95 MB, free: 5.953 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.851/1.851, allocations: 194.6 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.367/2.367, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004621, allocations: 8 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7295, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002296/0.7318, allocations: 1.161 MB / 0.6845 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.7332, allocations: 371.2 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.7333, allocations: 1.281 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.953e-05/0.7334, allocations: 9.859 kB / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.7335, allocations: 15.53 kB / 0.6848 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.7348, allocations: 208 kB / 0.685 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.7351, allocations: 143.5 kB / 0.6852 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.115e-05/0.7352, allocations: 5.453 kB / 0.6852 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.7357, allocations: 158.9 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.7361, allocations: 119.7 kB / 0.6854 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.811e-05/0.7362, allocations: 9.344 kB / 0.6855 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.7363, allocations: 9.188 kB / 0.6855 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.7365, allocations: 57.72 kB / 0.6855 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.7366, allocations: 61.77 kB / 0.6856 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.737, allocations: 168 kB / 0.6857 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.402e-06/0.7371, allocations: 0 / 0.6857 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.915e-06/0.7371, allocations: 0 / 0.6857 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.351e-06/0.7371, allocations: 1.188 kB / 0.6857 GB, free: 15.3 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001516/0.7386, allocations: 0.5753 MB / 0.6863 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.7387, allocations: 12.81 kB / 0.6863 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.7389, allocations: 24.2 kB / 0.6863 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.7393, allocations: 237.2 kB / 0.6866 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.7394, allocations: 21.73 kB / 0.6866 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.7396, allocations: 14.81 kB / 0.6866 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.7402, allocations: 138.9 kB / 0.6867 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.7402, allocations: 4 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.7403, allocations: 2.766 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.7403, allocations: 1.312 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.7407, allocations: 43.94 kB / 0.6868 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.7413, allocations: 299.9 kB / 0.6871 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.7419, allocations: 126.5 kB / 0.6872 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.742, allocations: 10.72 kB / 0.6872 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008771/0.7429, allocations: 208.8 kB / 0.6874 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 5.079e-06/0.7429, allocations: 0 / 0.6874 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001325/0.7442, allocations: 261 kB / 0.6876 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.7443, allocations: 57 kB / 0.6877 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.7448, allocations: 223.3 kB / 0.6879 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/0.7449, allocations: 37.09 kB / 0.688 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.745, allocations: 94.17 kB / 0.688 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.356e-05/0.7451, allocations: 47.92 kB / 0.6881 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.7452, allocations: 7.969 kB / 0.6881 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.7453, allocations: 325.3 kB / 0.6884 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.7458, allocations: 91.36 kB / 0.6885 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.7464, allocations: 143.9 kB / 0.6886 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.747, allocations: 156.3 kB / 0.6888 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.235e-06/0.747, allocations: 0.75 kB / 0.6888 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001655/0.7487, allocations: 398.2 kB / 0.6892 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.7488, allocations: 72.41 kB / 0.6892 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7489, allocations: 6.25 kB / 0.6892 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.7489, allocations: 2.844 kB / 0.6892 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.7493, allocations: 27.3 kB / 0.6893 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.7493, allocations: 3.641 kB / 0.6893 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.7505, allocations: 76.42 kB / 0.6893 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.7507, allocations: 43.17 kB / 0.6894 GB, free: 12.73 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0003472/0.751, allocations: 163.3 kB / 0.6895 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.7512, allocations: 17.5 kB / 0.6896 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.269e-05/0.7513, allocations: 24.08 kB / 0.6896 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.3e-06/0.7513, allocations: 6.125 kB / 0.6896 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.819e-06/0.7513, allocations: 0 / 0.6896 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.7513, allocations: 5.156 kB / 0.6896 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.753, allocations: 0.5398 MB / 0.6901 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.157e-06/0.753, allocations: 1.625 kB / 0.6901 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.7531, allocations: 11.3 kB / 0.6901 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.7532, allocations: 1.531 kB / 0.6901 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.7532, allocations: 13.41 kB / 0.6901 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.7533, allocations: 1.766 kB / 0.6901 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.419e-06/0.7533, allocations: 1.031 kB / 0.6901 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009282/0.7542, allocations: 313.5 kB / 0.6904 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.7545, allocations: 142.2 kB / 0.6906 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.7547, allocations: 10.25 kB / 0.6906 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.7552, allocations: 11.36 kB / 0.6906 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.7553, allocations: 17.52 kB / 0.6906 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.7554, allocations: 27.7 kB / 0.6906 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002968/0.7557, allocations: 163 kB / 0.6908 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.051e-06/0.7558, allocations: 0 / 0.6908 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008702/0.7567, allocations: 53.06 kB / 0.6908 GB, free: 11.73 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.00021/0.7569, allocations: 119.8 kB / 0.691 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.7581, allocations: 331.7 kB / 0.6913 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.295e-06/0.7581, allocations: 0 / 0.6913 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.7585, allocations: 70.95 kB / 0.6913 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.759, allocations: 25.77 kB / 0.6914 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.7601, allocations: 362.2 kB / 0.6917 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.7604, allocations: 0.7306 MB / 0.6924 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.7608, allocations: 38.23 kB / 0.6925 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.761, allocations: 30 kB / 0.6925 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of SimCode: time 2.397e-06/0.761, allocations: 1.406 kB / 0.6925 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.01545/0.7765, allocations: 3.525 MB / 0.6959 GB, free: 9.625 MB / 0.5261 GB