Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 189 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 0.6367 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008098/0.0008097, allocations: 95.06 kB / 0.751 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003309, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.277, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7387/1.016, allocations: 141.8 MB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.016, allocations: 70.64 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01419/1.03, allocations: 5.294 MB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.278e-06/1.03, allocations: 0 / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.03, allocations: 11.88 kB / 1.132 GB, free: 29.68 MB / 0.7292 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.0008505/1.031, allocations: 0.6882 MB / 1.133 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.031, allocations: 12.02 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/1.031, allocations: 35.42 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/1.032, allocations: 274.2 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/1.032, allocations: 20.8 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/1.032, allocations: 21.64 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/1.033, allocations: 236.4 kB / 1.133 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.033, allocations: 0.5625 kB / 1.133 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/1.033, allocations: 4.75 kB / 1.133 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.033, allocations: 4.75 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/1.034, allocations: 119.2 kB / 1.134 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/1.035, allocations: 0.6069 MB / 1.134 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.036, allocations: 192.7 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/1.036, allocations: 0.8438 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/1.037, allocations: 229.3 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/1.037, allocations: 0 / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002387/1.039, allocations: 497.1 kB / 1.135 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/1.039, allocations: 57.38 kB / 1.135 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/1.04, allocations: 284.6 kB / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/1.04, allocations: 43.3 kB / 1.135 GB, free: 26.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/1.04, allocations: 99.06 kB / 1.135 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/1.04, allocations: 38.88 kB / 1.135 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/1.04, allocations: 8.797 kB / 1.135 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/1.04, allocations: 330.7 kB / 1.136 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/1.04, allocations: 102.9 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/1.041, allocations: 168.9 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/1.041, allocations: 160.2 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.041, allocations: 4 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007101/1.042, allocations: 431.7 kB / 1.137 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.368e-05/1.042, allocations: 76.89 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.042, allocations: 0 / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.042, allocations: 4.562 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/1.042, allocations: 25.19 kB / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.042, allocations: 6.109 kB / 1.137 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/1.042, allocations: 46.3 kB / 1.137 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.907e-05/1.042, allocations: 44.77 kB / 1.137 GB, free: 25.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001979/1.043, allocations: 184.4 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/1.043, allocations: 37.12 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/1.043, allocations: 31.75 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.043, allocations: 0 / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.043, allocations: 0.6562 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.043, allocations: 0.7031 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/1.045, allocations: 0.7556 MB / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.045, allocations: 0 / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/1.045, allocations: 5.266 kB / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.045, allocations: 4.562 kB / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/1.045, allocations: 19.55 kB / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.045, allocations: 0 / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.045, allocations: 0.9375 kB / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/1.046, allocations: 480.9 kB / 1.138 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/1.047, allocations: 188.5 kB / 1.138 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/1.047, allocations: 14.27 kB / 1.138 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/1.047, allocations: 35.55 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/1.047, allocations: 15.97 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/1.047, allocations: 46.8 kB / 1.139 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002457/1.048, allocations: 224 kB / 1.139 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.048, allocations: 0 / 1.139 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003836/1.048, allocations: 57.36 kB / 1.139 GB, free: 23.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001984/1.048, allocations: 134.1 kB / 1.139 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.049, allocations: 429.9 kB / 1.139 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.049, allocations: 0 / 1.139 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007015/1.05, allocations: 137.6 kB / 1.14 GB, free: 22.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/1.05, allocations: 31.89 kB / 1.14 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/1.052, allocations: 0.5369 MB / 1.14 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/1.052, allocations: 0.7566 MB / 1.141 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.649e-05/1.052, allocations: 17.52 kB / 1.141 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/1.052, allocations: 20.36 kB / 1.141 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/1.052, allocations: 0.6562 kB / 1.141 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.008864/1.061, allocations: 4.331 MB / 1.145 GB, free: 18.84 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)