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.783/1.783, allocations: 252 MB / 268 MB, free: 10.86 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.00199/0.00199, allocations: 179.3 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008832/0.0008832, allocations: 94.28 kB / 0.6832 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8.812 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2166, allocations: 106.3 MB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001726/0.2184, allocations: 1.207 MB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2195, allocations: 446.3 kB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.2196, allocations: 0 / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2197, allocations: 3.938 kB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2198, allocations: 28.28 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/0.2206, allocations: 222.1 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.2209, allocations: 283.9 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.221, allocations: 8 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.2213, allocations: 214.3 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.2216, allocations: 123.6 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/0.2217, allocations: 12 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.2218, allocations: 12 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2219, allocations: 75.72 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2221, allocations: 145.1 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2222, allocations: 195.9 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2223, allocations: 0 / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2223, allocations: 0 / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2223, allocations: 3.938 kB / 0.9043 GB, free: 60.39 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.001038/0.2233, allocations: 0.6181 MB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2234, allocations: 8.031 kB / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.2235, allocations: 35.61 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.2238, allocations: 266.2 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.2238, allocations: 11.98 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.2239, allocations: 24 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2242, allocations: 145.5 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2242, allocations: 0 / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.2242, allocations: 7.984 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2242, allocations: 3.938 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2244, allocations: 43.98 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.2246, allocations: 313.4 kB / 0.9057 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.2249, allocations: 130.6 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.225, allocations: 60.83 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.2251, allocations: 4 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004095/0.2255, allocations: 227.5 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.2255, allocations: 4 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000495/0.226, allocations: 261.2 kB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.226, allocations: 59.41 kB / 0.9064 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2263, allocations: 298.8 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2263, allocations: 37.7 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.2264, allocations: 89.14 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.2264, allocations: 51.38 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2265, allocations: 11.98 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.2265, allocations: 326.8 kB / 0.9072 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2267, allocations: 92.17 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2269, allocations: 146.4 kB / 0.9075 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.2272, allocations: 245.3 kB / 0.9077 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2272, allocations: 0 / 0.9077 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005563/0.2278, allocations: 416.9 kB / 0.9081 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.2278, allocations: 71.58 kB / 0.9082 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2278, allocations: 8 kB / 0.9082 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2279, allocations: 0 / 0.9082 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.2281, allocations: 35.91 kB / 0.9082 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2281, allocations: 0 / 0.9082 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.2286, allocations: 75.8 kB / 0.9083 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.2287, allocations: 47.98 kB / 0.9083 GB, free: 55.96 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.0001478/0.2288, allocations: 179.9 kB / 0.9085 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.2289, allocations: 27.62 kB / 0.9085 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.2289, allocations: 30.25 kB / 0.9085 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2289, allocations: 0 / 0.9085 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2289, allocations: 4 kB / 0.9085 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2289, allocations: 4 kB / 0.9085 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.2297, allocations: 0.5594 MB / 0.9091 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2297, allocations: 0 / 0.9091 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.2297, allocations: 8 kB / 0.9091 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2297, allocations: 0 / 0.9091 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.2298, allocations: 15.98 kB / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2298, allocations: 7.922 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2298, allocations: 3.938 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.2301, allocations: 323 kB / 0.9094 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.2303, allocations: 148.7 kB / 0.9096 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.2304, allocations: 8 kB / 0.9096 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2306, allocations: 19.92 kB / 0.9096 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2307, allocations: 11.98 kB / 0.9096 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.2307, allocations: 47.89 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001479/0.2309, allocations: 205.9 kB / 0.9099 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2309, allocations: 0 / 0.9099 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000281/0.2312, allocations: 55.98 kB / 0.9099 GB, free: 54.23 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.0001287/0.2313, allocations: 107.2 kB / 0.91 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.2318, allocations: 348.8 kB / 0.9103 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2318, allocations: 0 / 0.9103 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2319, allocations: 75.91 kB / 0.9104 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2323, allocations: 31.36 kB / 0.9104 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.2329, allocations: 494.3 kB / 0.9109 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2331, allocations: 0.7514 MB / 0.9117 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.2332, allocations: 35.42 kB / 0.9117 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2333, allocations: 0 / 0.9117 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.004144/0.2374, allocations: 2.961 MB / 0.9146 GB, free: 49.36 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)