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.598/1.598, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.0009864/0.0009864, allocations: 180.9 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.446/1.446, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009045/0.0009046, allocations: 88.42 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.806e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.677, allocations: 116.3 MB / 0.9732 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.8651, allocations: 140.9 MB / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.8654, allocations: 75.94 kB / 1.111 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.8792, allocations: 4.531 MB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.272e-06/0.8792, allocations: 4 kB / 1.115 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.8793, allocations: 0 / 1.115 GB, free: 4.695 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007975/0.8801, allocations: 0.625 MB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.8801, allocations: 12.03 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.8802, allocations: 31.66 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.8806, allocations: 250.5 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.8807, allocations: 11.98 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.8807, allocations: 20 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001372/0.8809, allocations: 43.97 kB / 1.116 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.8812, allocations: 147.7 kB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8812, allocations: 0 / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.8812, allocations: 3.984 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.8812, allocations: 4 kB / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.8816, allocations: 305.9 kB / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.8818, allocations: 106.5 kB / 1.117 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.8819, allocations: 56.84 kB / 1.117 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.8819, allocations: 0 / 1.117 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.8822, allocations: 159.3 kB / 1.117 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.8822, allocations: 3.938 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004681/0.8827, allocations: 242.1 kB / 1.117 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.8827, allocations: 59.41 kB / 1.117 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.883, allocations: 238.3 kB / 1.118 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.883, allocations: 41.69 kB / 1.118 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.8831, allocations: 89.45 kB / 1.118 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.8832, allocations: 27.61 kB / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.8832, allocations: 5.219 kB / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8833, allocations: 326.8 kB / 1.118 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.8835, allocations: 71.98 kB / 1.118 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.8837, allocations: 130 kB / 1.118 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.8838, allocations: 75.83 kB / 1.118 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8838, allocations: 3.953 kB / 1.118 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005105/0.8844, allocations: 303.2 kB / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.8844, allocations: 71.39 kB / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8845, allocations: 4 kB / 1.119 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.8845, allocations: 4 kB / 1.119 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.8846, allocations: 27.92 kB / 1.119 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.8847, allocations: 7.938 kB / 1.119 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.885, allocations: 38.45 kB / 1.119 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/0.8851, allocations: 50.97 kB / 1.119 GB, free: 0.8945 MB / 0.7136 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 () * 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.0001354/0.8852, allocations: 111.2 kB / 1.119 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.8853, allocations: 23.72 kB / 1.119 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.8853, allocations: 34.02 kB / 1.119 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8854, allocations: 0 / 1.119 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.8854, allocations: 7.953 kB / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.8854, allocations: 7.984 kB / 1.119 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.8861, allocations: 0.5555 MB / 1.12 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8862, allocations: 0 / 1.12 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.8862, allocations: 7.984 kB / 1.12 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.8862, allocations: 3.938 kB / 1.12 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.8862, allocations: 23.97 kB / 1.12 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8863, allocations: 3.953 kB / 1.12 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8863, allocations: 0 / 1.12 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.8867, allocations: 335.1 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.8868, allocations: 164.6 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.8869, allocations: 8 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.8873, allocations: 31.97 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.8874, allocations: 11.94 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.8874, allocations: 46.41 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001588/0.8876, allocations: 198 kB / 1.12 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8876, allocations: 0 / 1.12 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003043/0.8879, allocations: 47.98 kB / 1.12 GB, free: 15.21 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) * 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.0001629/0.8881, allocations: 115.9 kB / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.8885, allocations: 320.2 kB / 1.121 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8885, allocations: 0 / 1.121 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/0.8886, allocations: 60.3 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.8889, allocations: 25.86 kB / 1.121 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.8894, allocations: 265.9 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.8897, allocations: 0.7494 MB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.065e-05/0.8898, allocations: 15.86 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.8898, allocations: 23.42 kB / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8898, allocations: 0 / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.006204/0.896, allocations: 3.744 MB / 1.126 GB, free: 9.895 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)