Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.165/2.165, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.00158, allocations: 186.2 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.567/2.567, allocations: 205.4 MB / 0.5766 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 97.16 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 15.56 kB / 0.7952 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.4508, allocations: 133.7 MB / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.4512, allocations: 75.95 kB / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.4762, allocations: 5.219 MB / 1.035 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4763, allocations: 0 / 1.035 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.4763, allocations: 4 kB / 1.035 GB, free: 6.676 MB / 0.6823 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.001373/0.4777, allocations: 0.6496 MB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4777, allocations: 8.031 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.4779, allocations: 39.58 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.4784, allocations: 271.2 kB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.4785, allocations: 15.98 kB / 1.036 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4786, allocations: 20 kB / 1.036 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.4791, allocations: 167.5 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4791, allocations: 4 kB / 1.036 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.4792, allocations: 3.984 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4792, allocations: 4 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.4795, allocations: 59.97 kB / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.4813, allocations: 0.5902 MB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.4818, allocations: 134.6 kB / 1.037 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.4818, allocations: 0 / 1.037 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.4825, allocations: 238.5 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.555e-06/0.4825, allocations: 0 / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001202/0.4838, allocations: 281 kB / 1.037 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.4838, allocations: 63.39 kB / 1.037 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.4844, allocations: 283.6 kB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.4845, allocations: 37.7 kB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4846, allocations: 101.1 kB / 1.038 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.4847, allocations: 47.44 kB / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.4848, allocations: 8 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.485, allocations: 322.8 kB / 1.038 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.4855, allocations: 120.2 kB / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.487, allocations: 170.4 kB / 1.038 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.488, allocations: 179.5 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.488, allocations: 0 / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001578/0.4896, allocations: 451 kB / 1.039 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.4897, allocations: 80.98 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4898, allocations: 4 kB / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4898, allocations: 0 / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4901, allocations: 31.92 kB / 1.039 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4901, allocations: 3.984 kB / 1.039 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.4908, allocations: 39.89 kB / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4909, allocations: 59.92 kB / 1.039 GB, free: 1.965 MB / 0.6823 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.0004022/0.4913, allocations: 193.7 kB / 1.039 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.4914, allocations: 27.62 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.4915, allocations: 34.34 kB / 1.039 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4915, allocations: 4 kB / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4916, allocations: 0 / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4916, allocations: 4 kB / 1.039 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.4929, allocations: 0.5997 MB / 1.04 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4929, allocations: 0 / 1.04 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.493, allocations: 7.984 kB / 1.04 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.493, allocations: 4 kB / 1.04 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.493, allocations: 7.984 kB / 1.04 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.493, allocations: 4 kB / 1.04 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.4931, allocations: 3.953 kB / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.4938, allocations: 332.5 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.4942, allocations: 180.7 kB / 1.04 GB, free: 484 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.4943, allocations: 12 kB / 1.04 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.4946, allocations: 15.98 kB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.4947, allocations: 15.92 kB / 1.04 GB, free: 440 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.4948, allocations: 35.92 kB / 1.04 GB, free: 404 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003535/0.4951, allocations: 227 kB / 1.041 GB, free: 176 kB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4951, allocations: 0 / 1.041 GB, free: 176 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006168/0.4958, allocations: 55.94 kB / 1.041 GB, free: 120 kB / 0.6823 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.0002671/0.496, allocations: 140.8 kB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.4971, allocations: 379.7 kB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4972, allocations: 0 / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.4974, allocations: 75.91 kB / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4978, allocations: 28.62 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.499, allocations: 486.2 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.4995, allocations: 0.7672 MB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00025/0.4998, allocations: 33.42 kB / 1.043 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.5, allocations: 43.42 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/0.5, allocations: 0 / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of Templates: time 0.01357/0.5136, allocations: 4.753 MB / 1.047 GB, free: 9.387 MB / 0.698 GB