Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 171.6 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.6367 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 93.95 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005232/0.000523, allocations: 8 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3617, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8312/1.193, allocations: 141.9 MB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/1.193, allocations: 70.56 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01554/1.209, allocations: 5.312 MB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/1.209, allocations: 7.938 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.773e-05/1.209, allocations: 4 kB / 1.132 GB, free: 29.7 MB / 0.7292 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.001051/1.21, allocations: 0.6839 MB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.21, allocations: 12.72 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/1.21, allocations: 35.34 kB / 1.133 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/1.211, allocations: 273.3 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/1.211, allocations: 20.8 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/1.211, allocations: 25.25 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/1.212, allocations: 228.2 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.212, allocations: 0 / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/1.212, allocations: 5.125 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.212, allocations: 4 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/1.213, allocations: 123.2 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/1.214, allocations: 0.6035 MB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.215, allocations: 193.2 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/1.215, allocations: 4.797 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008953/1.216, allocations: 226.2 kB / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.235e-06/1.216, allocations: 0 / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002447/1.219, allocations: 494.5 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/1.219, allocations: 60.58 kB / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/1.219, allocations: 285.1 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/1.219, allocations: 38.45 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/1.219, allocations: 99.77 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/1.219, allocations: 43.02 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/1.219, allocations: 8.703 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/1.22, allocations: 322.7 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/1.22, allocations: 111.9 kB / 1.136 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/1.22, allocations: 159.1 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/1.22, allocations: 169.8 kB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.22, allocations: 0 / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007492/1.221, allocations: 427.7 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/1.221, allocations: 77.27 kB / 1.137 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.221, allocations: 8.703 kB / 1.137 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.221, allocations: 4.797 kB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.221, allocations: 21.84 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.222, allocations: 4.625 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/1.222, allocations: 47.33 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/1.222, allocations: 44.22 kB / 1.137 GB, free: 25.21 MB / 0.7292 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002273/1.222, allocations: 188.9 kB / 1.137 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/1.222, allocations: 32.94 kB / 1.137 GB, free: 25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.014e-05/1.222, allocations: 26.92 kB / 1.137 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.222, allocations: 4 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.222, allocations: 0 / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.222, allocations: 0.5625 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/1.224, allocations: 0.7618 MB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.224, allocations: 1.766 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/1.224, allocations: 4.75 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.224, allocations: 2.062 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/1.225, allocations: 18.38 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.225, allocations: 0.6562 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.225, allocations: 0.9375 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/1.226, allocations: 484.7 kB / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/1.226, allocations: 184.2 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/1.227, allocations: 18.22 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/1.227, allocations: 39.95 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/1.227, allocations: 6.625 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/1.227, allocations: 43.08 kB / 1.139 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002527/1.227, allocations: 231.9 kB / 1.139 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/1.227, allocations: 0 / 1.139 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003828/1.228, allocations: 53.78 kB / 1.139 GB, free: 23.32 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002163/1.228, allocations: 132.8 kB / 1.139 GB, free: 23.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.229, allocations: 431.2 kB / 1.139 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.229, allocations: 0 / 1.139 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006973/1.23, allocations: 133.3 kB / 1.14 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/1.23, allocations: 30.73 kB / 1.14 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/1.232, allocations: 0.5366 MB / 1.14 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/1.232, allocations: 0.7641 MB / 1.141 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.339e-05/1.232, allocations: 17.33 kB / 1.141 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/1.232, allocations: 13.03 kB / 1.141 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.232, allocations: 0 / 1.141 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.01013/1.242, allocations: 4.34 MB / 1.145 GB, free: 18.88 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)