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.001076/0.001076, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.01128/0.01128, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.086/3.086, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 9.219 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3359, allocations: 162.2 MB / 1.074 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00153/0.3375, allocations: 1.232 MB / 1.075 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3387, allocations: 0.589 MB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.3387, allocations: 0 / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.332e-05/0.3388, allocations: 3.938 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.3389, allocations: 27.86 kB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.3396, allocations: 283.1 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.34, allocations: 455.3 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.3401, allocations: 11.98 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.3405, allocations: 311 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.3407, allocations: 155.4 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.3408, allocations: 16 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.3409, allocations: 12 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.341, allocations: 123.3 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3412, allocations: 204.5 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.3416, allocations: 410.9 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3416, allocations: 0 / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3416, allocations: 8 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3416, allocations: 0 / 1.078 GB, free: 3.793 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.0009872/0.3426, allocations: 0.7498 MB / 1.079 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3427, allocations: 8.031 kB / 1.079 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.3428, allocations: 48.56 kB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.3431, allocations: 310.2 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.3432, allocations: 24.3 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.3433, allocations: 32.36 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000989/0.3443, allocations: 218 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3443, allocations: 192 / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.3443, allocations: 3.938 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3443, allocations: 8 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.3451, allocations: 107.9 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.3456, allocations: 393.2 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3467, allocations: 198.5 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/0.3475, allocations: 125 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.3475, allocations: 12 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000981/0.3485, allocations: 235 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.3485, allocations: 4 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002748/0.3513, allocations: 0.5073 MB / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3514, allocations: 63.34 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.3518, allocations: 413.9 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.3518, allocations: 37.7 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.3519, allocations: 97.44 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.352, allocations: 39.7 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.3521, allocations: 37.7 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3522, allocations: 318.8 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3525, allocations: 123.9 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.3528, allocations: 174.4 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3532, allocations: 278.8 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3532, allocations: 0 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008177/0.354, allocations: 494.1 kB / 1.083 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.3541, allocations: 96.55 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3541, allocations: 4 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3542, allocations: 3.938 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3543, allocations: 23.92 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3544, allocations: 4.188 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.3549, allocations: 75.67 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.355, allocations: 63.97 kB / 1.083 GB, free: 14.21 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.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.0002285/0.3552, allocations: 196 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3553, allocations: 39.47 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.3553, allocations: 43.73 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3554, allocations: 4 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3554, allocations: 0 / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3554, allocations: 0 / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.3577, allocations: 0.7636 MB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3577, allocations: 0 / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.3577, allocations: 7.984 kB / 1.084 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3578, allocations: 4 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.3578, allocations: 19.98 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3578, allocations: 0 / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3578, allocations: 0 / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.3597, allocations: 0.4925 MB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3599, allocations: 200.5 kB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.36, allocations: 19.92 kB / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.3605, allocations: 31.97 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.3605, allocations: 11.98 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.3606, allocations: 59.97 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000287/0.3609, allocations: 299.1 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3609, allocations: 0 / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003581/0.3613, allocations: 60 kB / 1.085 GB, free: 11.88 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.000144/0.3614, allocations: 123.7 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.3628, allocations: 454.5 kB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3628, allocations: 0 / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008193/0.3636, allocations: 132.2 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.364, allocations: 29.48 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3656, allocations: 0.6764 MB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3659, allocations: 0.7749 MB / 1.087 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.31e-05/0.366, allocations: 17.06 kB / 1.087 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.366, allocations: 15.44 kB / 1.087 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.366, allocations: 0 / 1.087 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of Templates: time 0.008747/0.3748, allocations: 4.929 MB / 1.092 GB, free: 4.562 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)