Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009354/0.0009356, allocations: 189.2 kB / 326.5 MB, free: 2.688 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.805/1.805, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0009783/0.0009786, allocations: 104.1 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 6.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2659, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00157/0.2675, allocations: 1.214 MB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008526/0.2683, allocations: 449.3 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.2684, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2685, allocations: 7.922 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.2686, allocations: 24.28 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.2692, allocations: 225.1 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.2694, allocations: 287.9 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.2695, allocations: 15.94 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.2697, allocations: 206.3 kB / 0.8991 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2699, allocations: 123.5 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.2699, allocations: 8 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.27, allocations: 12 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.2701, allocations: 75.77 kB / 0.8993 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2702, allocations: 127.3 kB / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2704, allocations: 191.6 kB / 0.8996 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2704, allocations: 4 kB / 0.8996 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2704, allocations: 0 / 0.8996 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.2704, allocations: 0 / 0.8996 GB, free: 65.26 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.0009106/0.2714, allocations: 0.6142 MB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2714, allocations: 8.031 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.2715, allocations: 39.62 kB / 0.9002 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.2717, allocations: 262.2 kB / 0.9005 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.2718, allocations: 12 kB / 0.9005 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.2718, allocations: 19.98 kB / 0.9005 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2721, allocations: 149.5 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2721, allocations: 0 / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2721, allocations: 0 / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2721, allocations: 4 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.2722, allocations: 43.97 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.2725, allocations: 317.3 kB / 0.901 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.2727, allocations: 130.6 kB / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2728, allocations: 60.83 kB / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2729, allocations: 384 / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.2732, allocations: 223.5 kB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.2733, allocations: 0 / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004953/0.2738, allocations: 269.1 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2738, allocations: 59.39 kB / 0.9017 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.274, allocations: 298.8 kB / 0.902 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.2741, allocations: 37.7 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.2741, allocations: 93.12 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.2742, allocations: 43.45 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.2742, allocations: 37.7 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.2743, allocations: 322.8 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2745, allocations: 100.1 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.2747, allocations: 146.4 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.2749, allocations: 245.2 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.2749, allocations: 0 / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005388/0.2755, allocations: 414.5 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.2755, allocations: 75.38 kB / 0.9034 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2755, allocations: 4 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2756, allocations: 4 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2757, allocations: 23.92 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2757, allocations: 12.17 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.2762, allocations: 71.8 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.2763, allocations: 55.92 kB / 0.9036 GB, free: 60.8 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 (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,$whenCondition3,$whenCondition4) * 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.0001351/0.2764, allocations: 176 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.2765, allocations: 31.61 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.2765, allocations: 30.25 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2765, allocations: 4 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2765, allocations: 0 / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2765, allocations: 0 / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.2771, allocations: 0.5606 MB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2772, allocations: 0 / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.2772, allocations: 19.92 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2772, allocations: 0 / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2772, allocations: 11.98 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2772, allocations: 3.938 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2773, allocations: 0 / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.2776, allocations: 325.2 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2777, allocations: 152.7 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.2778, allocations: 15.98 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.278, allocations: 19.86 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.278, allocations: 19.98 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.2781, allocations: 23.98 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001347/0.2782, allocations: 209.9 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2782, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002732/0.2785, allocations: 52 kB / 0.9052 GB, free: 59.07 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.0001068/0.2786, allocations: 119.2 kB / 0.9053 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.2791, allocations: 342.5 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2791, allocations: 0 / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2792, allocations: 71.91 kB / 0.9057 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.2795, allocations: 28.84 kB / 0.9057 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.2801, allocations: 494.3 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.2803, allocations: 0.7514 MB / 0.9069 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2804, allocations: 35.42 kB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2804, allocations: 0 / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.003987/0.2844, allocations: 2.961 MB / 0.9099 GB, free: 54.21 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)