Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 293 MB / 309 MB, free: 4.805 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.001113/0.001113, allocations: 167.3 kB / 378.7 MB, free: 1.031 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.511/1.511, allocations: 205.4 MB / 0.6383 GB, free: 8.191 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.0008665/0.0008665, allocations: 95.06 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004008, allocations: 12 kB / 0.8768 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 116.4 MB / 0.9905 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6341/0.889, allocations: 141.1 MB / 1.128 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.8893, allocations: 75.19 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.9028, allocations: 5.212 MB / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9028, allocations: 0 / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.9029, allocations: 4 kB / 1.133 GB, free: 29.43 MB / 0.7292 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.001067/0.9039, allocations: 0.6433 MB / 1.134 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.904, allocations: 8.031 kB / 1.134 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.9041, allocations: 37.92 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.9045, allocations: 281.7 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.9046, allocations: 14.3 kB / 1.134 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.9046, allocations: 22.77 kB / 1.134 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.905, allocations: 166.3 kB / 1.135 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.905, allocations: 12.06 kB / 1.135 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.9051, allocations: 8.547 kB / 1.135 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.9051, allocations: 5.078 kB / 1.135 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.9052, allocations: 56.58 kB / 1.135 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.9064, allocations: 0.5893 MB / 1.135 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.9068, allocations: 146.7 kB / 1.135 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.9069, allocations: 55.89 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.9069, allocations: 4.562 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.9074, allocations: 231.2 kB / 1.136 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.9074, allocations: 0.75 kB / 1.136 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005787/0.908, allocations: 275.3 kB / 1.136 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.908, allocations: 60.58 kB / 1.136 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.9084, allocations: 320.4 kB / 1.136 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.9085, allocations: 42.83 kB / 1.136 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.9085, allocations: 99.52 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.9086, allocations: 43.62 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.9086, allocations: 8.703 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.9087, allocations: 331.9 kB / 1.137 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.909, allocations: 120.5 kB / 1.137 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.9093, allocations: 178.7 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.9097, allocations: 257.3 kB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9097, allocations: 0 / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007768/0.9105, allocations: 456.2 kB / 1.138 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/0.9106, allocations: 79.42 kB / 1.138 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.9106, allocations: 0 / 1.138 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.9106, allocations: 7.938 kB / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.9108, allocations: 29.7 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.9108, allocations: 4.797 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.9112, allocations: 52.2 kB / 1.138 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.85e-05/0.9113, allocations: 54.05 kB / 1.138 GB, free: 25.01 MB / 0.7292 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.00025/0.9115, allocations: 189.2 kB / 1.138 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.9116, allocations: 28.19 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.573e-05/0.9117, allocations: 40.14 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.9117, allocations: 0 / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.9117, allocations: 0.6094 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9117, allocations: 0.7969 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.9126, allocations: 0.5972 MB / 1.139 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9126, allocations: 0.9375 kB / 1.139 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.9127, allocations: 6.438 kB / 1.139 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.9127, allocations: 4 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.9128, allocations: 17.81 kB / 1.139 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9128, allocations: 4 kB / 1.139 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9128, allocations: 0.7969 kB / 1.139 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.9133, allocations: 331.5 kB / 1.139 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.9135, allocations: 182.5 kB / 1.139 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.9136, allocations: 13.41 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.9138, allocations: 14.41 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.9139, allocations: 19.72 kB / 1.139 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.914, allocations: 39.41 kB / 1.139 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002576/0.9142, allocations: 222.8 kB / 1.14 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9142, allocations: 0 / 1.14 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004443/0.9147, allocations: 61.88 kB / 1.14 GB, free: 23.37 MB / 0.7292 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.0002552/0.9149, allocations: 126.8 kB / 1.14 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.9157, allocations: 375.9 kB / 1.14 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9157, allocations: 4.062 kB / 1.14 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.9159, allocations: 76.42 kB / 1.14 GB, free: 22.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.9163, allocations: 29.42 kB / 1.14 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008142/0.9172, allocations: 0.4894 MB / 1.141 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.9174, allocations: 0.7522 MB / 1.141 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.9176, allocations: 43.09 kB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.9177, allocations: 32.08 kB / 1.142 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.9178, allocations: 4 kB / 1.142 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of Templates: time 0.01046/0.9282, allocations: 4.777 MB / 1.146 GB, free: 18.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)