Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 288.4 MB / 303.7 MB, free: 8.047 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.001147/0.001146, allocations: 183.4 kB / 372.3 MB, free: 10.12 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.746/1.746, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000778/0.0007777, allocations: 104.1 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006828/0.0006831, allocations: 17.92 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3492, allocations: 115.3 MB / 0.9802 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.00255/0.3519, allocations: 1.358 MB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3531, allocations: 457.7 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/0.3532, allocations: 4 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.3534, allocations: 3.938 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3535, allocations: 23.84 kB / 0.982 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.3544, allocations: 220.1 kB / 0.9822 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.3548, allocations: 307.5 kB / 0.9825 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.355, allocations: 33.44 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.3554, allocations: 227.5 kB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.3556, allocations: 139.7 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.3557, allocations: 8 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.3558, allocations: 16 kB / 0.9829 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.3559, allocations: 83.77 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3561, allocations: 157.1 kB / 0.9831 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.3565, allocations: 319.5 kB / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3565, allocations: 0 / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3565, allocations: 0 / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3566, allocations: 0 / 0.9834 GB, free: 23.99 MB / 0.6198 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.001326/0.3579, allocations: 0.6376 MB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3579, allocations: 12.03 kB / 0.984 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3581, allocations: 36.56 kB / 0.9841 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.3585, allocations: 284.1 kB / 0.9843 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.3586, allocations: 12.56 kB / 0.9843 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.3586, allocations: 24.36 kB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.3591, allocations: 170 kB / 0.9845 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3591, allocations: 7.938 kB / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.3592, allocations: 0 / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3592, allocations: 4 kB / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.3594, allocations: 63.97 kB / 0.9846 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3609, allocations: 0.555 MB / 0.9851 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.3613, allocations: 142.7 kB / 0.9853 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3615, allocations: 60.83 kB / 0.9853 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.3615, allocations: 3.984 kB / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006128/0.3622, allocations: 233.7 kB / 0.9856 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.968e-06/0.3622, allocations: 0 / 0.9856 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008001/0.363, allocations: 286.8 kB / 0.9858 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3631, allocations: 67.25 kB / 0.9859 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.3635, allocations: 312.5 kB / 0.9862 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.3635, allocations: 33.7 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.3636, allocations: 109 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3637, allocations: 47.44 kB / 0.9864 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3637, allocations: 8 kB / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.3638, allocations: 322.8 kB / 0.9867 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.3642, allocations: 108.2 kB / 0.9868 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.3645, allocations: 162.4 kB / 0.987 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.365, allocations: 259.6 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.365, allocations: 0 / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009448/0.3659, allocations: 443.8 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.1e-05/0.366, allocations: 79.39 kB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3661, allocations: 4 kB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3661, allocations: 0 / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3663, allocations: 31.91 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3664, allocations: 0 / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.3671, allocations: 79.92 kB / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-05/0.3672, allocations: 51.98 kB / 0.9879 GB, free: 19.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 (28): * Single equations (assignments): 26 * 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.0002664/0.3675, allocations: 185.7 kB / 0.988 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.3675, allocations: 31.7 kB / 0.9881 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.3676, allocations: 38.34 kB / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3677, allocations: 0 / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3677, allocations: 0 / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3677, allocations: 0 / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.3687, allocations: 0.597 MB / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3688, allocations: 0 / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.3688, allocations: 7.984 kB / 0.9887 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3688, allocations: 4 kB / 0.9887 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.3689, allocations: 15.98 kB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3689, allocations: 3.938 kB / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3689, allocations: 7.938 kB / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.3695, allocations: 328.2 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.3697, allocations: 188.5 kB / 0.9892 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.3698, allocations: 15.98 kB / 0.9892 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.3701, allocations: 8 kB / 0.9892 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.3702, allocations: 27.91 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.3703, allocations: 27.98 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002885/0.3706, allocations: 231 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3706, allocations: 0 / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004974/0.3711, allocations: 48 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0002364/0.3714, allocations: 132.9 kB / 0.9897 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006706/0.3721, allocations: 363.3 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3721, allocations: 0 / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.3722, allocations: 75.91 kB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.3728, allocations: 32.62 kB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009415/0.3738, allocations: 489.6 kB / 0.9906 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3741, allocations: 0.7556 MB / 0.9913 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.3743, allocations: 37.42 kB / 0.9914 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3745, allocations: 43.36 kB / 0.9914 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.3745, allocations: 0 / 0.9914 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.01053/0.385, allocations: 4.312 MB / 0.9956 GB, free: 11 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)