Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001092/0.001092, allocations: 185 kB / 377.1 MB, free: 1.504 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.748/1.748, 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.0008319/0.000832, allocations: 90.28 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2973, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7431/1.04, allocations: 141.7 MB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.041, allocations: 70.27 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01321/1.054, allocations: 4.56 MB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/1.054, allocations: 0 / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.054, allocations: 4 kB / 1.131 GB, free: 30.27 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.0007654/1.055, allocations: 0.6662 MB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.055, allocations: 12.03 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/1.055, allocations: 31.58 kB / 1.132 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/1.055, allocations: 255.9 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/1.055, allocations: 16 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/1.055, allocations: 23.56 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/1.056, allocations: 207.7 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.056, allocations: 0 / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/1.056, allocations: 8 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/1.056, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/1.057, allocations: 108.9 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/1.058, allocations: 330 kB / 1.133 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.059, allocations: 185 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/1.059, allocations: 1.594 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009149/1.06, allocations: 224.5 kB / 1.133 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 4.449e-06/1.06, allocations: 3 kB / 1.133 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002454/1.062, allocations: 482.6 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.062, allocations: 61.33 kB / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/1.063, allocations: 253.2 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.063, allocations: 42.27 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/1.063, allocations: 86.88 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/1.063, allocations: 46.67 kB / 1.134 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/1.063, allocations: 8.562 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/1.063, allocations: 326.5 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/1.063, allocations: 94.89 kB / 1.135 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.063, allocations: 143.8 kB / 1.135 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/1.064, allocations: 157.5 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.064, allocations: 0 / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00069/1.064, allocations: 400 kB / 1.135 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/1.064, allocations: 72.98 kB / 1.135 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.064, allocations: 0 / 1.135 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.065, allocations: 9.125 kB / 1.135 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.065, allocations: 22.42 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.065, allocations: 8.125 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.065, allocations: 47.02 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/1.065, allocations: 40.31 kB / 1.135 GB, free: 26.21 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.0002153/1.065, allocations: 165.7 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/1.065, allocations: 24.89 kB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/1.065, allocations: 30.44 kB / 1.136 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.066, allocations: 8.562 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.066, allocations: 0 / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.066, allocations: 4.547 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/1.068, allocations: 0.7034 MB / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.068, allocations: 0 / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/1.068, allocations: 5.406 kB / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.068, allocations: 16.73 kB / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/1.068, allocations: 14.98 kB / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.068, allocations: 1.422 kB / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.068, allocations: 0 / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/1.069, allocations: 461 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/1.07, allocations: 165.6 kB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/1.07, allocations: 17.27 kB / 1.137 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/1.07, allocations: 35.88 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/1.07, allocations: 9.016 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/1.07, allocations: 44.38 kB / 1.137 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001948/1.07, allocations: 204.7 kB / 1.137 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.07, allocations: 0 / 1.137 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004369/1.071, allocations: 57.97 kB / 1.137 GB, free: 24.44 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.0001579/1.071, allocations: 120.9 kB / 1.137 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.072, allocations: 400.5 kB / 1.138 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.072, allocations: 0 / 1.138 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/1.073, allocations: 125.4 kB / 1.138 GB, free: 23.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/1.073, allocations: 24.45 kB / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/1.075, allocations: 497.5 kB / 1.138 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.075, allocations: 0.7458 MB / 1.139 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.073e-05/1.075, allocations: 16.36 kB / 1.139 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/1.075, allocations: 13.45 kB / 1.139 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/1.075, allocations: 0 / 1.139 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.00808/1.083, allocations: 3.918 MB / 1.143 GB, free: 20.36 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)