Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.717/1.717, allocations: 251.9 MB / 0.51 GB, free: 4.84 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005449/0.0005449, allocations: 20 kB / 0.6242 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6638, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002131/0.666, allocations: 1.371 MB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00092/0.6669, allocations: 445.5 kB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.667, allocations: 0 / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.6671, allocations: 11.92 kB / 0.7298 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.6672, allocations: 27.95 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.6679, allocations: 218.7 kB / 0.73 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.6682, allocations: 175.7 kB / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.6683, allocations: 33.31 kB / 0.7302 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.6686, allocations: 171.6 kB / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.6688, allocations: 135.7 kB / 0.7305 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.6688, allocations: 12 kB / 0.7305 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.474e-05/0.6689, allocations: 8 kB / 0.7305 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.669, allocations: 75.78 kB / 0.7306 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.6691, allocations: 81.52 kB / 0.7307 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.6694, allocations: 317.2 kB / 0.731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6694, allocations: 0 / 0.731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6694, allocations: 0 / 0.731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.6695, allocations: 0 / 0.731 GB, free: 8.344 MB / 0.545 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.001249/0.6707, allocations: 0.6441 MB / 0.7316 GB, free: 7.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6708, allocations: 8.031 kB / 0.7316 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6709, allocations: 39.58 kB / 0.7317 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.6713, allocations: 271.1 kB / 0.7319 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.6713, allocations: 19.92 kB / 0.7319 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.6714, allocations: 20 kB / 0.7319 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.6717, allocations: 169.5 kB / 0.7321 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6717, allocations: 4 kB / 0.7321 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.6718, allocations: 4 kB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6718, allocations: 4 kB / 0.7321 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.6719, allocations: 55.97 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.673, allocations: 0.5589 MB / 0.7327 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.6733, allocations: 138.7 kB / 0.7329 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6734, allocations: 0 / 0.7329 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.6739, allocations: 236 kB / 0.7331 GB, free: 6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.6739, allocations: 4 kB / 0.7331 GB, free: 5.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005792/0.6745, allocations: 283.5 kB / 0.7334 GB, free: 5.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.6745, allocations: 59.41 kB / 0.7334 GB, free: 5.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.6748, allocations: 312.4 kB / 0.7337 GB, free: 5.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.6749, allocations: 53.62 kB / 0.7338 GB, free: 5.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.675, allocations: 97.05 kB / 0.7339 GB, free: 5.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.675, allocations: 39.59 kB / 0.7339 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.6751, allocations: 8 kB / 0.7339 GB, free: 5.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6752, allocations: 326.8 kB / 0.7342 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.6754, allocations: 104.2 kB / 0.7343 GB, free: 4.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.6757, allocations: 167.7 kB / 0.7345 GB, free: 4.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.6759, allocations: 162.9 kB / 0.7346 GB, free: 4.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6759, allocations: 3.938 kB / 0.7346 GB, free: 4.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006808/0.6766, allocations: 435.3 kB / 0.735 GB, free: 3.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.6767, allocations: 75.39 kB / 0.7351 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6767, allocations: 4 kB / 0.7351 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.6767, allocations: 7.984 kB / 0.7351 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6769, allocations: 31.88 kB / 0.7352 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.6769, allocations: 4 kB / 0.7352 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.6775, allocations: 75.8 kB / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.6775, allocations: 47.98 kB / 0.7353 GB, free: 3.637 MB / 0.545 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 () * 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.000242/0.6778, allocations: 193.7 kB / 0.7355 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.6778, allocations: 27.62 kB / 0.7355 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.6779, allocations: 30.36 kB / 0.7355 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6779, allocations: 0 / 0.7355 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6779, allocations: 7.953 kB / 0.7355 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6779, allocations: 7.984 kB / 0.7355 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007951/0.6787, allocations: 0.5977 MB / 0.7361 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6787, allocations: 0 / 0.7361 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.6788, allocations: 8 kB / 0.7361 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6788, allocations: 0 / 0.7361 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.6788, allocations: 15.92 kB / 0.7361 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.6788, allocations: 4 kB / 0.7361 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6789, allocations: 0 / 0.7361 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.6793, allocations: 335 kB / 0.7365 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.6795, allocations: 184.6 kB / 0.7366 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.6796, allocations: 8 kB / 0.7366 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.6798, allocations: 19.94 kB / 0.7367 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.6799, allocations: 15.97 kB / 0.7367 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.6799, allocations: 31.98 kB / 0.7367 GB, free: 2.066 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002119/0.6801, allocations: 227 kB / 0.7369 GB, free: 1.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.533e-06/0.6801, allocations: 0 / 0.7369 GB, free: 1.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003216/0.6805, allocations: 55.94 kB / 0.737 GB, free: 1.789 MB / 0.545 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) * 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.0002031/0.6807, allocations: 121.7 kB / 0.7371 GB, free: 1.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005636/0.6812, allocations: 364.8 kB / 0.7374 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6813, allocations: 0 / 0.7374 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.6814, allocations: 84.19 kB / 0.7375 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.6817, allocations: 32.62 kB / 0.7376 GB, free: 1.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.6825, allocations: 493.8 kB / 0.738 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.6829, allocations: 0.7671 MB / 0.7388 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.683, allocations: 41.42 kB / 0.7388 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.6832, allocations: 35.42 kB / 0.7388 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6832, allocations: 0 / 0.7388 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.008119/0.6913, allocations: 4.288 MB / 0.743 GB, free: 11.57 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: