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.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.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.1-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 293 MB / 309 MB, free: 4.816 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.0009694/0.0009694, allocations: 176.5 kB / 378.7 MB, free: 1.008 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.419/1.419, allocations: 205.4 MB / 0.6383 GB, free: 8.125 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.0007941/0.0007942, allocations: 95.14 kB / 0.7527 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.0005347, allocations: 8 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2589, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6996/0.9586, allocations: 140.9 MB / 1.128 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.9588, allocations: 70.55 kB / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01197/0.9708, allocations: 4.46 MB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.185e-06/0.9709, allocations: 0 / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.9709, allocations: 4 kB / 1.132 GB, free: 30.14 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.0009716/0.9719, allocations: 0.6256 MB / 1.133 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.9719, allocations: 8.031 kB / 1.133 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.9721, allocations: 36.12 kB / 1.133 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.9725, allocations: 259.4 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.9725, allocations: 15.75 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.9726, allocations: 20.38 kB / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.9729, allocations: 143.9 kB / 1.134 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9729, allocations: 4.188 kB / 1.134 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.9729, allocations: 7.938 kB / 1.134 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.9729, allocations: 0 / 1.134 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.9731, allocations: 51.3 kB / 1.134 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.9735, allocations: 325.8 kB / 1.134 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.9737, allocations: 121.6 kB / 1.134 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.9738, allocations: 60.78 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.9739, allocations: 4.656 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/0.9743, allocations: 221.1 kB / 1.134 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.9743, allocations: 0 / 1.134 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005637/0.9749, allocations: 273.9 kB / 1.135 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.9749, allocations: 65.3 kB / 1.135 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.9752, allocations: 287.7 kB / 1.135 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.9753, allocations: 35.11 kB / 1.135 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.9754, allocations: 90.92 kB / 1.135 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.9754, allocations: 43.97 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.9755, allocations: 8.609 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.9755, allocations: 326.3 kB / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.9758, allocations: 104.5 kB / 1.136 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.9761, allocations: 150.5 kB / 1.136 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.9764, allocations: 243.2 kB / 1.136 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9764, allocations: 0 / 1.136 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007352/0.9772, allocations: 431.5 kB / 1.136 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.9773, allocations: 79.2 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9773, allocations: 4 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.9773, allocations: 0.7969 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.9775, allocations: 41.86 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9775, allocations: 0.6562 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.9778, allocations: 43.36 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.9779, allocations: 55.69 kB / 1.137 GB, free: 26.17 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (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.000208/0.9781, allocations: 182.1 kB / 1.137 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.9782, allocations: 24.75 kB / 1.137 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.9783, allocations: 29.73 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.9783, allocations: 9.312 kB / 1.137 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9783, allocations: 0 / 1.137 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9783, allocations: 1.312 kB / 1.137 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.979, allocations: 0.5568 MB / 1.137 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.9791, allocations: 3.938 kB / 1.137 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.9791, allocations: 10.69 kB / 1.137 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9791, allocations: 0.5625 kB / 1.137 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.9792, allocations: 9.016 kB / 1.137 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9792, allocations: 8.641 kB / 1.137 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9792, allocations: 0 / 1.137 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.9796, allocations: 316.4 kB / 1.138 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.9797, allocations: 164.2 kB / 1.138 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.9798, allocations: 11.31 kB / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.98, allocations: 6.062 kB / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.98, allocations: 18.56 kB / 1.138 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.9801, allocations: 29.75 kB / 1.138 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001981/0.9803, allocations: 209.1 kB / 1.138 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9803, allocations: 0 / 1.138 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000353/0.9806, allocations: 57.31 kB / 1.138 GB, free: 24.64 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001543/0.9808, allocations: 121.1 kB / 1.138 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000592/0.9814, allocations: 357.5 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9814, allocations: 0 / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.9816, allocations: 72.38 kB / 1.139 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.9819, allocations: 25.7 kB / 1.139 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.9827, allocations: 448.1 kB / 1.139 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.9829, allocations: 0.7473 MB / 1.14 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.9831, allocations: 33.41 kB / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.9832, allocations: 35.8 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of SimCode: time 4.3e-07/0.9832, allocations: 0 / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.009974/0.9932, allocations: 4.326 MB / 1.144 GB, free: 20.38 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)