Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 179.2 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.0008801, allocations: 80.95 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003864, allocations: 13.62 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 106.3 MB / 0.9013 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.3505, allocations: 133.9 MB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.3507, allocations: 79.95 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01395/0.3647, allocations: 5.227 MB / 1.037 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3647, allocations: 0 / 1.037 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.3648, allocations: 4 kB / 1.037 GB, free: 4.23 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.0009462/0.3657, allocations: 0.6461 MB / 1.038 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3658, allocations: 8.031 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3659, allocations: 36.56 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.3662, allocations: 288.2 kB / 1.038 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3663, allocations: 12.38 kB / 1.038 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.3663, allocations: 20.38 kB / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.3666, allocations: 175 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3666, allocations: 192 / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3667, allocations: 7.938 kB / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3667, allocations: 4 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.3668, allocations: 59.91 kB / 1.038 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3679, allocations: 0.5901 MB / 1.039 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3681, allocations: 134.7 kB / 1.039 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3683, allocations: 60.83 kB / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3683, allocations: 4 kB / 1.039 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/0.3687, allocations: 228 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.3687, allocations: 4 kB / 1.039 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005427/0.3693, allocations: 279.8 kB / 1.04 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3693, allocations: 71.38 kB / 1.04 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.3696, allocations: 308.5 kB / 1.04 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.3697, allocations: 37.7 kB / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.3698, allocations: 105 kB / 1.04 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3698, allocations: 43.39 kB / 1.04 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.3699, allocations: 8 kB / 1.04 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.37, allocations: 330.8 kB / 1.041 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.3703, allocations: 120.2 kB / 1.041 GB, free: 464 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.3706, allocations: 174.3 kB / 1.041 GB, free: 268 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3709, allocations: 260.4 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.371, allocations: 0 / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007644/0.3717, allocations: 460.5 kB / 1.042 GB, free: 15.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.3718, allocations: 83.56 kB / 1.042 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3718, allocations: 4 kB / 1.042 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3718, allocations: 0 / 1.042 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.372, allocations: 27.98 kB / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.372, allocations: 3.938 kB / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.3723, allocations: 51.81 kB / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.3724, allocations: 47.98 kB / 1.042 GB, free: 15.28 MB / 0.698 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.0001908/0.3726, allocations: 197.7 kB / 1.042 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.3727, allocations: 27.66 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.3727, allocations: 30.36 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3727, allocations: 0 / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3728, allocations: 0 / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3728, allocations: 3.984 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.3735, allocations: 0.5997 MB / 1.043 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3735, allocations: 4 kB / 1.043 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.3736, allocations: 7.938 kB / 1.043 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3736, allocations: 4 kB / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.3736, allocations: 19.91 kB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3736, allocations: 0 / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3736, allocations: 4 kB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.374, allocations: 325.4 kB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.3742, allocations: 192.5 kB / 1.043 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.3743, allocations: 11.98 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3745, allocations: 12 kB / 1.043 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3745, allocations: 19.91 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.3746, allocations: 31.98 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001968/0.3748, allocations: 223 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3748, allocations: 0 / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000331/0.3751, allocations: 59.98 kB / 1.043 GB, free: 13.43 MB / 0.698 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.0001806/0.3753, allocations: 141.2 kB / 1.044 GB, free: 13.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006083/0.3759, allocations: 378.5 kB / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3759, allocations: 0 / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3761, allocations: 69.53 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3764, allocations: 36.66 kB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.3772, allocations: 492.4 kB / 1.045 GB, free: 12.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3775, allocations: 0.7556 MB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.3777, allocations: 37.42 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3778, allocations: 39.36 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.3778, allocations: 0 / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of Templates: time 0.008296/0.3861, allocations: 4.778 MB / 1.05 GB, free: 6.688 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)