Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00179/0.00179, allocations: 193.8 kB / 16.13 MB, free: 6.672 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.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.145/3.145, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 58.2 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.392, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003812/0.3959, allocations: 1.8 MB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3975, allocations: 0.6958 MB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.3975, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3977, allocations: 7.875 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3978, allocations: 31.91 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008463/0.3987, allocations: 339.5 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.3995, allocations: 0.5305 MB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3996, allocations: 29.09 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.4002, allocations: 326.9 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.4005, allocations: 167.3 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.4006, allocations: 16 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.4007, allocations: 12 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.4009, allocations: 127.4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.4012, allocations: 198.8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.4018, allocations: 0.5805 MB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4018, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4018, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4018, allocations: 0 / 1.072 GB, free: 6.008 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.001449/0.4033, allocations: 0.9093 MB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4033, allocations: 8.031 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.4035, allocations: 52.47 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.4039, allocations: 334.1 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.404, allocations: 24.55 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.4041, allocations: 32.36 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.4052, allocations: 230 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4052, allocations: 7.922 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.4052, allocations: 4 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4053, allocations: 8 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.4061, allocations: 115.8 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.4075, allocations: 0.6798 MB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.4086, allocations: 186.3 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007821/0.4094, allocations: 116.8 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4094, allocations: 4 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.4106, allocations: 227.3 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.4106, allocations: 0 / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002755/0.4134, allocations: 499 kB / 1.076 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.4134, allocations: 67.33 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.4141, allocations: 441.9 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.4143, allocations: 37.7 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4145, allocations: 109.3 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.4145, allocations: 39.53 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.4148, allocations: 145.2 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.415, allocations: 322.8 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.4154, allocations: 139.9 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.4158, allocations: 189.9 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.4162, allocations: 307.1 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4163, allocations: 0 / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009631/0.4172, allocations: 0.5175 MB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4173, allocations: 95.38 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4174, allocations: 0 / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4174, allocations: 4.188 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.4176, allocations: 27.92 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4176, allocations: 7.984 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.4181, allocations: 63.73 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.4183, allocations: 63.92 kB / 1.078 GB, free: 15.73 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.0002864/0.4186, allocations: 220.3 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.4187, allocations: 43.52 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.4188, allocations: 39.8 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4188, allocations: 0 / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4188, allocations: 0 / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4188, allocations: 0 / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.4213, allocations: 0.7948 MB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4213, allocations: 0 / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.4214, allocations: 11.98 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4214, allocations: 0 / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.4214, allocations: 19.92 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4214, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4214, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.4233, allocations: 484.8 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.4237, allocations: 244.5 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.4238, allocations: 19.94 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.4243, allocations: 39.91 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.4244, allocations: 7.984 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/0.4245, allocations: 55.97 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003635/0.4248, allocations: 319.1 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4249, allocations: 0 / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004024/0.4253, allocations: 75.83 kB / 1.08 GB, free: 13.29 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.0002521/0.4255, allocations: 136.4 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.4269, allocations: 470.4 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.427, allocations: 0 / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008105/0.4278, allocations: 128.2 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.4282, allocations: 46.61 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.4299, allocations: 0.7168 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.4305, allocations: 0.7905 MB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.4306, allocations: 13.42 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.4306, allocations: 15.44 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.4306, allocations: 0 / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.01177/0.4424, allocations: 5.437 MB / 1.088 GB, free: 5.367 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)