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.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.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.416/1.416, 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.001482/0.001482, allocations: 177.2 kB / 326.5 MB, free: 2.707 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.745/1.745, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007638/0.0007638, allocations: 88.86 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 11.66 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001737/0.2355, allocations: 1.415 MB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009041/0.2365, allocations: 0.5001 MB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.2365, allocations: 0 / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2367, allocations: 7.922 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.2368, allocations: 32.22 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.2374, allocations: 249.3 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.2376, allocations: 351.8 kB / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2377, allocations: 41.27 kB / 0.8993 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.238, allocations: 218.3 kB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.2382, allocations: 131.5 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.2382, allocations: 8 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.2383, allocations: 12 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/0.2384, allocations: 79.7 kB / 0.8997 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.2385, allocations: 131.3 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.2388, allocations: 311.2 kB / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2388, allocations: 0 / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2388, allocations: 0 / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2388, allocations: 4 kB / 0.9001 GB, free: 64.7 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.0009438/0.2397, allocations: 0.6336 MB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2398, allocations: 12.03 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.2399, allocations: 35.62 kB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.2402, allocations: 282.8 kB / 0.9011 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.2402, allocations: 12 kB / 0.9011 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.2403, allocations: 27.98 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2406, allocations: 165.5 kB / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2406, allocations: 0 / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.2406, allocations: 7.984 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2406, allocations: 4 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2408, allocations: 57.69 kB / 0.9013 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.2417, allocations: 0.5704 MB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.242, allocations: 134.7 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2421, allocations: 64.77 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2421, allocations: 8 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.2425, allocations: 218.8 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2425, allocations: 0 / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005017/0.243, allocations: 297 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2431, allocations: 59.41 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.2433, allocations: 316.4 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2433, allocations: 41.7 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.2434, allocations: 101 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2435, allocations: 43.53 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.2435, allocations: 37.7 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.2436, allocations: 322.8 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.2438, allocations: 108.2 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.244, allocations: 158.4 kB / 0.9037 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2443, allocations: 272.7 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2443, allocations: 0 / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005794/0.2449, allocations: 440.6 kB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.2449, allocations: 79.33 kB / 0.9045 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2449, allocations: 0 / 0.9045 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.245, allocations: 8.188 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2451, allocations: 27.91 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2451, allocations: 4 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.2456, allocations: 67.8 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.2457, allocations: 59.98 kB / 0.9046 GB, free: 59.76 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.0001544/0.2459, allocations: 185.7 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.2459, allocations: 31.56 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.246, allocations: 34.36 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.246, allocations: 0 / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.246, allocations: 4 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.246, allocations: 0 / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.2466, allocations: 0.5979 MB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2466, allocations: 3.984 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.2466, allocations: 19.94 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2467, allocations: 0 / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.2467, allocations: 11.98 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2467, allocations: 0 / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2467, allocations: 7.922 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.247, allocations: 334.9 kB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.2472, allocations: 176.7 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.2472, allocations: 15.98 kB / 0.906 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2474, allocations: 11.98 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.2475, allocations: 15.98 kB / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.2476, allocations: 27.98 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001551/0.2477, allocations: 231 kB / 0.9063 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2477, allocations: 0 / 0.9063 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002935/0.248, allocations: 55.89 kB / 0.9063 GB, free: 57.91 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.0001526/0.2482, allocations: 128.9 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.2486, allocations: 364.3 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.2486, allocations: 4 kB / 0.9068 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.2488, allocations: 83.88 kB / 0.9069 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.2492, allocations: 34.06 kB / 0.9069 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.2499, allocations: 0.5505 MB / 0.9075 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.25, allocations: 0.7516 MB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.2502, allocations: 35.42 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2502, allocations: 8 kB / 0.9082 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.004239/0.2544, allocations: 3.317 MB / 0.9115 GB, free: 52.58 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)