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.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.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.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.00114/0.00114, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.862/1.862, allocations: 205.2 MB / 0.626 GB, free: 7.109 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.0008515/0.0008513, allocations: 89.05 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.893e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.687, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.8684, allocations: 141.1 MB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.8686, allocations: 67.95 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.8838, allocations: 5.283 MB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8839, allocations: 0 / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.8839, allocations: 4 kB / 1.116 GB, free: 3.746 MB / 0.7136 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.0009792/0.8849, allocations: 0.6527 MB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.885, allocations: 8.031 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.8851, allocations: 39.62 kB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.8855, allocations: 272 kB / 1.117 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.8856, allocations: 11.98 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.8857, allocations: 16 kB / 1.117 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001649/0.8858, allocations: 59.92 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.8862, allocations: 161.5 kB / 1.118 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8862, allocations: 0 / 1.118 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.8862, allocations: 3.953 kB / 1.118 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.8862, allocations: 5.688 kB / 1.118 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.8875, allocations: 0.5635 MB / 1.118 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.8877, allocations: 114.5 kB / 1.118 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.8878, allocations: 56.84 kB / 1.118 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.8878, allocations: 8 kB / 1.118 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.8881, allocations: 165.4 kB / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.8881, allocations: 0 / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.00052/0.8886, allocations: 249.1 kB / 1.119 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.8887, allocations: 59.41 kB / 1.119 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.889, allocations: 273.1 kB / 1.119 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.8891, allocations: 29.7 kB / 1.119 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.8892, allocations: 109.3 kB / 1.119 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.8892, allocations: 35.59 kB / 1.119 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.8893, allocations: 4 kB / 1.119 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8894, allocations: 326.8 kB / 1.119 GB, free: 340 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.8896, allocations: 87.98 kB / 1.12 GB, free: 252 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.8899, allocations: 146 kB / 1.12 GB, free: 84 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.89, allocations: 81.95 kB / 1.12 GB, free: 4 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.89, allocations: 3.375 kB / 1.12 GB, free: 4 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006353/0.8907, allocations: 321.5 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.368e-05/0.8908, allocations: 79.39 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8908, allocations: 4 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.8908, allocations: 7.953 kB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.891, allocations: 27.84 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.891, allocations: 6.188 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.8913, allocations: 38.58 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.8914, allocations: 43.98 kB / 1.12 GB, free: 15.47 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 () * 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.0001371/0.8916, allocations: 132 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.8916, allocations: 23.72 kB / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.527e-05/0.8917, allocations: 30.14 kB / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8917, allocations: 0 / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8917, allocations: 3.953 kB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.8917, allocations: 0 / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.8925, allocations: 0.6095 MB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8925, allocations: 0 / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.8925, allocations: 4 kB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8925, allocations: 0 / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.8926, allocations: 19.92 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.8926, allocations: 7.938 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8926, allocations: 0 / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.893, allocations: 347 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.8932, allocations: 188.6 kB / 1.122 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.8933, allocations: 20 kB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.8937, allocations: 31.92 kB / 1.122 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.8937, allocations: 11.98 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.8938, allocations: 45.66 kB / 1.122 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001883/0.894, allocations: 212.6 kB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.894, allocations: 0 / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003265/0.8943, allocations: 55.98 kB / 1.122 GB, free: 13.67 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) * 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.000208/0.8945, allocations: 131.4 kB / 1.122 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.895, allocations: 339.6 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.895, allocations: 0 / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.8951, allocations: 71.92 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.8954, allocations: 22.34 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.896, allocations: 315 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.8963, allocations: 0.7526 MB / 1.124 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.257e-05/0.8964, allocations: 17.2 kB / 1.124 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.8964, allocations: 19.42 kB / 1.124 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8965, allocations: 0 / 1.124 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.007175/0.9036, allocations: 4.136 MB / 1.128 GB, free: 7.887 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)