Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 293 MB / 309 MB, free: 4.785 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.001048/0.001048, allocations: 171.9 kB / 378.7 MB, free: 1.02 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.505/1.505, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0007318/0.000732, allocations: 95.64 kB / 0.7527 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2538, allocations: 116.4 MB / 0.9905 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6999/0.9538, allocations: 141.1 MB / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.9541, allocations: 71.77 kB / 1.128 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.9667, allocations: 5.207 MB / 1.133 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9667, allocations: 0 / 1.133 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9667, allocations: 4 kB / 1.133 GB, free: 29.47 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.0007462/0.9675, allocations: 0.6427 MB / 1.134 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9675, allocations: 12.53 kB / 1.134 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.9676, allocations: 37.83 kB / 1.134 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.9679, allocations: 282 kB / 1.134 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.9679, allocations: 18.31 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.968, allocations: 18.11 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.9683, allocations: 170.9 kB / 1.135 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.9683, allocations: 192 / 1.135 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.9684, allocations: 13.64 kB / 1.135 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9684, allocations: 4 kB / 1.135 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.9685, allocations: 60.62 kB / 1.135 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.9696, allocations: 0.5866 MB / 1.135 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.9698, allocations: 145.1 kB / 1.135 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.97, allocations: 66.38 kB / 1.135 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.97, allocations: 4.75 kB / 1.135 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004357/0.9704, allocations: 226.8 kB / 1.136 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.9704, allocations: 0 / 1.136 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005975/0.9711, allocations: 281.1 kB / 1.136 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.9711, allocations: 56.72 kB / 1.136 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.9715, allocations: 316.1 kB / 1.136 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.9715, allocations: 43.06 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.9716, allocations: 100.6 kB / 1.136 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.9717, allocations: 43.86 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.9717, allocations: 8 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.9718, allocations: 330.9 kB / 1.137 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.9721, allocations: 124.8 kB / 1.137 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.9724, allocations: 174.4 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.9727, allocations: 259 kB / 1.137 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9727, allocations: 0 / 1.137 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007523/0.9735, allocations: 458 kB / 1.138 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.9736, allocations: 81.45 kB / 1.138 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9736, allocations: 0 / 1.138 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.9736, allocations: 4 kB / 1.138 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.9738, allocations: 30.5 kB / 1.138 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.9738, allocations: 5.109 kB / 1.138 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.9741, allocations: 43.78 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.9742, allocations: 57.02 kB / 1.138 GB, free: 25.05 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: 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.00019/0.9744, allocations: 193.2 kB / 1.138 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.9744, allocations: 28.14 kB / 1.138 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.9745, allocations: 31.53 kB / 1.138 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9745, allocations: 4 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.9745, allocations: 1.281 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.9745, allocations: 1.875 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.9752, allocations: 0.5995 MB / 1.139 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9752, allocations: 4 kB / 1.139 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.9753, allocations: 10.86 kB / 1.139 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9753, allocations: 0 / 1.139 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.9753, allocations: 13.02 kB / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9753, allocations: 5.719 kB / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9753, allocations: 0 / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.9757, allocations: 327.5 kB / 1.139 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.9759, allocations: 190.8 kB / 1.139 GB, free: 23.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.976, allocations: 14.22 kB / 1.139 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.9761, allocations: 9.922 kB / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.9762, allocations: 27.19 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.9762, allocations: 28.64 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002312/0.9765, allocations: 227.3 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9765, allocations: 0 / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003725/0.9769, allocations: 57.92 kB / 1.14 GB, free: 23.41 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: 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.0001755/0.977, allocations: 127 kB / 1.14 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005803/0.9776, allocations: 375.5 kB / 1.14 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9777, allocations: 4 kB / 1.14 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.9778, allocations: 78.8 kB / 1.14 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.9782, allocations: 28.81 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.9789, allocations: 0.4948 MB / 1.141 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.9791, allocations: 0.7537 MB / 1.142 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.9792, allocations: 35.62 kB / 1.142 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.9793, allocations: 44.45 kB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.9793, allocations: 0 / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.01012/0.9895, allocations: 4.776 MB / 1.146 GB, free: 18.78 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)