Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.544/1.544, 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.001491/0.001491, allocations: 172.6 kB / 327.6 MB, free: 2.094 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.989/1.989, 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.0007913/0.0007913, allocations: 101.3 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 13.08 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001885/0.2366, allocations: 1.21 MB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.2376, allocations: 446.3 kB / 0.903 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.2377, allocations: 0 / 0.903 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.855e-05/0.2378, allocations: 7.938 kB / 0.9031 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.238, allocations: 16.28 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/0.2387, allocations: 226.5 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.2391, allocations: 283.9 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/0.2391, allocations: 8 kB / 0.9036 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.2395, allocations: 218.3 kB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.2397, allocations: 119.6 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.2398, allocations: 16 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.2399, allocations: 8 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.24, allocations: 79.72 kB / 0.904 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.2402, allocations: 145.1 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2404, allocations: 187.9 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2404, allocations: 0 / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2404, allocations: 0 / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.2405, allocations: 4 kB / 0.9043 GB, free: 60.55 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.001091/0.2415, allocations: 0.6202 MB / 0.9049 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2416, allocations: 8.031 kB / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2417, allocations: 35.62 kB / 0.905 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.242, allocations: 274.2 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.2421, allocations: 16 kB / 0.9052 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.2421, allocations: 15.98 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2424, allocations: 149.5 kB / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2424, allocations: 0 / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.2425, allocations: 8 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2425, allocations: 0 / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2426, allocations: 43.97 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.243, allocations: 313.4 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.2432, allocations: 134.6 kB / 0.9059 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.2433, allocations: 52.83 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.2434, allocations: 12 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.2438, allocations: 207.5 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.825e-06/0.2438, allocations: 3.938 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005309/0.2443, allocations: 277.1 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2444, allocations: 63.39 kB / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.2446, allocations: 294.8 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.2447, allocations: 37.69 kB / 0.9068 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.2447, allocations: 93.14 kB / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.2448, allocations: 43.39 kB / 0.9069 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.2448, allocations: 8 kB / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.2449, allocations: 326.8 kB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.2451, allocations: 96.17 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.2453, allocations: 150.3 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.2456, allocations: 243.8 kB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2456, allocations: 0 / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005995/0.2462, allocations: 416.6 kB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.2463, allocations: 75.39 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2463, allocations: 4.188 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2464, allocations: 7.938 kB / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.2465, allocations: 23.97 kB / 0.9082 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2466, allocations: 7.938 kB / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.2471, allocations: 67.86 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.2472, allocations: 59.92 kB / 0.9083 GB, free: 56.11 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.0001567/0.2473, allocations: 171.9 kB / 0.9085 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.2474, allocations: 27.62 kB / 0.9085 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.2475, allocations: 26.25 kB / 0.9085 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2475, allocations: 4 kB / 0.9085 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2475, allocations: 7.922 kB / 0.9085 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2475, allocations: 0 / 0.9085 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.2482, allocations: 0.5594 MB / 0.9091 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2482, allocations: 0 / 0.9091 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.2483, allocations: 11.92 kB / 0.9091 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2483, allocations: 4 kB / 0.9091 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.2483, allocations: 11.98 kB / 0.9091 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2483, allocations: 3.938 kB / 0.9091 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2483, allocations: 0 / 0.9091 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.2488, allocations: 327 kB / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.249, allocations: 156.7 kB / 0.9096 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.2491, allocations: 8 kB / 0.9096 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2493, allocations: 15.92 kB / 0.9096 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.2494, allocations: 15.98 kB / 0.9096 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.2495, allocations: 31.98 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001577/0.2496, allocations: 209.9 kB / 0.9099 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2496, allocations: 3.938 kB / 0.9099 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003012/0.2499, allocations: 51.98 kB / 0.9099 GB, free: 54.38 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.0001309/0.2501, allocations: 118.9 kB / 0.91 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.2506, allocations: 348.5 kB / 0.9104 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2506, allocations: 0 / 0.9104 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.2507, allocations: 67.95 kB / 0.9104 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.2511, allocations: 25.25 kB / 0.9104 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.2518, allocations: 0.4926 MB / 0.9109 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.252, allocations: 0.7476 MB / 0.9117 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2521, allocations: 39.41 kB / 0.9117 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2521, allocations: 0 / 0.9117 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.005477/0.2576, allocations: 2.965 MB / 0.9146 GB, free: 49.51 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)