Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 285.4 MB / 298 MB, free: 5.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 176.9 kB / 366.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 96.67 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.575e-05/4.605e-05, allocations: 4 kB / 0.8583 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7739, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.9868, allocations: 140 MB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.9871, allocations: 75.94 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01576/1.003, allocations: 5.198 MB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/1.003, allocations: 4 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.866e-05/1.003, allocations: 4 kB / 1.113 GB, free: 6.578 MB / 0.7136 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.001108/1.004, allocations: 0.6005 MB / 1.113 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.004, allocations: 8.031 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/1.004, allocations: 40.19 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/1.005, allocations: 276 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/1.005, allocations: 19.98 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/1.005, allocations: 16 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/1.005, allocations: 162 kB / 1.114 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.005, allocations: 0 / 1.114 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/1.005, allocations: 5.5 kB / 1.114 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/1.005, allocations: 11.94 kB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/1.006, allocations: 55.98 kB / 1.114 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/1.007, allocations: 0.5824 MB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/1.007, allocations: 142.6 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/1.007, allocations: 58.97 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/1.007, allocations: 11.98 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/1.008, allocations: 216.3 kB / 1.115 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/1.008, allocations: 0 / 1.115 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004907/1.008, allocations: 241.8 kB / 1.115 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/1.008, allocations: 55.41 kB / 1.115 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/1.009, allocations: 278.7 kB / 1.115 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/1.009, allocations: 37.7 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/1.009, allocations: 105 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/1.009, allocations: 47.44 kB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/1.009, allocations: 9.688 kB / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.009, allocations: 330.8 kB / 1.116 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/1.009, allocations: 120.2 kB / 1.116 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/1.009, allocations: 166.4 kB / 1.116 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/1.01, allocations: 165 kB / 1.116 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.01, allocations: 0 / 1.116 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007896/1.011, allocations: 445.7 kB / 1.117 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/1.011, allocations: 76.95 kB / 1.117 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.011, allocations: 0 / 1.117 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.011, allocations: 7.984 kB / 1.117 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/1.011, allocations: 33.8 kB / 1.117 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.011, allocations: 4.188 kB / 1.117 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/1.011, allocations: 47.88 kB / 1.117 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.011, allocations: 51.98 kB / 1.117 GB, free: 1.926 MB / 0.7136 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 () * 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.0001474/1.012, allocations: 137.5 kB / 1.117 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/1.012, allocations: 27.72 kB / 1.117 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/1.012, allocations: 34.14 kB / 1.117 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/1.012, allocations: 4 kB / 1.117 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.012, allocations: 1.781 kB / 1.117 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/1.012, allocations: 0 / 1.117 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/1.013, allocations: 0.5957 MB / 1.118 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.013, allocations: 0 / 1.118 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/1.013, allocations: 4 kB / 1.118 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.013, allocations: 4 kB / 1.118 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/1.013, allocations: 15.97 kB / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.013, allocations: 9.625 kB / 1.118 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.013, allocations: 4 kB / 1.118 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/1.013, allocations: 329.6 kB / 1.118 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/1.013, allocations: 180.6 kB / 1.118 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/1.014, allocations: 19.98 kB / 1.118 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/1.014, allocations: 8 kB / 1.118 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/1.014, allocations: 23.97 kB / 1.118 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/1.014, allocations: 23.98 kB / 1.118 GB, free: 440 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002338/1.014, allocations: 230.1 kB / 1.119 GB, free: 208 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.014, allocations: 0 / 1.119 GB, free: 208 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003487/1.014, allocations: 56.25 kB / 1.119 GB, free: 152 kB / 0.7136 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) * 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.0002214/1.015, allocations: 129.9 kB / 1.119 GB, free: 12 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006232/1.015, allocations: 381.7 kB / 1.119 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.015, allocations: 4.125 kB / 1.119 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/1.015, allocations: 75.92 kB / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/1.016, allocations: 24.77 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/1.016, allocations: 315.3 kB / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/1.017, allocations: 0.7556 MB / 1.12 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001533/1.017, allocations: 37.2 kB / 1.12 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.017, allocations: 39.42 kB / 1.12 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/1.017, allocations: 0 / 1.12 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.009581/1.027, allocations: 4.741 MB / 1.125 GB, free: 9.652 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)