Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001085/0.001085, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.01076/0.01076, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006465/0.0006468, allocations: 13.91 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.378, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002015/0.38, allocations: 1.448 MB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3814, allocations: 0.6752 MB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.3815, allocations: 0 / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.3816, allocations: 11.92 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.3817, allocations: 39.84 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007381/0.3825, allocations: 339 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.383, allocations: 0.5267 MB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3831, allocations: 29.09 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.3836, allocations: 318.9 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.3839, allocations: 171.3 kB / 1.078 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.384, allocations: 16 kB / 1.078 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.384, allocations: 12 kB / 1.078 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.3842, allocations: 119.4 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.3845, allocations: 224.4 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.385, allocations: 0.5687 MB / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.385, allocations: 0 / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.845e-06/0.385, allocations: 0 / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3851, allocations: 0 / 1.079 GB, free: 3.004 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.001125/0.3862, allocations: 0.7808 MB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3862, allocations: 8.031 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.3864, allocations: 52.47 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3868, allocations: 338.2 kB / 1.08 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/0.3868, allocations: 24.5 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.3869, allocations: 32.36 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.388, allocations: 247.3 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.388, allocations: 3.938 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.3881, allocations: 7.984 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3881, allocations: 4 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009865/0.3891, allocations: 123.9 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3905, allocations: 0.6836 MB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3916, allocations: 194.5 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008069/0.3925, allocations: 120.8 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3925, allocations: 11.98 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3935, allocations: 241.4 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.965e-06/0.3935, allocations: 3.938 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.00281/0.3963, allocations: 0.5204 MB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3964, allocations: 55.41 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.3969, allocations: 445.8 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.397, allocations: 45.69 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.3971, allocations: 105.3 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.3971, allocations: 35.55 kB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.3972, allocations: 37.7 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3974, allocations: 326.8 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.3977, allocations: 139.9 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.398, allocations: 198.5 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.3985, allocations: 299.2 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3985, allocations: 4 kB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000903/0.3994, allocations: 0.5239 MB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/0.3995, allocations: 99.36 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3995, allocations: 4 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3995, allocations: 4.188 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3997, allocations: 19.98 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3997, allocations: 7.938 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.4002, allocations: 71.73 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.4003, allocations: 67.91 kB / 1.084 GB, free: 12.85 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.0002577/0.4006, allocations: 216.4 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.4007, allocations: 39.53 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.4008, allocations: 39.78 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4008, allocations: 3.938 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4008, allocations: 4 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4008, allocations: 0 / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.4031, allocations: 0.8124 MB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4031, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.4032, allocations: 7.938 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4032, allocations: 0 / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.4032, allocations: 27.91 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4032, allocations: 0 / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4032, allocations: 0 / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.4051, allocations: 0.491 MB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.4054, allocations: 240.5 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.4055, allocations: 23.92 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.406, allocations: 31.97 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4061, allocations: 15.98 kB / 1.086 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.4061, allocations: 55.97 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003632/0.4065, allocations: 319.1 kB / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4065, allocations: 0 / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004186/0.407, allocations: 67.98 kB / 1.087 GB, free: 10.37 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.0002419/0.4072, allocations: 136.3 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.4087, allocations: 484.3 kB / 1.087 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4087, allocations: 0 / 1.087 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.4096, allocations: 136.2 kB / 1.087 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.4101, allocations: 42.72 kB / 1.087 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.4118, allocations: 0.7342 MB / 1.088 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.4123, allocations: 0.7866 MB / 1.089 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.977e-05/0.4124, allocations: 17.42 kB / 1.089 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4124, allocations: 19.42 kB / 1.089 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.4124, allocations: 0 / 1.089 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of Templates: time 0.01072/0.4231, allocations: 5.413 MB / 1.094 GB, free: 2.43 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)