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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, 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.001786/0.001786, allocations: 193.4 kB / 16.25 MB, free: 6.617 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.553/1.553, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7448 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 61.62 kB / 0.9116 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3632, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003171/0.3664, allocations: 1.8 MB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3678, allocations: 0.6222 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.368, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.3681, allocations: 11.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3683, allocations: 23.88 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.3692, allocations: 338.5 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.3698, allocations: 0.6321 MB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.37, allocations: 41.06 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.3705, allocations: 378.9 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.3708, allocations: 183.2 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3709, allocations: 40 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.371, allocations: 44 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3711, allocations: 135.3 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.3714, allocations: 230.8 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.372, allocations: 0.5962 MB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.372, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.372, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.372, 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.001463/0.3735, allocations: 0.9131 MB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3736, allocations: 8.031 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.3737, allocations: 52.47 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.3742, allocations: 338.1 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.3743, allocations: 20.55 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.3744, allocations: 28.38 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3755, allocations: 234 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3755, allocations: 3.938 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.3755, allocations: 7.984 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3756, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008436/0.3764, allocations: 111.9 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3779, allocations: 0.6875 MB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3789, allocations: 182.5 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007796/0.3797, allocations: 112.8 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3798, allocations: 7.984 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.3808, allocations: 231 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.805e-06/0.3808, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002837/0.3837, allocations: 499.4 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.3838, allocations: 63.41 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.3844, allocations: 437.9 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.3845, allocations: 41.69 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3846, allocations: 105.3 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.3847, allocations: 43.53 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.3849, allocations: 145.2 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3851, allocations: 326.8 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3854, allocations: 139.9 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.3858, allocations: 194.6 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.3862, allocations: 295 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3862, allocations: 4 kB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009168/0.3871, allocations: 0.522 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.49e-05/0.3872, allocations: 99.38 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3872, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3873, allocations: 4 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.3874, allocations: 23.92 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3874, allocations: 0 / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.388, allocations: 67.8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.3881, allocations: 71.91 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.0002719/0.3884, allocations: 212.3 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.3884, allocations: 39.53 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.3885, allocations: 43.78 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3885, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3886, allocations: 4 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3886, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.3908, allocations: 0.7909 MB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3908, allocations: 0 / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.3909, allocations: 4 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3909, allocations: 0 / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.3909, allocations: 31.91 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.391, allocations: 0 / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.391, allocations: 0 / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.3928, allocations: 484.8 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.3931, allocations: 236.5 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.3932, allocations: 23.92 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.3937, allocations: 31.97 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.3937, allocations: 11.98 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.3938, allocations: 59.91 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003832/0.3942, allocations: 319.1 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3942, allocations: 4 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004848/0.3947, allocations: 75.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.000303/0.395, allocations: 132.4 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.3965, allocations: 483 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3965, allocations: 4.062 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.3974, allocations: 123.8 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.3978, allocations: 35.64 kB / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.3995, allocations: 0.7232 MB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3999, allocations: 0.7902 MB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.4, allocations: 13.42 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.4001, allocations: 19.44 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.4001, allocations: 0 / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.01066/0.4107, allocations: 5.603 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.CalendarTimeMonths.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)