Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 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.001209/0.001209, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 61.83 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3227, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003238/0.3259, allocations: 1.525 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3276, allocations: 0.5436 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3277, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.3279, allocations: 11.86 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.3281, allocations: 23.86 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.3293, allocations: 318.7 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.3301, allocations: 0.5033 MB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.3302, allocations: 7.984 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.3308, allocations: 275.6 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.3311, allocations: 135.6 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3312, allocations: 28 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3313, allocations: 24 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3315, allocations: 115.7 kB / 1.072 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3317, allocations: 183 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.3321, allocations: 431 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3322, allocations: 7.938 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3322, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3322, allocations: 0 / 1.072 GB, free: 6.359 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.001182/0.3334, allocations: 0.8587 MB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3334, allocations: 8.031 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.3336, allocations: 48.47 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.334, allocations: 318.2 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.334, allocations: 20.36 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.3341, allocations: 28.31 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.3351, allocations: 210 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3351, allocations: 192 / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.3352, allocations: 11.94 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3352, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.336, allocations: 103.9 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.3364, allocations: 389.2 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3375, allocations: 178.4 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007365/0.3382, allocations: 112.8 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3383, allocations: 4 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009868/0.3393, allocations: 223.1 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.3393, allocations: 0 / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002603/0.3419, allocations: 491.2 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3419, allocations: 59.39 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.3424, allocations: 409.9 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.3424, allocations: 45.62 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.3425, allocations: 97.44 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.3426, allocations: 35.47 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3428, allocations: 133.2 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3429, allocations: 330.8 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3432, allocations: 119.9 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.3435, allocations: 167.6 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.3438, allocations: 278.8 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3438, allocations: 0 / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000793/0.3446, allocations: 495 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-05/0.3447, allocations: 95.34 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3448, allocations: 3.984 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3448, allocations: 4 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3449, allocations: 23.91 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.345, allocations: 4 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.3455, allocations: 59.8 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.3456, allocations: 63.92 kB / 1.077 GB, free: 0.6875 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.000223/0.3458, allocations: 196.5 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.3459, allocations: 43.45 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.3459, allocations: 39.75 kB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3459, allocations: 0 / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.346, allocations: 0 / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.346, allocations: 4 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.3482, allocations: 0.748 MB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3482, allocations: 0 / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.3482, allocations: 8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3483, allocations: 3.938 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.3483, allocations: 19.97 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3483, allocations: 8 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3483, allocations: 0 / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3501, allocations: 480.8 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.3503, allocations: 200.5 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.3504, allocations: 8 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.3509, allocations: 35.95 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3509, allocations: 4 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/0.351, allocations: 59.97 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002744/0.3513, allocations: 291.1 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3513, allocations: 0 / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003836/0.3517, allocations: 75.98 kB / 1.08 GB, free: 14.4 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.0001535/0.3519, allocations: 123.7 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.3532, allocations: 442.9 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3532, allocations: 384 / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.354, allocations: 119.9 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3544, allocations: 30.42 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3559, allocations: 0.5513 MB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3563, allocations: 0.7746 MB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.2e-05/0.3563, allocations: 21 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.3564, allocations: 11.44 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3564, allocations: 0 / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of Templates: time 0.008589/0.365, allocations: 4.975 MB / 1.086 GB, free: 7.195 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)