Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 190.2 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 0.5786 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008829/0.0008826, allocations: 88.17 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 9.844 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2588, allocations: 106.3 MB / 0.9014 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001822/0.2607, allocations: 1.214 MB / 0.9026 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2618, allocations: 441.6 kB / 0.903 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.2618, allocations: 0 / 0.903 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.453e-05/0.2619, allocations: 7.922 kB / 0.9031 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2621, allocations: 20.3 kB / 0.9031 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.2628, allocations: 222.6 kB / 0.9033 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.2631, allocations: 287.9 kB / 0.9036 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.2632, allocations: 11.98 kB / 0.9036 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.2635, allocations: 214.3 kB / 0.9038 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.2637, allocations: 127.6 kB / 0.9039 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.2638, allocations: 8 kB / 0.9039 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.204e-05/0.2639, allocations: 8 kB / 0.9039 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.2641, allocations: 75.72 kB / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.2642, allocations: 149 kB / 0.9041 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2645, allocations: 199.9 kB / 0.9043 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2645, allocations: 0 / 0.9043 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2645, allocations: 0 / 0.9043 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2645, allocations: 0 / 0.9043 GB, free: 60.88 MB / 0.6042 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.001172/0.2657, allocations: 0.6237 MB / 0.9049 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2657, allocations: 12.03 kB / 0.9049 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2659, allocations: 31.62 kB / 0.905 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2662, allocations: 258.2 kB / 0.9052 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.2662, allocations: 19.92 kB / 0.9052 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.2663, allocations: 16 kB / 0.9052 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2666, allocations: 141.5 kB / 0.9054 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2667, allocations: 0 / 0.9054 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.2667, allocations: 15.92 kB / 0.9054 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2667, allocations: 0 / 0.9054 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.2669, allocations: 47.97 kB / 0.9054 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.2672, allocations: 313.4 kB / 0.9057 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.2676, allocations: 126.7 kB / 0.9059 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2677, allocations: 60.83 kB / 0.9059 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.2678, allocations: 4 kB / 0.9059 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005323/0.2683, allocations: 219.5 kB / 0.9061 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.2683, allocations: 4 kB / 0.9061 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006727/0.269, allocations: 267.5 kB / 0.9064 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2691, allocations: 67.38 kB / 0.9065 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.2693, allocations: 290.8 kB / 0.9067 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.2694, allocations: 41.7 kB / 0.9068 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.2695, allocations: 89.14 kB / 0.9069 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.2695, allocations: 51.38 kB / 0.9069 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.2696, allocations: 8 kB / 0.9069 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.2697, allocations: 322.8 kB / 0.9072 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.2699, allocations: 92.17 kB / 0.9073 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.2702, allocations: 146.4 kB / 0.9075 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.2706, allocations: 244.9 kB / 0.9077 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2706, allocations: 0 / 0.9077 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007884/0.2714, allocations: 420.6 kB / 0.9081 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/0.2715, allocations: 75.58 kB / 0.9082 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2715, allocations: 4 kB / 0.9082 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2715, allocations: 4 kB / 0.9082 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2717, allocations: 23.97 kB / 0.9082 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2717, allocations: 7.938 kB / 0.9082 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.2724, allocations: 67.86 kB / 0.9083 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/0.2725, allocations: 55.98 kB / 0.9083 GB, free: 56.45 MB / 0.6042 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.2727, allocations: 179.8 kB / 0.9085 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2728, allocations: 27.62 kB / 0.9085 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.2729, allocations: 34.25 kB / 0.9085 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2729, allocations: 3.984 kB / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2729, allocations: 0 / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2729, allocations: 4 kB / 0.9086 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.2737, allocations: 0.5568 MB / 0.9091 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2738, allocations: 0 / 0.9091 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.2738, allocations: 11.94 kB / 0.9091 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2738, allocations: 0 / 0.9091 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2739, allocations: 15.97 kB / 0.9091 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.2739, allocations: 11.88 kB / 0.9091 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2739, allocations: 0 / 0.9091 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.2743, allocations: 321.6 kB / 0.9094 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.2745, allocations: 156.7 kB / 0.9096 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.2746, allocations: 8 kB / 0.9096 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.2749, allocations: 15.92 kB / 0.9096 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.275, allocations: 19.97 kB / 0.9096 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.275, allocations: 27.98 kB / 0.9097 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001926/0.2752, allocations: 209.9 kB / 0.9099 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2752, allocations: 4 kB / 0.9099 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004203/0.2757, allocations: 52 kB / 0.9099 GB, free: 54.72 MB / 0.6042 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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 (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.0001296/0.2758, allocations: 111.2 kB / 0.91 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006048/0.2764, allocations: 346.5 kB / 0.9104 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2764, allocations: 0 / 0.9104 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.2766, allocations: 71.97 kB / 0.9104 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.2771, allocations: 25.25 kB / 0.9104 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/0.2779, allocations: 0.4941 MB / 0.9109 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2781, allocations: 0.7505 MB / 0.9117 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.2783, allocations: 31.42 kB / 0.9117 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.2783, allocations: 0 / 0.9117 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.005309/0.2836, allocations: 2.962 MB / 0.9146 GB, free: 49.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)