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.76/1.76, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001218/0.001218, allocations: 180.9 kB / 361.4 MB, free: 6.824 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.707/1.707, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0009801/0.0009801, allocations: 94.52 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.317e-05, allocations: 8 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7237, allocations: 115.3 MB / 0.9644 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.9333, allocations: 139.3 MB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.9337, allocations: 72.84 kB / 1.101 GB, free: 428 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.9482, allocations: 5.164 MB / 1.106 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9482, allocations: 3.938 kB / 1.106 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.9483, allocations: 4 kB / 1.106 GB, free: 11.34 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.0008844/0.9491, allocations: 0.6072 MB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.9492, allocations: 8.031 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.9493, allocations: 36.66 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.9497, allocations: 272.1 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.9497, allocations: 7.984 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.9498, allocations: 19.94 kB / 1.107 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001493/0.9499, allocations: 55.98 kB / 1.107 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.9502, allocations: 154.6 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9502, allocations: 3.188 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.9502, allocations: 5.172 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.9503, allocations: 4 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.9513, allocations: 0.5595 MB / 1.107 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.9516, allocations: 122.7 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.9517, allocations: 60.84 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.9517, allocations: 0 / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.9521, allocations: 221.2 kB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.9521, allocations: 0 / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004318/0.9526, allocations: 217.9 kB / 1.108 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.9526, allocations: 63.39 kB / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.9529, allocations: 269.2 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.953, allocations: 33.69 kB / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.953, allocations: 104.3 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.9531, allocations: 43.45 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.9531, allocations: 0 / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9533, allocations: 326.8 kB / 1.109 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.9535, allocations: 104.2 kB / 1.109 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.9537, allocations: 162.2 kB / 1.109 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.9539, allocations: 83.5 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9539, allocations: 0 / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005712/0.9544, allocations: 347.6 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-05/0.9545, allocations: 79.38 kB / 1.109 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.9545, allocations: 4 kB / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.9546, allocations: 4 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.9547, allocations: 27.92 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9548, allocations: 0 / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.9551, allocations: 52 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.9552, allocations: 55.97 kB / 1.11 GB, free: 7.031 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.0001325/0.9554, allocations: 124 kB / 1.11 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.9554, allocations: 31.67 kB / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.9555, allocations: 30.14 kB / 1.11 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9555, allocations: 4 kB / 1.11 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9555, allocations: 0 / 1.11 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.9555, allocations: 7.984 kB / 1.11 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.9562, allocations: 0.5505 MB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9562, allocations: 0 / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.9562, allocations: 15.98 kB / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9562, allocations: 0 / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.9563, allocations: 7.984 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.9563, allocations: 4 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9563, allocations: 3.938 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.9566, allocations: 316.7 kB / 1.111 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.9568, allocations: 188.5 kB / 1.111 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.453e-05/0.9569, allocations: 15.98 kB / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.9571, allocations: 13.25 kB / 1.111 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.9571, allocations: 15.97 kB / 1.111 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.9572, allocations: 31.98 kB / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001811/0.9574, allocations: 212.6 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9574, allocations: 4 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003187/0.9577, allocations: 52.25 kB / 1.111 GB, free: 5.34 MB / 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.0001917/0.9579, allocations: 133.2 kB / 1.111 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.9584, allocations: 360.6 kB / 1.112 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9584, allocations: 0 / 1.112 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.9585, allocations: 67.97 kB / 1.112 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.9589, allocations: 30.36 kB / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.9594, allocations: 310 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.9597, allocations: 0.7647 MB / 1.113 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.9599, allocations: 34.69 kB / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.96, allocations: 39.42 kB / 1.113 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.96, allocations: 0 / 1.113 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of Templates: time 0.0078/0.9678, allocations: 4.521 MB / 1.117 GB, free: 15.1 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)