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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002189/0.002189, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.693/1.693, allocations: 251.7 MB / 0.5089 GB, free: 3.301 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.001978/0.001978, allocations: 67.91 kB / 0.6218 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6648/0.6668, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003837/0.6707, allocations: 1.745 MB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.6719, allocations: 467.3 kB / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.6719, allocations: 0 / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.6721, allocations: 7.922 kB / 0.7262 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.6722, allocations: 28.17 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.673, allocations: 258.3 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.6734, allocations: 411.8 kB / 0.7268 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.6735, allocations: 29.34 kB / 0.7269 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.6739, allocations: 262.2 kB / 0.7271 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.6741, allocations: 143.6 kB / 0.7273 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.6742, allocations: 28 kB / 0.7273 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.6743, allocations: 28 kB / 0.7273 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.6744, allocations: 91.7 kB / 0.7274 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.6746, allocations: 151.2 kB / 0.7275 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.675, allocations: 420.7 kB / 0.7279 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.675, allocations: 0 / 0.7279 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.675, allocations: 0 / 0.7279 GB, free: 9.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.675, allocations: 0 / 0.7279 GB, free: 9.066 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.001434/0.6765, allocations: 0.7309 MB / 0.7287 GB, free: 8.262 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6765, allocations: 11.97 kB / 0.7287 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.6766, allocations: 35.62 kB / 0.7287 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.677, allocations: 278.9 kB / 0.729 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.6771, allocations: 19.98 kB / 0.729 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.6771, allocations: 16 kB / 0.729 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.6775, allocations: 188.8 kB / 0.7292 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6775, allocations: 0 / 0.7292 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.6776, allocations: 0 / 0.7292 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.6776, allocations: 8 kB / 0.7292 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.6777, allocations: 63.91 kB / 0.7293 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6789, allocations: 0.5587 MB / 0.7298 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.6792, allocations: 142.6 kB / 0.7299 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.6793, allocations: 56.84 kB / 0.73 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.6793, allocations: 4 kB / 0.73 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004479/0.6798, allocations: 228.1 kB / 0.7302 GB, free: 6.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.6798, allocations: 4 kB / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006094/0.6804, allocations: 283.1 kB / 0.7305 GB, free: 6.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.6805, allocations: 63.39 kB / 0.7305 GB, free: 6.195 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.6808, allocations: 312.5 kB / 0.7308 GB, free: 5.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.6809, allocations: 41.69 kB / 0.7309 GB, free: 5.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.681, allocations: 101 kB / 0.731 GB, free: 5.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.681, allocations: 43.45 kB / 0.731 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.6812, allocations: 113.7 kB / 0.7311 GB, free: 5.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6813, allocations: 322.8 kB / 0.7314 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.6816, allocations: 108.2 kB / 0.7315 GB, free: 5.137 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.6818, allocations: 167.7 kB / 0.7317 GB, free: 4.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.6822, allocations: 262.3 kB / 0.7319 GB, free: 4.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6822, allocations: 0 / 0.7319 GB, free: 4.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000732/0.683, allocations: 445.9 kB / 0.7324 GB, free: 4.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/0.683, allocations: 75.39 kB / 0.7324 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6831, allocations: 4 kB / 0.7324 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6831, allocations: 4 kB / 0.7325 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.6833, allocations: 31.91 kB / 0.7325 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.6833, allocations: 4 kB / 0.7325 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.6838, allocations: 60.05 kB / 0.7325 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.6839, allocations: 47.98 kB / 0.7326 GB, free: 3.977 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.6842, allocations: 197.7 kB / 0.7328 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.6842, allocations: 27.62 kB / 0.7328 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.6843, allocations: 30.36 kB / 0.7328 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6843, allocations: 0 / 0.7328 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6843, allocations: 7.938 kB / 0.7328 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6843, allocations: 0 / 0.7328 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008101/0.6852, allocations: 0.6095 MB / 0.7334 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6852, allocations: 3.984 kB / 0.7334 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.6852, allocations: 8 kB / 0.7334 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6852, allocations: 0 / 0.7334 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.6853, allocations: 11.98 kB / 0.7335 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.6853, allocations: 8 kB / 0.7335 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6853, allocations: 3.938 kB / 0.7335 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.6857, allocations: 327.1 kB / 0.7338 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.6859, allocations: 180.6 kB / 0.734 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.686, allocations: 15.98 kB / 0.734 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.6862, allocations: 11.98 kB / 0.734 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.6863, allocations: 15.92 kB / 0.734 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/0.6863, allocations: 35.92 kB / 0.734 GB, free: 2.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002134/0.6865, allocations: 227 kB / 0.7342 GB, free: 2.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6865, allocations: 4 kB / 0.7343 GB, free: 2.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003407/0.6869, allocations: 55.98 kB / 0.7343 GB, free: 2.117 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.6871, allocations: 117.8 kB / 0.7344 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006282/0.6877, allocations: 381 kB / 0.7348 GB, free: 1.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6877, allocations: 0 / 0.7348 GB, free: 1.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.6879, allocations: 76.19 kB / 0.7349 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.6883, allocations: 36.61 kB / 0.7349 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.6892, allocations: 0.5043 MB / 0.7354 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.6897, allocations: 0.7535 MB / 0.7361 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000146/0.6899, allocations: 41.42 kB / 0.7362 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.69, allocations: 35.42 kB / 0.7362 GB, free: 112 kB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.69, allocations: 4 kB / 0.7362 GB, free: 108 kB / 0.545 GB Notification: Performance of Templates: time 0.009571/0.6996, allocations: 4.548 MB / 0.7406 GB, free: 11.63 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)