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.01547/0.01548, allocations: 110.6 kB / 15.05 MB, free: 5.961 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: 184.1 kB / 15.94 MB, free: 5.926 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.146/2.146, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.189/2.189, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007702/0.0007704, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6619, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.8903, allocations: 126.4 MB / 0.8067 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.8906, allocations: 75.94 kB / 0.8068 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.9088, allocations: 4.184 MB / 0.8109 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.851e-06/0.9089, allocations: 0 / 0.8109 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.9089, allocations: 4 kB / 0.8109 GB, free: 11.63 MB / 0.6355 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.001029/0.9099, allocations: 0.5832 MB / 0.8115 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.91, allocations: 8.031 kB / 0.8115 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.9101, allocations: 27.75 kB / 0.8115 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.9103, allocations: 191.9 kB / 0.8117 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.9103, allocations: 8 kB / 0.8117 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.9104, allocations: 27.92 kB / 0.8117 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.9108, allocations: 129.5 kB / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9108, allocations: 4 kB / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.9109, allocations: 4 kB / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-06/0.9109, allocations: 0 / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.9111, allocations: 47.97 kB / 0.8119 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.9115, allocations: 313.3 kB / 0.8122 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.9119, allocations: 126.6 kB / 0.8123 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.9119, allocations: 4 kB / 0.8123 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/0.9129, allocations: 200.3 kB / 0.8125 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 5.172e-06/0.9129, allocations: 4 kB / 0.8125 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001615/0.9146, allocations: 259.9 kB / 0.8128 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9147, allocations: 67.39 kB / 0.8128 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.9153, allocations: 199.1 kB / 0.813 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.9155, allocations: 41.7 kB / 0.8131 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.9156, allocations: 89.08 kB / 0.8132 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.9158, allocations: 43.5 kB / 0.8132 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.9159, allocations: 8 kB / 0.8132 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000301/0.9163, allocations: 326.8 kB / 0.8135 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/0.9171, allocations: 100.2 kB / 0.8136 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.918, allocations: 150.3 kB / 0.8138 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.9189, allocations: 158.2 kB / 0.8139 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.9189, allocations: 0 / 0.8139 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002432/0.9214, allocations: 411.1 kB / 0.8143 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.9216, allocations: 71.39 kB / 0.8144 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.9216, allocations: 0 / 0.8144 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.9217, allocations: 4 kB / 0.8144 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.9221, allocations: 27.91 kB / 0.8144 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.9221, allocations: 4.188 kB / 0.8144 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000953/0.9231, allocations: 55.81 kB / 0.8145 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.9233, allocations: 39.98 kB / 0.8145 GB, free: 7.664 MB / 0.6355 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.0005202/0.9239, allocations: 163.9 kB / 0.8146 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.924, allocations: 27.72 kB / 0.8147 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.9242, allocations: 25.86 kB / 0.8147 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.9242, allocations: 4 kB / 0.8147 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.505e-06/0.9242, allocations: 0 / 0.8147 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.784e-06/0.9243, allocations: 0 / 0.8147 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.9264, allocations: 0.5294 MB / 0.8152 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9265, allocations: 4 kB / 0.8152 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.9266, allocations: 7.984 kB / 0.8152 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-06/0.9266, allocations: 0 / 0.8152 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.9267, allocations: 19.98 kB / 0.8152 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.198e-06/0.9268, allocations: 0 / 0.8152 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.699e-06/0.9268, allocations: 3.938 kB / 0.8153 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.928, allocations: 313.2 kB / 0.8156 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.9285, allocations: 136.8 kB / 0.8157 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.9286, allocations: 8 kB / 0.8157 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.9291, allocations: 7.984 kB / 0.8157 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.9293, allocations: 15.98 kB / 0.8157 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.9294, allocations: 31.97 kB / 0.8157 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004187/0.9299, allocations: 161.6 kB / 0.8159 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.055e-06/0.9299, allocations: 0 / 0.8159 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001093/0.931, allocations: 48 kB / 0.8159 GB, free: 6.082 MB / 0.6355 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.0003409/0.9314, allocations: 128.3 kB / 0.8161 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.9331, allocations: 351 kB / 0.8164 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.104e-06/0.9332, allocations: 0 / 0.8164 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.9336, allocations: 71.89 kB / 0.8165 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.9342, allocations: 26.06 kB / 0.8165 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.9358, allocations: 367.8 kB / 0.8168 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.9366, allocations: 0.7321 MB / 0.8176 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003721/0.937, allocations: 29.09 kB / 0.8176 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.9373, allocations: 31.41 kB / 0.8176 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of SimCode: time 2.205e-06/0.9374, allocations: 0 / 0.8176 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of Templates: time 0.01995/0.9573, allocations: 3.935 MB / 0.8215 GB, free: 376 kB / 0.6355 GB