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.421/1.421, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.0009532/0.0009531, allocations: 178.4 kB / 326.5 MB, free: 2.676 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.523/1.523, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0007133/0.0007133, allocations: 94.48 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003476, allocations: 16.66 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001669/0.222, allocations: 1.399 MB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000854/0.2229, allocations: 0.5088 MB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.2229, allocations: 0 / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.2231, allocations: 3.938 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.2232, allocations: 32.22 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.2238, allocations: 255.6 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.224, allocations: 351.8 kB / 0.8992 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2241, allocations: 49.2 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.2243, allocations: 210.3 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.2245, allocations: 131.5 kB / 0.8996 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.2246, allocations: 12 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.2247, allocations: 8 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.2248, allocations: 79.72 kB / 0.8997 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2249, allocations: 131.3 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2251, allocations: 319.2 kB / 0.9001 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2251, allocations: 0 / 0.9001 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2251, allocations: 4 kB / 0.9001 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.2251, allocations: 0 / 0.9001 GB, free: 64.65 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.0008876/0.226, allocations: 0.6258 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2261, allocations: 12.03 kB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.2262, allocations: 35.62 kB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2264, allocations: 282.8 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.2265, allocations: 23.98 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.2265, allocations: 20 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.2268, allocations: 169.5 kB / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2268, allocations: 0 / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.2269, allocations: 0 / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2269, allocations: 4 kB / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.227, allocations: 59.97 kB / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.228, allocations: 0.5665 MB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2282, allocations: 146.6 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2283, allocations: 58.66 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2284, allocations: 11.98 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.2288, allocations: 228.2 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.2288, allocations: 4 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004922/0.2293, allocations: 281 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2293, allocations: 63.39 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.2296, allocations: 320.4 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.2296, allocations: 41.69 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.2297, allocations: 97.05 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.2297, allocations: 39.59 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.2298, allocations: 37.69 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.2298, allocations: 330.8 kB / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.23, allocations: 104.2 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.2302, allocations: 162.4 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.2305, allocations: 264.5 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2305, allocations: 0 / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005736/0.2311, allocations: 436.6 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.2312, allocations: 89.94 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2312, allocations: 4 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2312, allocations: 4 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2314, allocations: 27.92 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2314, allocations: 4 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.2319, allocations: 71.8 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.2319, allocations: 55.97 kB / 0.9046 GB, free: 59.71 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * 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.0001455/0.2321, allocations: 185.7 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.2321, allocations: 31.56 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.2322, allocations: 34.36 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2322, allocations: 4 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2322, allocations: 0 / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2322, allocations: 7.984 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.2328, allocations: 0.5919 MB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2328, allocations: 7.938 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.2328, allocations: 7.984 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2329, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2329, allocations: 19.92 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2329, allocations: 0 / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2329, allocations: 0 / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.2332, allocations: 334.9 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.2334, allocations: 180.7 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.2334, allocations: 8 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2337, allocations: 15.98 kB / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.2337, allocations: 11.98 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.2338, allocations: 35.97 kB / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001459/0.2339, allocations: 227 kB / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2339, allocations: 0 / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002844/0.2342, allocations: 59.91 kB / 0.9063 GB, free: 57.86 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 (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.0001374/0.2343, allocations: 124.9 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.2348, allocations: 369.2 kB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2348, allocations: 0 / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2349, allocations: 79.91 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2353, allocations: 33 kB / 0.9069 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.236, allocations: 0.5427 MB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2362, allocations: 0.7555 MB / 0.9082 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2363, allocations: 47.34 kB / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2363, allocations: 0 / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.004152/0.2404, allocations: 3.32 MB / 0.9115 GB, free: 52.54 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)