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.001632/0.001632, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002029/0.002029, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.656/1.656, allocations: 205.1 MB / 222 MB, free: 4.762 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.536/1.536, allocations: 251.6 MB / 0.5088 GB, free: 3.293 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.001522/0.001522, allocations: 68.47 kB / 0.6216 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6646, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003622/0.6683, allocations: 1.745 MB / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.6696, allocations: 0.4953 MB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.6697, allocations: 3.938 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.6699, allocations: 15.92 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.67, allocations: 24.22 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.6708, allocations: 242.2 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.6713, allocations: 359.8 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.6715, allocations: 29.34 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.6719, allocations: 230.2 kB / 0.7269 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.6722, allocations: 127.6 kB / 0.727 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.879e-05/0.6723, allocations: 12 kB / 0.727 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.6723, allocations: 11.94 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.6725, allocations: 75.78 kB / 0.7271 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.6727, allocations: 143.2 kB / 0.7272 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.6731, allocations: 412.7 kB / 0.7276 GB, free: 9.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6731, allocations: 0 / 0.7276 GB, free: 9.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6731, allocations: 0 / 0.7276 GB, free: 9.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.6732, allocations: 0 / 0.7276 GB, free: 9.219 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.001534/0.6747, allocations: 0.727 MB / 0.7283 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6747, allocations: 8.031 kB / 0.7284 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.6749, allocations: 39.62 kB / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.6753, allocations: 275 kB / 0.7287 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.6754, allocations: 16 kB / 0.7287 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.6755, allocations: 27.92 kB / 0.7287 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.6758, allocations: 169.4 kB / 0.7289 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6759, allocations: 3.984 kB / 0.7289 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.6759, allocations: 7.938 kB / 0.7289 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6759, allocations: 0 / 0.7289 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.6761, allocations: 66.38 kB / 0.7289 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.6775, allocations: 0.5626 MB / 0.7295 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.6778, allocations: 130.7 kB / 0.7296 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.678, allocations: 63.7 kB / 0.7297 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.678, allocations: 8 kB / 0.7297 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.6786, allocations: 226 kB / 0.7299 GB, free: 6.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.6786, allocations: 7.938 kB / 0.7299 GB, free: 6.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000659/0.6792, allocations: 289 kB / 0.7302 GB, free: 6.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.6793, allocations: 59.41 kB / 0.7302 GB, free: 6.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.6799, allocations: 312.5 kB / 0.7305 GB, free: 6.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.6799, allocations: 37.7 kB / 0.7306 GB, free: 5.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.68, allocations: 105 kB / 0.7307 GB, free: 5.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.6801, allocations: 47.38 kB / 0.7307 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.6803, allocations: 109.7 kB / 0.7308 GB, free: 5.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6804, allocations: 334.8 kB / 0.7311 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.6807, allocations: 104.2 kB / 0.7312 GB, free: 5.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.681, allocations: 159.8 kB / 0.7314 GB, free: 5.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.6814, allocations: 263 kB / 0.7316 GB, free: 4.824 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6814, allocations: 4 kB / 0.7316 GB, free: 4.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000755/0.6822, allocations: 431.3 kB / 0.732 GB, free: 4.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.6823, allocations: 79.56 kB / 0.7321 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.6823, allocations: 8 kB / 0.7321 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6823, allocations: 0 / 0.7321 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.6825, allocations: 31.92 kB / 0.7322 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6825, allocations: 0 / 0.7322 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.6831, allocations: 59.84 kB / 0.7322 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.6832, allocations: 55.98 kB / 0.7323 GB, free: 4.141 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.0002518/0.6834, allocations: 193.7 kB / 0.7325 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.6835, allocations: 27.62 kB / 0.7325 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.6836, allocations: 34.3 kB / 0.7325 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6836, allocations: 4 kB / 0.7325 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6836, allocations: 3.984 kB / 0.7325 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6836, allocations: 0 / 0.7325 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.6846, allocations: 0.5996 MB / 0.7331 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6846, allocations: 4 kB / 0.7331 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.6846, allocations: 7.984 kB / 0.7331 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.6846, allocations: 4 kB / 0.7331 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.6847, allocations: 15.98 kB / 0.7331 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6847, allocations: 0 / 0.7331 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6847, allocations: 7.938 kB / 0.7331 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.6851, allocations: 325.4 kB / 0.7335 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.6853, allocations: 184.6 kB / 0.7336 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.6854, allocations: 20 kB / 0.7337 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.6856, allocations: 7.984 kB / 0.7337 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.6857, allocations: 19.91 kB / 0.7337 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.6858, allocations: 31.98 kB / 0.7337 GB, free: 2.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002238/0.686, allocations: 227 kB / 0.7339 GB, free: 2.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.686, allocations: 3.938 kB / 0.7339 GB, free: 2.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003775/0.6864, allocations: 52 kB / 0.734 GB, free: 2.289 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.0002238/0.6866, allocations: 129.7 kB / 0.7341 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006959/0.6873, allocations: 362.6 kB / 0.7344 GB, free: 1.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6873, allocations: 0 / 0.7344 GB, free: 1.773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.6875, allocations: 83.81 kB / 0.7345 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.6879, allocations: 30.45 kB / 0.7346 GB, free: 1.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.6887, allocations: 0.5076 MB / 0.7351 GB, free: 1.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.6891, allocations: 0.7619 MB / 0.7358 GB, free: 356 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001632/0.6892, allocations: 41.42 kB / 0.7358 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.6894, allocations: 31.42 kB / 0.7359 GB, free: 284 kB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.6894, allocations: 0 / 0.7359 GB, free: 284 kB / 0.545 GB Notification: Performance of Templates: time 0.008458/0.6978, allocations: 4.396 MB / 0.7402 GB, free: 11.95 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)