Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.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.446/1.446, allocations: 252 MB / 267.6 MB, free: 10.94 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.001001/0.001001, allocations: 179 kB / 327.3 MB, free: 2.23 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.698/1.698, allocations: 205.4 MB / 0.5783 GB, free: 20.51 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.0007208/0.0007208, allocations: 83.98 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003271, allocations: 12.28 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.219, allocations: 106.3 MB / 0.9009 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001807/0.2209, allocations: 1.36 MB / 0.9022 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.2218, allocations: 474 kB / 0.9026 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.2219, allocations: 4 kB / 0.9026 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.982e-05/0.222, allocations: 11.92 kB / 0.9027 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.2221, allocations: 23.84 kB / 0.9027 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.2227, allocations: 209.4 kB / 0.9029 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.223, allocations: 303.5 kB / 0.9032 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2231, allocations: 37.31 kB / 0.9032 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.2234, allocations: 227.5 kB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.2235, allocations: 143.6 kB / 0.9036 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.2236, allocations: 8 kB / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.2237, allocations: 8 kB / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.2238, allocations: 83.78 kB / 0.9037 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.2238, allocations: 73.58 kB / 0.9037 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2241, allocations: 315.5 kB / 0.904 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2241, allocations: 4 kB / 0.904 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2241, allocations: 0 / 0.904 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2241, allocations: 0 / 0.904 GB, free: 61.14 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001009/0.2251, allocations: 0.6413 MB / 0.9047 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2252, allocations: 8.031 kB / 0.9047 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.2253, allocations: 43.56 kB / 0.9047 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.2256, allocations: 271.2 kB / 0.905 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.2256, allocations: 8 kB / 0.905 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.2257, allocations: 23.98 kB / 0.905 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.226, allocations: 169.4 kB / 0.9052 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.226, allocations: 3.938 kB / 0.9052 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.226, allocations: 4 kB / 0.9052 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.226, allocations: 7.984 kB / 0.9052 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.2262, allocations: 59.97 kB / 0.9052 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.2272, allocations: 0.5589 MB / 0.9058 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.2274, allocations: 142.6 kB / 0.9059 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.2276, allocations: 64.83 kB / 0.906 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2276, allocations: 4 kB / 0.906 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.228, allocations: 228 kB / 0.9062 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.228, allocations: 0 / 0.9062 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004936/0.2285, allocations: 281.3 kB / 0.9065 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2286, allocations: 71.38 kB / 0.9065 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.2288, allocations: 308.4 kB / 0.9068 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.2289, allocations: 41.7 kB / 0.9069 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.2289, allocations: 105 kB / 0.907 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.229, allocations: 35.55 kB / 0.907 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.229, allocations: 11.94 kB / 0.907 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.2291, allocations: 330.8 kB / 0.9073 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2293, allocations: 104.2 kB / 0.9074 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2295, allocations: 158.3 kB / 0.9076 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.2297, allocations: 171.7 kB / 0.9077 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2297, allocations: 0 / 0.9077 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000575/0.2303, allocations: 435.1 kB / 0.9082 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.2303, allocations: 79.38 kB / 0.9082 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2304, allocations: 4 kB / 0.9082 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2304, allocations: 7.953 kB / 0.9082 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2305, allocations: 28.17 kB / 0.9083 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2306, allocations: 15.91 kB / 0.9083 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.2311, allocations: 71.73 kB / 0.9084 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.2311, allocations: 47.98 kB / 0.9084 GB, free: 56.36 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.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.0001507/0.2313, allocations: 193.7 kB / 0.9086 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2313, allocations: 31.61 kB / 0.9086 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.2314, allocations: 30.36 kB / 0.9086 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2314, allocations: 0 / 0.9086 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2314, allocations: 3.953 kB / 0.9086 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2314, allocations: 4 kB / 0.9086 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.232, allocations: 0.6021 MB / 0.9092 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.232, allocations: 0 / 0.9092 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.232, allocations: 15.92 kB / 0.9093 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.232, allocations: 3.953 kB / 0.9093 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.2321, allocations: 11.98 kB / 0.9093 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2321, allocations: 4 kB / 0.9093 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2321, allocations: 0 / 0.9093 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.2324, allocations: 323.1 kB / 0.9096 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.2326, allocations: 180.6 kB / 0.9098 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.2326, allocations: 15.95 kB / 0.9098 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2328, allocations: 15.98 kB / 0.9098 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.2329, allocations: 15.97 kB / 0.9098 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.2329, allocations: 31.98 kB / 0.9098 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000149/0.2331, allocations: 227 kB / 0.91 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2331, allocations: 0 / 0.91 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000274/0.2334, allocations: 59.98 kB / 0.9101 GB, free: 54.51 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.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.0001754/0.2336, allocations: 125 kB / 0.9102 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.234, allocations: 365.2 kB / 0.9106 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.234, allocations: 0 / 0.9106 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.2342, allocations: 83.81 kB / 0.9106 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.2345, allocations: 34.59 kB / 0.9107 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.2351, allocations: 0.5211 MB / 0.9112 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.2353, allocations: 0.7633 MB / 0.9119 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2354, allocations: 31.42 kB / 0.912 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2354, allocations: 0 / 0.912 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.003962/0.2394, allocations: 3.329 MB / 0.9152 GB, free: 49.21 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)