Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.609/1.609, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001125/0.001125, allocations: 184.9 kB / 361.4 MB, free: 6.844 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.644/1.644, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001007/0.001007, allocations: 95.25 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.959e-05, allocations: 8 kB / 0.8518 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7465, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.9543, allocations: 139.3 MB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.9545, allocations: 69.27 kB / 1.101 GB, free: 420 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01458/0.9691, allocations: 5.167 MB / 1.106 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9692, allocations: 3.938 kB / 1.106 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.9692, allocations: 8 kB / 1.106 GB, free: 11.32 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000961/0.9702, allocations: 0.5986 MB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.9702, allocations: 8.031 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.9703, allocations: 40.66 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.9707, allocations: 272 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.9708, allocations: 4 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.9708, allocations: 15.98 kB / 1.107 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001413/0.971, allocations: 59.98 kB / 1.107 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.9712, allocations: 154.6 kB / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9713, allocations: 0 / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.9713, allocations: 3.953 kB / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.9713, allocations: 4 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.9724, allocations: 0.5556 MB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.9726, allocations: 133.4 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.431e-05/0.9727, allocations: 52.84 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.9727, allocations: 4 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.9731, allocations: 221.4 kB / 1.108 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.9731, allocations: 0 / 1.108 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004316/0.9736, allocations: 221.1 kB / 1.108 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.9736, allocations: 67.39 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.9739, allocations: 261.1 kB / 1.108 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.974, allocations: 37.7 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.9741, allocations: 105.3 kB / 1.108 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.9741, allocations: 39.45 kB / 1.108 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.9742, allocations: 4 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9743, allocations: 326.8 kB / 1.109 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.9745, allocations: 104.2 kB / 1.109 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.9747, allocations: 158.2 kB / 1.109 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.9749, allocations: 84.69 kB / 1.109 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9749, allocations: 0 / 1.109 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005757/0.9755, allocations: 346.3 kB / 1.109 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.9756, allocations: 76.64 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.9756, allocations: 0 / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.9756, allocations: 4 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.9758, allocations: 31.91 kB / 1.109 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.9758, allocations: 5.5 kB / 1.109 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.9761, allocations: 48 kB / 1.109 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.813e-05/0.9762, allocations: 51.98 kB / 1.11 GB, free: 7.023 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: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 () * 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.0001421/0.9764, allocations: 128 kB / 1.11 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.9764, allocations: 27.67 kB / 1.11 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.9765, allocations: 38.12 kB / 1.11 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.9765, allocations: 0 / 1.11 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.9765, allocations: 8.875 kB / 1.11 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9765, allocations: 0 / 1.11 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.9772, allocations: 0.5533 MB / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9772, allocations: 0 / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.9773, allocations: 4 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.9773, allocations: 4 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.9773, allocations: 17.28 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9773, allocations: 0 / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.9773, allocations: 0 / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.9777, allocations: 321.7 kB / 1.111 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.978, allocations: 192.5 kB / 1.111 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.978, allocations: 12 kB / 1.111 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.9782, allocations: 7.984 kB / 1.111 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.9783, allocations: 19.97 kB / 1.111 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.9783, allocations: 27.98 kB / 1.111 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001922/0.9785, allocations: 208.6 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9785, allocations: 4 kB / 1.111 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003298/0.9788, allocations: 60.23 kB / 1.111 GB, free: 5.324 MB / 0.7136 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * 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.0002047/0.9791, allocations: 129.3 kB / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.9796, allocations: 360.8 kB / 1.112 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9796, allocations: 0 / 1.112 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.9797, allocations: 71.91 kB / 1.112 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.98, allocations: 38.88 kB / 1.112 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.9806, allocations: 301.4 kB / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.9809, allocations: 0.7592 MB / 1.113 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.981, allocations: 41.19 kB / 1.113 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.9812, allocations: 39.42 kB / 1.113 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9812, allocations: 0 / 1.113 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of Templates: time 0.007863/0.989, allocations: 4.513 MB / 1.117 GB, free: 15.09 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)