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.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_3.0.0_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_3.0.0_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.001591/0.001591, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002033/0.002034, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.55/1.55, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 69.95 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003161/0.3658, allocations: 1.793 MB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3674, allocations: 0.6283 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.124e-05/0.3675, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3676, allocations: 3.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3678, allocations: 27.84 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.3687, allocations: 349.2 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.3694, allocations: 0.6321 MB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3695, allocations: 37.09 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.3701, allocations: 386.8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3704, allocations: 171.3 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.3705, allocations: 40 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.3706, allocations: 44 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3707, allocations: 131.4 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.371, allocations: 234.7 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.3715, allocations: 0.5962 MB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3715, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3716, allocations: 4 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3716, allocations: 0 / 1.073 GB, free: 5.664 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.001361/0.3729, allocations: 0.9014 MB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.373, allocations: 8.031 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.3731, allocations: 52.47 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.3735, allocations: 342.1 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.105e-05/0.3736, allocations: 20.55 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.3737, allocations: 32.36 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3748, allocations: 235.5 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3749, allocations: 7.922 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.3749, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3749, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008404/0.3758, allocations: 119.9 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.3773, allocations: 0.6719 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.3784, allocations: 182.5 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.3792, allocations: 112.8 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.3792, allocations: 7.938 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.3804, allocations: 243.1 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.865e-06/0.3804, allocations: 0 / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002669/0.3831, allocations: 492.9 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.3831, allocations: 67.39 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.3837, allocations: 437.9 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-05/0.3838, allocations: 41.69 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3839, allocations: 109.3 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3839, allocations: 39.5 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.3842, allocations: 141.2 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3843, allocations: 330.8 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.3846, allocations: 135.9 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.385, allocations: 198.7 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.3854, allocations: 291.5 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3854, allocations: 4 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008879/0.3863, allocations: 0.524 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.3864, allocations: 95.38 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3864, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3864, allocations: 4 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.3866, allocations: 31.91 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3867, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.3872, allocations: 67.92 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/0.3873, allocations: 59.92 kB / 1.078 GB, free: 15.39 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.0002619/0.3875, allocations: 220.3 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.3876, allocations: 39.53 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.3877, allocations: 39.8 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3877, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3877, allocations: 8 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3877, allocations: 3.984 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.3899, allocations: 0.7846 MB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3899, allocations: 7.984 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.39, allocations: 4 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.39, allocations: 0 / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.39, allocations: 23.91 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.39, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.39, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.3918, allocations: 484.3 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.3921, allocations: 236.5 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.3922, allocations: 23.94 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.3927, allocations: 35.89 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3927, allocations: 7.984 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.3928, allocations: 63.98 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003131/0.3931, allocations: 323.1 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3931, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003963/0.3935, allocations: 71.84 kB / 1.081 GB, free: 12.95 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.0002244/0.3938, allocations: 127.9 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.3951, allocations: 486.7 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3951, allocations: 0 / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.3959, allocations: 126 kB / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3963, allocations: 44.45 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.398, allocations: 0.7271 MB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.3984, allocations: 0.7902 MB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.623e-05/0.3984, allocations: 17.42 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.3985, allocations: 19.42 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of SimCode: time 1.212e-06/0.3985, allocations: 0 / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.01012/0.4086, allocations: 5.603 MB / 1.088 GB, free: 4.844 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)