Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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.642/1.642, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001512/0.001512, allocations: 177 kB / 377.1 MB, free: 1.531 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.553/1.553, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.0009777/0.0009775, allocations: 105.4 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 16 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2895, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8255/1.115, allocations: 141.9 MB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.115, allocations: 73.05 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01555/1.131, allocations: 5.306 MB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.131, allocations: 224 / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.131, allocations: 4 kB / 1.132 GB, free: 29.67 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008845/1.132, allocations: 0.6916 MB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.132, allocations: 20.62 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/1.132, allocations: 30.44 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/1.133, allocations: 277.3 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/1.133, allocations: 21.27 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/1.133, allocations: 17.08 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009924/1.134, allocations: 234.2 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.134, allocations: 4 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/1.134, allocations: 1.359 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.134, allocations: 0.9844 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/1.135, allocations: 126.9 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/1.136, allocations: 0.5989 MB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.137, allocations: 194.6 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/1.137, allocations: 4.75 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/1.138, allocations: 229.5 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/1.138, allocations: 0 / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002465/1.141, allocations: 498.6 kB / 1.135 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.141, allocations: 57.42 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/1.141, allocations: 284.8 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/1.141, allocations: 34.5 kB / 1.135 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/1.141, allocations: 103.7 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/1.141, allocations: 34.45 kB / 1.136 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/1.141, allocations: 9.641 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.141, allocations: 330.9 kB / 1.136 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/1.142, allocations: 106.9 kB / 1.136 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/1.142, allocations: 167.2 kB / 1.136 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/1.142, allocations: 162.6 kB / 1.136 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.142, allocations: 4 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007556/1.143, allocations: 426.5 kB / 1.137 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/1.143, allocations: 77.12 kB / 1.137 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.143, allocations: 4 kB / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.143, allocations: 0 / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/1.143, allocations: 29.55 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.143, allocations: 4.75 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/1.144, allocations: 51.38 kB / 1.137 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/1.144, allocations: 40.58 kB / 1.137 GB, free: 25.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: 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 () * 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.0002336/1.144, allocations: 184.3 kB / 1.137 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/1.144, allocations: 32.19 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/1.144, allocations: 30.78 kB / 1.137 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.144, allocations: 6.016 kB / 1.137 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.144, allocations: 5.938 kB / 1.137 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.144, allocations: 0.7969 kB / 1.137 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/1.146, allocations: 0.7533 MB / 1.138 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.146, allocations: 0.75 kB / 1.138 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/1.146, allocations: 4.703 kB / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.146, allocations: 0.75 kB / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/1.147, allocations: 23.34 kB / 1.138 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.147, allocations: 0 / 1.138 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.147, allocations: 4 kB / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/1.148, allocations: 473.3 kB / 1.138 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.148, allocations: 188.8 kB / 1.139 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/1.148, allocations: 17.56 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/1.149, allocations: 39.88 kB / 1.139 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/1.149, allocations: 7.891 kB / 1.139 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/1.149, allocations: 46.08 kB / 1.139 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002215/1.149, allocations: 223.9 kB / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.149, allocations: 0 / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003982/1.15, allocations: 58.02 kB / 1.139 GB, free: 23.29 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) * 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.0002994/1.15, allocations: 137.4 kB / 1.139 GB, free: 23.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.152, allocations: 429.8 kB / 1.139 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.152, allocations: 4.062 kB / 1.139 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.153, allocations: 129.1 kB / 1.14 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/1.153, allocations: 36.88 kB / 1.14 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.155, allocations: 0.5298 MB / 1.14 GB, free: 22.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/1.156, allocations: 0.7613 MB / 1.141 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001085/1.156, allocations: 14.92 kB / 1.141 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/1.156, allocations: 16.89 kB / 1.141 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/1.156, allocations: 0 / 1.141 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.01392/1.17, allocations: 4.339 MB / 1.145 GB, free: 18.84 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)