Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 99.86 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.001925/0.001925, 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.851/1.851, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.6/1.6, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0005605/0.0005606, allocations: 16 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5798, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001685/0.5816, allocations: 1.183 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.5824, allocations: 395.1 kB / 0.7295 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.5825, allocations: 0 / 0.7295 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.5826, allocations: 7.922 kB / 0.7295 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.5827, allocations: 15.98 kB / 0.7295 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.5834, allocations: 218.3 kB / 0.7297 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.5836, allocations: 151.7 kB / 0.7299 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.479e-05/0.5837, allocations: 8 kB / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.5839, allocations: 163.7 kB / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.5841, allocations: 119.7 kB / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.5842, allocations: 8 kB / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.5842, allocations: 8 kB / 0.7302 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.5843, allocations: 79.78 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.5844, allocations: 69.58 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.5847, allocations: 205.5 kB / 0.7305 GB, free: 8.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.5847, allocations: 0 / 0.7305 GB, free: 8.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.937e-06/0.5847, allocations: 4 kB / 0.7305 GB, free: 8.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5847, allocations: 3.938 kB / 0.7305 GB, free: 8.801 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001172/0.5859, allocations: 0.6142 MB / 0.7311 GB, free: 8.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5859, allocations: 8.031 kB / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.586, allocations: 35.62 kB / 0.7311 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.5864, allocations: 254.5 kB / 0.7314 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.5864, allocations: 16 kB / 0.7314 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.5865, allocations: 16 kB / 0.7314 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.5868, allocations: 145.5 kB / 0.7316 GB, free: 7.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5868, allocations: 0 / 0.7316 GB, free: 7.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.5868, allocations: 7.984 kB / 0.7316 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5869, allocations: 4 kB / 0.7316 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.587, allocations: 43.97 kB / 0.7316 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.5874, allocations: 313.3 kB / 0.7319 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.5877, allocations: 130.7 kB / 0.732 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.5878, allocations: 7.984 kB / 0.732 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.5882, allocations: 215.6 kB / 0.7323 GB, free: 6.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.5882, allocations: 0 / 0.7323 GB, free: 6.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000585/0.5888, allocations: 275.1 kB / 0.7325 GB, free: 6.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.5889, allocations: 63.39 kB / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.5892, allocations: 283 kB / 0.7328 GB, free: 6.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.5892, allocations: 37.7 kB / 0.7329 GB, free: 6.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.5893, allocations: 93.12 kB / 0.733 GB, free: 6.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.5894, allocations: 55.38 kB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.5894, allocations: 8 kB / 0.733 GB, free: 5.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5896, allocations: 330.7 kB / 0.7333 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.5898, allocations: 96.17 kB / 0.7334 GB, free: 5.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.59, allocations: 143.8 kB / 0.7336 GB, free: 5.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.5902, allocations: 154.9 kB / 0.7337 GB, free: 5.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5903, allocations: 0 / 0.7337 GB, free: 5.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007531/0.591, allocations: 415 kB / 0.7341 GB, free: 4.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.5911, allocations: 75.39 kB / 0.7342 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5911, allocations: 4.188 kB / 0.7342 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.5912, allocations: 8 kB / 0.7342 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.5913, allocations: 23.97 kB / 0.7342 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.5913, allocations: 7.938 kB / 0.7342 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.5919, allocations: 67.86 kB / 0.7343 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.592, allocations: 55.98 kB / 0.7343 GB, free: 4.57 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (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.0002101/0.5922, allocations: 182.9 kB / 0.7345 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.5922, allocations: 23.72 kB / 0.7345 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.5923, allocations: 30.25 kB / 0.7346 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5923, allocations: 0 / 0.7346 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5923, allocations: 0 / 0.7346 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5923, allocations: 0 / 0.7346 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.5932, allocations: 0.5667 MB / 0.7351 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5932, allocations: 0 / 0.7351 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.5933, allocations: 15.92 kB / 0.7351 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5933, allocations: 0 / 0.7351 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.5933, allocations: 11.98 kB / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5933, allocations: 0 / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5934, allocations: 0 / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.5938, allocations: 327 kB / 0.7355 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.594, allocations: 152.7 kB / 0.7356 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.594, allocations: 11.98 kB / 0.7356 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.5942, allocations: 11.98 kB / 0.7356 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.5943, allocations: 15.98 kB / 0.7356 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.5944, allocations: 31.97 kB / 0.7357 GB, free: 3.109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001939/0.5946, allocations: 205.9 kB / 0.7359 GB, free: 2.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5946, allocations: 3.938 kB / 0.7359 GB, free: 2.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003065/0.5949, allocations: 47.98 kB / 0.7359 GB, free: 2.859 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001614/0.5951, allocations: 122.6 kB / 0.736 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.5956, allocations: 344.6 kB / 0.7364 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5956, allocations: 0 / 0.7364 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.5958, allocations: 67.97 kB / 0.7364 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.5961, allocations: 20.83 kB / 0.7365 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.5968, allocations: 459.1 kB / 0.7369 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.5972, allocations: 0.7475 MB / 0.7376 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.5973, allocations: 37.41 kB / 0.7377 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.5974, allocations: 43.42 kB / 0.7377 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5974, allocations: 0 / 0.7377 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of Templates: time 0.007457/0.6049, allocations: 3.898 MB / 0.7415 GB, free: 13.07 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: