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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.4 MB / 298 MB, free: 5.996 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.0009502/0.0009503, allocations: 184.8 kB / 366.4 MB, free: 2.102 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.798/1.798, allocations: 205.1 MB / 0.6248 GB, free: 7.77 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.0009144/0.0009144, allocations: 102.6 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.734e-05/4.738e-05, allocations: 8 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8069, allocations: 115.3 MB / 0.9709 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/1.02, allocations: 140 MB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.02, allocations: 68.56 kB / 1.108 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01595/1.036, allocations: 5.197 MB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.362e-06/1.036, allocations: 4 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.41e-05/1.036, allocations: 4 kB / 1.113 GB, free: 6.602 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.001363/1.037, allocations: 0.5947 MB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/1.038, allocations: 16.03 kB / 1.113 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/1.038, allocations: 31.62 kB / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/1.038, allocations: 280 kB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/1.038, allocations: 13.59 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/1.038, allocations: 23.98 kB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/1.039, allocations: 162.2 kB / 1.114 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.039, allocations: 0 / 1.114 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/1.039, allocations: 3.984 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.039, allocations: 7.953 kB / 1.114 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/1.039, allocations: 59.98 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/1.041, allocations: 0.5902 MB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/1.041, allocations: 138.7 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/1.041, allocations: 60.84 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/1.041, allocations: 0 / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/1.041, allocations: 217.2 kB / 1.115 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/1.042, allocations: 0 / 1.115 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005357/1.042, allocations: 239.2 kB / 1.115 GB, free: 4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/1.042, allocations: 59.41 kB / 1.115 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/1.042, allocations: 274.7 kB / 1.115 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/1.043, allocations: 44.98 kB / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/1.043, allocations: 105 kB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/1.043, allocations: 43.44 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/1.043, allocations: 12 kB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.043, allocations: 330.8 kB / 1.116 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/1.043, allocations: 120.2 kB / 1.116 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/1.043, allocations: 168.5 kB / 1.116 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/1.044, allocations: 169.7 kB / 1.116 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.044, allocations: 0 / 1.116 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007466/1.044, allocations: 440.6 kB / 1.117 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.291e-05/1.045, allocations: 75.39 kB / 1.117 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.045, allocations: 8.172 kB / 1.117 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.045, allocations: 4 kB / 1.117 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/1.045, allocations: 27.86 kB / 1.117 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.045, allocations: 4 kB / 1.117 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/1.045, allocations: 51.56 kB / 1.117 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/1.045, allocations: 51.98 kB / 1.117 GB, free: 1.953 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.0001595/1.045, allocations: 148 kB / 1.117 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/1.045, allocations: 23.72 kB / 1.117 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/1.045, allocations: 26.14 kB / 1.117 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.046, allocations: 4 kB / 1.117 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.046, allocations: 0 / 1.117 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/1.046, allocations: 0 / 1.117 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/1.046, allocations: 0.5957 MB / 1.118 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.046, allocations: 4 kB / 1.118 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/1.046, allocations: 12 kB / 1.118 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.046, allocations: 0 / 1.118 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/1.046, allocations: 11.97 kB / 1.118 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.046, allocations: 7.938 kB / 1.118 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.046, allocations: 0 / 1.118 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/1.047, allocations: 324.7 kB / 1.118 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/1.047, allocations: 188.6 kB / 1.118 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/1.047, allocations: 15.98 kB / 1.118 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/1.047, allocations: 12 kB / 1.118 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/1.047, allocations: 15.97 kB / 1.118 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/1.047, allocations: 33.39 kB / 1.118 GB, free: 464 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000233/1.048, allocations: 222.1 kB / 1.119 GB, free: 240 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.048, allocations: 0 / 1.119 GB, free: 240 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003199/1.048, allocations: 60 kB / 1.119 GB, free: 180 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.0002222/1.048, allocations: 141.9 kB / 1.119 GB, free: 28 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006176/1.049, allocations: 377.3 kB / 1.119 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.049, allocations: 0 / 1.119 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/1.049, allocations: 71.92 kB / 1.119 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/1.049, allocations: 27.55 kB / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/1.05, allocations: 313.7 kB / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/1.05, allocations: 0.7595 MB / 1.12 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001408/1.051, allocations: 37.2 kB / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/1.051, allocations: 39.41 kB / 1.12 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/1.051, allocations: 0 / 1.12 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.008318/1.059, allocations: 4.742 MB / 1.125 GB, free: 9.676 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)