Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, 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.001438/0.001438, allocations: 193.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.02 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003268/0.3492, allocations: 1.807 MB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3506, allocations: 0.6224 MB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.3507, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.864e-05/0.3508, allocations: 3.938 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.3509, allocations: 31.84 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.3517, allocations: 338.9 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.3523, allocations: 0.6321 MB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3524, allocations: 41.08 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004596/0.3529, allocations: 382.8 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.3532, allocations: 179.3 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.3533, allocations: 47.94 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.3534, allocations: 40 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3535, allocations: 127.4 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.3538, allocations: 230.8 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.3543, allocations: 0.5962 MB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3543, allocations: 0 / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3544, allocations: 8 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3544, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 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.001389/0.3558, allocations: 0.9014 MB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3558, allocations: 8.031 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3559, allocations: 52.47 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.3564, allocations: 338.1 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.3565, allocations: 24.55 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.3566, allocations: 24.38 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3577, allocations: 235.9 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3577, allocations: 3.938 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.3577, allocations: 11.98 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3577, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.3586, allocations: 119.9 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.36, allocations: 0.672 MB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3611, allocations: 190.5 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.3618, allocations: 112.8 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.3619, allocations: 3.938 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009881/0.3629, allocations: 235.1 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.3629, allocations: 0 / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002555/0.3655, allocations: 0.4905 MB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3655, allocations: 63.39 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.366, allocations: 437.9 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.3661, allocations: 45.69 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.3662, allocations: 113.2 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.3662, allocations: 35.55 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.3664, allocations: 141.2 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3666, allocations: 326.8 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.3669, allocations: 139.9 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3672, allocations: 193.9 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.3676, allocations: 303.6 kB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3676, allocations: 4 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009325/0.3686, allocations: 0.5086 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.3687, allocations: 99.36 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3687, allocations: 4 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3687, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3689, allocations: 23.92 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.369, allocations: 7.938 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.3695, allocations: 63.92 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.3696, allocations: 71.81 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0003016/0.3699, allocations: 216.3 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.37, allocations: 35.53 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.668e-05/0.3701, allocations: 39.78 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3701, allocations: 8 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3701, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3701, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.3724, allocations: 0.7964 MB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3725, allocations: 0 / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.3725, allocations: 4 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3725, allocations: 0 / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.3726, allocations: 27.91 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3726, allocations: 0 / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3726, allocations: 4 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.3744, allocations: 480.9 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.3747, allocations: 240.5 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.3748, allocations: 23.86 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.3753, allocations: 27.97 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3753, allocations: 15.98 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/0.3754, allocations: 59.98 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003296/0.3758, allocations: 319.1 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3758, allocations: 0 / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003994/0.3762, allocations: 79.83 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0002247/0.3764, allocations: 124.4 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.3778, allocations: 486.7 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3778, allocations: 4 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.3787, allocations: 119.9 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.3792, allocations: 38.72 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.3808, allocations: 0.7193 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3813, allocations: 0.7941 MB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.289e-05/0.3813, allocations: 17.42 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.3814, allocations: 11.44 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3814, allocations: 0 / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.0104/0.3918, allocations: 5.62 MB / 1.088 GB, free: 4.883 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)