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.699/1.699, allocations: 288.3 MB / 303.2 MB, free: 8.242 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.001215/0.001215, allocations: 189.5 kB / 371.9 MB, free: 10.3 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.613/1.613, allocations: 205.4 MB / 0.6306 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 93.09 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.000438, allocations: 13.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.253, allocations: 115.3 MB / 0.9795 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8561/1.109, allocations: 140.1 MB / 1.116 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.11, allocations: 69.73 kB / 1.116 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01487/1.124, allocations: 5.199 MB / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.577e-06/1.125, allocations: 3.969 kB / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.571e-05/1.125, allocations: 7.844 kB / 1.121 GB, free: 31.71 MB / 0.698 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.001537/1.126, allocations: 0.6405 MB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.126, allocations: 15.58 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/1.126, allocations: 34.81 kB / 1.122 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/1.127, allocations: 273.2 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/1.127, allocations: 18.44 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/1.127, allocations: 18.59 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/1.127, allocations: 164.2 kB / 1.123 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.128, allocations: 0 / 1.123 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/1.128, allocations: 10.39 kB / 1.123 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.128, allocations: 7.953 kB / 1.123 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/1.128, allocations: 59.05 kB / 1.123 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/1.129, allocations: 0.5876 MB / 1.123 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/1.129, allocations: 135.2 kB / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/1.129, allocations: 7.375 kB / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/1.13, allocations: 221.5 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/1.13, allocations: 0 / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006069/1.131, allocations: 280.2 kB / 1.124 GB, free: 30.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/1.131, allocations: 68.53 kB / 1.124 GB, free: 30.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/1.131, allocations: 280.7 kB / 1.124 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/1.131, allocations: 40.11 kB / 1.124 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/1.131, allocations: 97.77 kB / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/1.131, allocations: 46.64 kB / 1.124 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/1.131, allocations: 11 kB / 1.124 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.131, allocations: 329.9 kB / 1.125 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/1.132, allocations: 121.8 kB / 1.125 GB, free: 29.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/1.132, allocations: 167.8 kB / 1.125 GB, free: 29.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/1.132, allocations: 172 kB / 1.125 GB, free: 29.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.132, allocations: 0 / 1.125 GB, free: 29.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007846/1.133, allocations: 449 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/1.133, allocations: 81.7 kB / 1.126 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.133, allocations: 0 / 1.126 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.133, allocations: 12.09 kB / 1.126 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/1.133, allocations: 25.31 kB / 1.126 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.133, allocations: 6.953 kB / 1.126 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/1.134, allocations: 50.28 kB / 1.126 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/1.134, allocations: 52.5 kB / 1.126 GB, free: 29.47 MB / 0.698 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.0002583/1.134, allocations: 197.7 kB / 1.126 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/1.134, allocations: 29.98 kB / 1.126 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/1.134, allocations: 30.39 kB / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.134, allocations: 0 / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.134, allocations: 0 / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.134, allocations: 2.625 kB / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/1.135, allocations: 0.5964 MB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.135, allocations: 0 / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/1.135, allocations: 14.22 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.135, allocations: 3.938 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/1.135, allocations: 15.5 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.135, allocations: 0 / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.135, allocations: 0 / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/1.136, allocations: 329.3 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/1.136, allocations: 186.8 kB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/1.136, allocations: 13.73 kB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/1.136, allocations: 18.17 kB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/1.136, allocations: 13.05 kB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/1.136, allocations: 36.62 kB / 1.127 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00022/1.137, allocations: 225.8 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.137, allocations: 0 / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003637/1.137, allocations: 58.88 kB / 1.127 GB, free: 28.64 MB / 0.698 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.000247/1.137, allocations: 129.1 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006358/1.138, allocations: 383.3 kB / 1.128 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.138, allocations: 0 / 1.128 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/1.138, allocations: 78.48 kB / 1.128 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/1.138, allocations: 34.92 kB / 1.128 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/1.139, allocations: 493.9 kB / 1.128 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/1.14, allocations: 0.7624 MB / 1.129 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001396/1.14, allocations: 37.38 kB / 1.129 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/1.14, allocations: 39.47 kB / 1.129 GB, free: 27.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.14, allocations: 0 / 1.129 GB, free: 27.39 MB / 0.698 GB Notification: Performance of Templates: time 0.00812/1.148, allocations: 4.751 MB / 1.134 GB, free: 25.66 MB / 0.698 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)