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.728/1.728, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001136/0.001136, 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.605/1.605, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0009699/0.0009698, allocations: 97.14 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 16.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 115.3 MB / 0.9795 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8916/1.129, allocations: 140.1 MB / 1.116 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.129, allocations: 77.83 kB / 1.116 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01499/1.144, allocations: 5.196 MB / 1.121 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/1.144, allocations: 4 kB / 1.121 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.235e-05/1.145, allocations: 4.125 kB / 1.121 GB, free: 31.96 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.00129/1.146, allocations: 0.6386 MB / 1.122 GB, free: 31.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.146, allocations: 11.73 kB / 1.122 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/1.146, allocations: 35 kB / 1.122 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/1.147, allocations: 285.8 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/1.147, allocations: 15.25 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/1.147, allocations: 21.31 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/1.147, allocations: 163.2 kB / 1.123 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.147, allocations: 0 / 1.123 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/1.147, allocations: 3.75 kB / 1.123 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.147, allocations: 7.766 kB / 1.123 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/1.147, allocations: 58.92 kB / 1.123 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/1.149, allocations: 0.5884 MB / 1.123 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/1.149, allocations: 141.5 kB / 1.123 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/1.149, allocations: 3.828 kB / 1.123 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/1.149, allocations: 228.7 kB / 1.124 GB, free: 30.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/1.149, allocations: 3.844 kB / 1.124 GB, free: 30.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006049/1.15, allocations: 277.8 kB / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.15, allocations: 65.95 kB / 1.124 GB, free: 30.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/1.15, allocations: 281.6 kB / 1.124 GB, free: 30.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/1.151, allocations: 41.05 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.151, allocations: 95.7 kB / 1.124 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/1.151, allocations: 51.83 kB / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/1.151, allocations: 7.5 kB / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.151, allocations: 328.9 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/1.151, allocations: 125.4 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.152, allocations: 172.1 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/1.152, allocations: 167.4 kB / 1.125 GB, free: 29.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.152, allocations: 0 / 1.125 GB, free: 29.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007625/1.153, allocations: 454.1 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/1.153, allocations: 74.92 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.153, allocations: 0 / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.153, allocations: 3.875 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/1.153, allocations: 27.39 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.153, allocations: 3.812 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/1.153, allocations: 54.48 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/1.153, allocations: 55.62 kB / 1.126 GB, free: 29.72 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.0002442/1.154, allocations: 191.5 kB / 1.126 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/1.154, allocations: 27.19 kB / 1.126 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/1.154, allocations: 30.86 kB / 1.126 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.154, allocations: 7.875 kB / 1.126 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/1.154, allocations: 0 / 1.126 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.154, allocations: 2.859 kB / 1.126 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007562/1.155, allocations: 0.5973 MB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.155, allocations: 0 / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/1.155, allocations: 6.969 kB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.155, allocations: 3.812 kB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/1.155, allocations: 10.48 kB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.155, allocations: 6.75 kB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.155, allocations: 0 / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/1.155, allocations: 329.2 kB / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/1.155, allocations: 184.5 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/1.155, allocations: 17.61 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/1.156, allocations: 9.953 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/1.156, allocations: 19.34 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/1.156, allocations: 32.28 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002135/1.156, allocations: 227.4 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.156, allocations: 3.938 kB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003564/1.156, allocations: 58.12 kB / 1.127 GB, free: 28.89 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.0002083/1.157, allocations: 132.4 kB / 1.128 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006203/1.157, allocations: 375.5 kB / 1.128 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.157, allocations: 0 / 1.128 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/1.157, allocations: 87.55 kB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/1.158, allocations: 36.66 kB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/1.158, allocations: 488.7 kB / 1.128 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/1.159, allocations: 0.7646 MB / 1.129 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001737/1.159, allocations: 38.89 kB / 1.129 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/1.159, allocations: 35.98 kB / 1.129 GB, free: 27.64 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/1.159, allocations: 0 / 1.129 GB, free: 27.64 MB / 0.698 GB Notification: Performance of Templates: time 0.00879/1.168, allocations: 4.761 MB / 1.134 GB, free: 25.9 MB / 0.698 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)