Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.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.686/1.686, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001881/0.001882, allocations: 189 kB / 377.1 MB, free: 1.543 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.783/1.783, allocations: 205.4 MB / 0.6367 GB, free: 8.586 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.0008944/0.0008946, allocations: 94.25 kB / 0.751 GB, free: 63.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2839, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7482/1.032, allocations: 141.7 MB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.032, allocations: 74.36 kB / 1.127 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01272/1.045, allocations: 4.557 MB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/1.045, allocations: 0 / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.43e-05/1.045, allocations: 4 kB / 1.131 GB, free: 30.38 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007417/1.046, allocations: 0.6692 MB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.046, allocations: 12.03 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/1.046, allocations: 31.83 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/1.046, allocations: 250.2 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/1.047, allocations: 15.38 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/1.047, allocations: 20 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/1.047, allocations: 215.4 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/1.047, allocations: 0 / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/1.047, allocations: 4 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.047, allocations: 0.5625 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/1.048, allocations: 109.6 kB / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/1.049, allocations: 331.9 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009351/1.049, allocations: 180.8 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/1.05, allocations: 4.562 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008275/1.05, allocations: 226.5 kB / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.013e-06/1.05, allocations: 0.5625 kB / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002294/1.053, allocations: 481.1 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/1.053, allocations: 60.95 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/1.053, allocations: 256.8 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/1.053, allocations: 38.92 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/1.053, allocations: 91.16 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/1.053, allocations: 47.09 kB / 1.134 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/1.053, allocations: 8.562 kB / 1.134 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.325e-05/1.053, allocations: 322.6 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/1.053, allocations: 90.77 kB / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/1.054, allocations: 151.9 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/1.054, allocations: 153.7 kB / 1.135 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.054, allocations: 0.6562 kB / 1.135 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006484/1.055, allocations: 396.7 kB / 1.135 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/1.055, allocations: 72.42 kB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.055, allocations: 9.141 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.055, allocations: 7.953 kB / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.055, allocations: 20.97 kB / 1.135 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.055, allocations: 4.656 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/1.055, allocations: 51.75 kB / 1.135 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/1.055, allocations: 39.98 kB / 1.135 GB, free: 26.32 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001724/1.055, allocations: 165.2 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/1.056, allocations: 24.89 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/1.056, allocations: 29.97 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.056, allocations: 0 / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.056, allocations: 5.688 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.056, allocations: 8.562 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/1.058, allocations: 0.7071 MB / 1.136 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.058, allocations: 0 / 1.136 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/1.058, allocations: 5.844 kB / 1.136 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.058, allocations: 3.953 kB / 1.136 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/1.058, allocations: 19.5 kB / 1.136 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.058, allocations: 4.688 kB / 1.136 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.058, allocations: 5 kB / 1.136 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/1.059, allocations: 463.1 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.059, allocations: 165.7 kB / 1.137 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/1.059, allocations: 13.27 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/1.06, allocations: 40.34 kB / 1.137 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/1.06, allocations: 6.812 kB / 1.137 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/1.06, allocations: 42.89 kB / 1.137 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001685/1.06, allocations: 205.4 kB / 1.137 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.06, allocations: 0 / 1.137 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003219/1.061, allocations: 54.2 kB / 1.137 GB, free: 24.55 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001432/1.061, allocations: 118.7 kB / 1.137 GB, free: 24.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.062, allocations: 398.9 kB / 1.138 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.062, allocations: 384 / 1.138 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/1.062, allocations: 130.1 kB / 1.138 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/1.063, allocations: 19.94 kB / 1.138 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/1.064, allocations: 0.4919 MB / 1.138 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/1.064, allocations: 0.7483 MB / 1.139 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.361e-05/1.064, allocations: 16.97 kB / 1.139 GB, free: 22.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/1.064, allocations: 13.08 kB / 1.139 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/1.064, allocations: 0 / 1.139 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.007395/1.072, allocations: 3.921 MB / 1.143 GB, free: 20.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)