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.001442/0.001442, allocations: 99.31 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.001573/0.001573, allocations: 177.3 kB / 15.94 MB, free: 228 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.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.658/1.658, allocations: 251.9 MB / 0.51 GB, free: 4.871 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.0006315/0.000632, allocations: 23.94 kB / 0.6242 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6531, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002518/0.6557, allocations: 1.375 MB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.6568, allocations: 455 kB / 0.7298 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.657, allocations: 0 / 0.7298 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.129e-05/0.6571, allocations: 3.938 kB / 0.7298 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.6573, allocations: 23.95 kB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.6584, allocations: 210.3 kB / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.6589, allocations: 183.7 kB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.6591, allocations: 33.31 kB / 0.7302 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.6596, allocations: 175.6 kB / 0.7304 GB, free: 9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.6599, allocations: 127.7 kB / 0.7305 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-05/0.66, allocations: 8 kB / 0.7305 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.6601, allocations: 8 kB / 0.7305 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.6602, allocations: 79.72 kB / 0.7306 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.6603, allocations: 73.58 kB / 0.7307 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.6607, allocations: 325.2 kB / 0.731 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6608, allocations: 0 / 0.731 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.849e-06/0.6608, allocations: 4 kB / 0.731 GB, free: 8.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.6608, allocations: 0 / 0.731 GB, free: 8.383 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.001561/0.6624, allocations: 0.6366 MB / 0.7316 GB, free: 7.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.6624, allocations: 12.03 kB / 0.7316 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.6626, allocations: 39.58 kB / 0.7316 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.6632, allocations: 275 kB / 0.7319 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/0.6633, allocations: 23.98 kB / 0.7319 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.6634, allocations: 16 kB / 0.7319 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.6638, allocations: 169.5 kB / 0.7321 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6638, allocations: 4 kB / 0.7321 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.6639, allocations: 0 / 0.7321 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.6639, allocations: 0 / 0.7321 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.6641, allocations: 63.97 kB / 0.7322 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.6655, allocations: 0.5589 MB / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.6658, allocations: 130.7 kB / 0.7328 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.6658, allocations: 15.97 kB / 0.7329 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.6665, allocations: 229.9 kB / 0.7331 GB, free: 6.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.6665, allocations: 7.938 kB / 0.7331 GB, free: 6.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000684/0.6672, allocations: 283.5 kB / 0.7334 GB, free: 5.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.6673, allocations: 63.39 kB / 0.7334 GB, free: 5.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.6676, allocations: 312.5 kB / 0.7337 GB, free: 5.359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/0.6677, allocations: 45.69 kB / 0.7338 GB, free: 5.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.6678, allocations: 93.05 kB / 0.7338 GB, free: 5.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.6679, allocations: 43.58 kB / 0.7339 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.6679, allocations: 8 kB / 0.7339 GB, free: 5.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6681, allocations: 322.8 kB / 0.7342 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.6684, allocations: 108.2 kB / 0.7343 GB, free: 4.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.6687, allocations: 159.7 kB / 0.7345 GB, free: 4.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.6689, allocations: 170.9 kB / 0.7346 GB, free: 4.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6689, allocations: 4 kB / 0.7346 GB, free: 4.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007648/0.6697, allocations: 431.2 kB / 0.735 GB, free: 3.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.6698, allocations: 79.38 kB / 0.7351 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6698, allocations: 3.984 kB / 0.7351 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6699, allocations: 4 kB / 0.7351 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.6701, allocations: 27.88 kB / 0.7351 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.6701, allocations: 8.125 kB / 0.7352 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.6706, allocations: 75.78 kB / 0.7352 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.6707, allocations: 55.98 kB / 0.7353 GB, free: 3.672 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.0002295/0.671, allocations: 181.8 kB / 0.7354 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.671, allocations: 31.62 kB / 0.7355 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.6711, allocations: 30.36 kB / 0.7355 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6711, allocations: 4 kB / 0.7355 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6711, allocations: 7.938 kB / 0.7355 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.6711, allocations: 0 / 0.7355 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008355/0.672, allocations: 0.5918 MB / 0.7361 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.672, allocations: 0 / 0.7361 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.6721, allocations: 19.98 kB / 0.7361 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6721, allocations: 0 / 0.7361 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.6721, allocations: 15.94 kB / 0.7361 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6721, allocations: 3.984 kB / 0.7361 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6721, allocations: 0 / 0.7361 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.6726, allocations: 325 kB / 0.7364 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.6728, allocations: 184.6 kB / 0.7366 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.6729, allocations: 16 kB / 0.7366 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.6731, allocations: 23.94 kB / 0.7367 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.6731, allocations: 23.91 kB / 0.7367 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.6732, allocations: 27.98 kB / 0.7367 GB, free: 2.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002266/0.6734, allocations: 231 kB / 0.7369 GB, free: 1.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6734, allocations: 0 / 0.7369 GB, free: 1.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000351/0.6738, allocations: 51.98 kB / 0.737 GB, free: 1.824 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.0001961/0.674, allocations: 133.7 kB / 0.7371 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005824/0.6746, allocations: 358.8 kB / 0.7374 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6746, allocations: 0 / 0.7374 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.6748, allocations: 81.52 kB / 0.7375 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6751, allocations: 28.58 kB / 0.7376 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.6759, allocations: 488 kB / 0.738 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.6764, allocations: 0.7749 MB / 0.7388 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.6765, allocations: 37.42 kB / 0.7388 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.6767, allocations: 39.42 kB / 0.7389 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.6767, allocations: 0 / 0.7389 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.008066/0.6847, allocations: 4.281 MB / 0.743 GB, free: 11.61 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: