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.001139/0.001138, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001552/0.001553, allocations: 172.7 kB / 15.95 MB, free: 208 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.708/1.708, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.56/1.56, allocations: 252 MB / 0.5102 GB, free: 4.754 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.0006089/0.0006092, allocations: 20 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6602, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002631/0.6629, allocations: 1.382 MB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.664, allocations: 477.1 kB / 0.73 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.6641, allocations: 4 kB / 0.73 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.6642, allocations: 3.938 kB / 0.73 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.6643, allocations: 23.84 kB / 0.73 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.665, allocations: 207.6 kB / 0.7302 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.6653, allocations: 303.5 kB / 0.7305 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.6655, allocations: 41.31 kB / 0.7305 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.6658, allocations: 223.6 kB / 0.7307 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.6661, allocations: 139.7 kB / 0.7309 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.6661, allocations: 8 kB / 0.7309 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.6662, allocations: 12 kB / 0.7309 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.6663, allocations: 83.72 kB / 0.731 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.775e-05/0.6664, allocations: 77.52 kB / 0.731 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.6667, allocations: 321.2 kB / 0.7313 GB, free: 8.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6667, allocations: 0 / 0.7313 GB, free: 8.129 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6667, allocations: 4 kB / 0.7313 GB, free: 8.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.6668, allocations: 0 / 0.7313 GB, free: 8.125 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.001212/0.668, allocations: 0.6336 MB / 0.732 GB, free: 7.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.668, allocations: 8.031 kB / 0.732 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.6681, allocations: 43.56 kB / 0.732 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.6685, allocations: 275.1 kB / 0.7323 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.6685, allocations: 16 kB / 0.7323 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.6686, allocations: 16 kB / 0.7323 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.6689, allocations: 173.5 kB / 0.7325 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.669, allocations: 0 / 0.7325 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.669, allocations: 4 kB / 0.7325 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.669, allocations: 0 / 0.7325 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.6692, allocations: 66.36 kB / 0.7325 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.6703, allocations: 0.5628 MB / 0.7331 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.6706, allocations: 138.5 kB / 0.7332 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.6707, allocations: 60.83 kB / 0.7333 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.6708, allocations: 8 kB / 0.7333 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.6712, allocations: 220.1 kB / 0.7335 GB, free: 5.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.6713, allocations: 4 kB / 0.7335 GB, free: 5.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006152/0.6719, allocations: 287 kB / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.6719, allocations: 71.38 kB / 0.7338 GB, free: 5.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.6723, allocations: 304.5 kB / 0.7341 GB, free: 5.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.6724, allocations: 45.69 kB / 0.7342 GB, free: 5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/0.6725, allocations: 101 kB / 0.7343 GB, free: 4.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.6725, allocations: 35.59 kB / 0.7343 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.6725, allocations: 8 kB / 0.7343 GB, free: 4.855 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6727, allocations: 330.8 kB / 0.7346 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.6729, allocations: 104.2 kB / 0.7347 GB, free: 4.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.6732, allocations: 159.7 kB / 0.7349 GB, free: 4.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.6735, allocations: 175.8 kB / 0.735 GB, free: 4.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6735, allocations: 0 / 0.735 GB, free: 4.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007187/0.6742, allocations: 431.2 kB / 0.7355 GB, free: 3.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/0.6743, allocations: 83.38 kB / 0.7355 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6743, allocations: 0 / 0.7355 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.6743, allocations: 7.953 kB / 0.7355 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.6745, allocations: 27.92 kB / 0.7356 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.6745, allocations: 4.188 kB / 0.7356 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.675, allocations: 83.66 kB / 0.7357 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.6751, allocations: 47.98 kB / 0.7357 GB, free: 3.359 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.0002024/0.6753, allocations: 193.7 kB / 0.7359 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.6753, allocations: 27.62 kB / 0.7359 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.6754, allocations: 30.36 kB / 0.7359 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6754, allocations: 3.984 kB / 0.7359 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6754, allocations: 7.953 kB / 0.7359 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6754, allocations: 0 / 0.7359 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.6762, allocations: 0.5957 MB / 0.7365 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6762, allocations: 8 kB / 0.7365 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.6762, allocations: 11.98 kB / 0.7365 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.6762, allocations: 3.953 kB / 0.7366 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.6763, allocations: 11.98 kB / 0.7366 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.6763, allocations: 4 kB / 0.7366 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6763, allocations: 0 / 0.7366 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.6767, allocations: 325.2 kB / 0.7369 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.6769, allocations: 184.6 kB / 0.7371 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.677, allocations: 15.95 kB / 0.7371 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.6772, allocations: 15.98 kB / 0.7371 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.6772, allocations: 19.97 kB / 0.7371 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.6773, allocations: 27.98 kB / 0.7371 GB, free: 1.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000193/0.6775, allocations: 223 kB / 0.7373 GB, free: 1.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6775, allocations: 0 / 0.7373 GB, free: 1.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003172/0.6778, allocations: 59.98 kB / 0.7374 GB, free: 1.512 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.0001934/0.678, allocations: 125.7 kB / 0.7375 GB, free: 1.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.6786, allocations: 362.8 kB / 0.7379 GB, free: 1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6786, allocations: 4 kB / 0.7379 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.6787, allocations: 85.83 kB / 0.738 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.6791, allocations: 28.62 kB / 0.738 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.6799, allocations: 492 kB / 0.7384 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.6803, allocations: 0.7594 MB / 0.7392 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.6804, allocations: 41.41 kB / 0.7392 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.6805, allocations: 39.42 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.6806, allocations: 0 / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.008954/0.6895, allocations: 4.286 MB / 0.7435 GB, free: 11.3 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: