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.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 195.8 kB / 16.53 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 66.77 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3822, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.004313/0.3865, allocations: 1.738 MB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3886, allocations: 0.6283 MB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3887, allocations: 4 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.3888, allocations: 7.875 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.3891, allocations: 31.8 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3904, allocations: 367.3 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009009/0.3913, allocations: 0.6282 MB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.3916, allocations: 41.06 kB / 1.072 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00063/0.3922, allocations: 303.6 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.3926, allocations: 151.5 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.3928, allocations: 40 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.393, allocations: 47.94 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.3932, allocations: 123.6 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.3935, allocations: 215 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.3944, allocations: 0.5962 MB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3944, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3944, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.3944, allocations: 4 kB / 1.073 GB, free: 5.508 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.001834/0.3963, allocations: 0.9169 MB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3963, allocations: 8.031 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.3965, allocations: 56.47 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.3971, allocations: 330.2 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/0.3972, allocations: 20.56 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.3973, allocations: 28.36 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.3988, allocations: 235.6 kB / 1.075 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3988, allocations: 3.938 kB / 1.075 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.3989, allocations: 15.98 kB / 1.075 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3989, allocations: 3.938 kB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.4001, allocations: 111.9 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.4018, allocations: 0.6759 MB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.4034, allocations: 186.4 kB / 1.076 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.4046, allocations: 118.7 kB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.4046, allocations: 0 / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.4061, allocations: 231.1 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.715e-06/0.4061, allocations: 4 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.00396/0.4101, allocations: 0.4984 MB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.4101, allocations: 55.41 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.4108, allocations: 437.9 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.4109, allocations: 41.69 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4111, allocations: 101.3 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.4112, allocations: 47.47 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.4115, allocations: 141.2 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4116, allocations: 326.8 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.4121, allocations: 143.9 kB / 1.078 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.4127, allocations: 190.9 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.4133, allocations: 311.6 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4133, allocations: 0 / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00139/0.4147, allocations: 0.5085 MB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4148, allocations: 99.36 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4149, allocations: 4.188 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.4149, allocations: 4 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.4151, allocations: 23.92 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4152, allocations: 4 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.4159, allocations: 59.73 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.4161, allocations: 67.91 kB / 1.079 GB, free: 15.23 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.0003875/0.4165, allocations: 220.3 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.4166, allocations: 35.53 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.4167, allocations: 39.78 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4167, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4167, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4167, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.42, allocations: 0.7967 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.42, allocations: 0 / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.4201, allocations: 8 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4201, allocations: 0 / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.4202, allocations: 27.91 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4202, allocations: 0 / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4202, allocations: 0 / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.4228, allocations: 486.7 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.4233, allocations: 236.5 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.4234, allocations: 31.91 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.4242, allocations: 27.97 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4242, allocations: 11.98 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.4244, allocations: 55.98 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004936/0.4249, allocations: 319.1 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.4249, allocations: 0 / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007009/0.4256, allocations: 71.89 kB / 1.081 GB, free: 12.79 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.0002715/0.4259, allocations: 139.9 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.4279, allocations: 476.3 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4279, allocations: 3.938 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4291, allocations: 124.3 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.4298, allocations: 36.94 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.4321, allocations: 0.5985 MB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.4326, allocations: 0.7902 MB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.4328, allocations: 13.42 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.4328, allocations: 23.38 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.4328, allocations: 3.938 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.009689/0.4425, allocations: 5.441 MB / 1.089 GB, free: 4.984 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)