Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, 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.00195/0.00195, allocations: 194.2 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 62.75 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002718/0.3173, allocations: 1.567 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3184, allocations: 0.5479 MB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.3185, allocations: 3.938 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.827e-05/0.3186, allocations: 3.984 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3187, allocations: 23.86 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.3195, allocations: 294.6 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.32, allocations: 0.4995 MB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.32, allocations: 7.984 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.3204, allocations: 346.9 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.3207, allocations: 159.5 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.3208, allocations: 28 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.192e-05/0.3209, allocations: 24 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.321, allocations: 123.4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.3212, allocations: 202.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.3216, allocations: 418.9 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3216, allocations: 11.94 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3216, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3217, allocations: 0 / 1.072 GB, free: 6.586 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001278/0.3229, allocations: 0.8703 MB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.323, allocations: 8.031 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.3231, allocations: 52.47 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.3235, allocations: 314.2 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.3235, allocations: 12.36 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.3236, allocations: 36.36 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3247, allocations: 206 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3247, allocations: 192 / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.3247, allocations: 7.922 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3247, allocations: 7.984 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.3255, allocations: 99.92 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.3259, allocations: 397.1 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.327, allocations: 174.5 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.3277, allocations: 116.8 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3278, allocations: 384 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009992/0.3288, allocations: 219.1 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.3288, allocations: 4 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002556/0.3314, allocations: 494.8 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3314, allocations: 55.41 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.3318, allocations: 413.9 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.3319, allocations: 37.7 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3319, allocations: 93.44 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.332, allocations: 39.45 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.3322, allocations: 129.3 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.3323, allocations: 326.8 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.3326, allocations: 123.9 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.3329, allocations: 171.1 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.3332, allocations: 279.1 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3332, allocations: 0 / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007922/0.334, allocations: 488.8 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/0.3341, allocations: 99.33 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3341, allocations: 7.938 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3342, allocations: 0 / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3343, allocations: 23.92 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3344, allocations: 4 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.3349, allocations: 55.8 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.335, allocations: 63.97 kB / 1.077 GB, free: 0.9141 MB / 0.8262 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.000207/0.3352, allocations: 196 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.3352, allocations: 43.41 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.3353, allocations: 43.73 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3353, allocations: 4 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3353, allocations: 0 / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3353, allocations: 0 / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.3376, allocations: 0.748 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3376, allocations: 0 / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.3377, allocations: 11.98 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3377, allocations: 0 / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.3377, allocations: 19.98 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3378, allocations: 4 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3378, allocations: 3.984 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3396, allocations: 484.9 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.3399, allocations: 200.4 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.3399, allocations: 15.98 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.3405, allocations: 27.97 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.3405, allocations: 11.98 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.3406, allocations: 51.98 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002802/0.3409, allocations: 295.1 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3409, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003578/0.3412, allocations: 67.98 kB / 1.079 GB, free: 14.62 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001463/0.3414, allocations: 123.1 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.3427, allocations: 442.5 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3427, allocations: 384 / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.3436, allocations: 119.9 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3439, allocations: 34.11 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3456, allocations: 0.6724 MB / 1.08 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3459, allocations: 0.7746 MB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.422e-05/0.346, allocations: 13.08 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.346, allocations: 19.42 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.346, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.008514/0.3546, allocations: 5.101 MB / 1.086 GB, free: 7.148 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)