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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001974/0.001974, allocations: 189.1 kB / 371.9 MB, free: 10.31 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.667/1.667, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.000895/0.0008948, allocations: 98.59 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004922, allocations: 12.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2531, allocations: 115.3 MB / 0.9795 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8556/1.109, allocations: 140 MB / 1.116 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.109, allocations: 69.8 kB / 1.116 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01449/1.123, allocations: 5.19 MB / 1.121 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/1.124, allocations: 224 / 1.121 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.925e-05/1.124, allocations: 3.875 kB / 1.121 GB, free: 31.98 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.00103/1.125, allocations: 0.6421 MB / 1.122 GB, free: 31.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.125, allocations: 15.7 kB / 1.122 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.125, allocations: 34.88 kB / 1.122 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/1.125, allocations: 277.5 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/1.125, allocations: 18.12 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/1.125, allocations: 22.44 kB / 1.122 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/1.126, allocations: 161.3 kB / 1.122 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.126, allocations: 0 / 1.122 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/1.126, allocations: 6.766 kB / 1.122 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.126, allocations: 3.953 kB / 1.123 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/1.126, allocations: 61.56 kB / 1.123 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/1.127, allocations: 0.5984 MB / 1.123 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/1.127, allocations: 132.9 kB / 1.123 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/1.127, allocations: 6.469 kB / 1.123 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/1.128, allocations: 225.3 kB / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/1.128, allocations: 0 / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005745/1.128, allocations: 280.8 kB / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/1.128, allocations: 65.55 kB / 1.124 GB, free: 30.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/1.129, allocations: 282.6 kB / 1.124 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/1.129, allocations: 42.41 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/1.129, allocations: 94.72 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/1.129, allocations: 51.77 kB / 1.124 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/1.129, allocations: 7.438 kB / 1.124 GB, free: 30.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.129, allocations: 329.9 kB / 1.125 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/1.129, allocations: 121.7 kB / 1.125 GB, free: 30.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/1.13, allocations: 169 kB / 1.125 GB, free: 30 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/1.13, allocations: 175.9 kB / 1.125 GB, free: 29.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.13, allocations: 0 / 1.125 GB, free: 29.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007121/1.131, allocations: 445.8 kB / 1.125 GB, free: 29.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/1.131, allocations: 76.81 kB / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.131, allocations: 0 / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.131, allocations: 3.844 kB / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/1.131, allocations: 29.23 kB / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.131, allocations: 7.781 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/1.131, allocations: 53.64 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.131, allocations: 51 kB / 1.126 GB, free: 29.74 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.0002148/1.132, allocations: 188.9 kB / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/1.132, allocations: 37.97 kB / 1.126 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/1.132, allocations: 30.14 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.132, allocations: 3.812 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.132, allocations: 0 / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.132, allocations: 2.062 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/1.132, allocations: 0.5991 MB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.132, allocations: 0 / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/1.133, allocations: 6.469 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.133, allocations: 3.75 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/1.133, allocations: 19.78 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.133, allocations: 3.844 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.133, allocations: 0 / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/1.133, allocations: 326.7 kB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/1.133, allocations: 191.5 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.133, allocations: 9.969 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/1.133, allocations: 10.44 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/1.133, allocations: 22.81 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.134, allocations: 27.48 kB / 1.127 GB, free: 29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001908/1.134, allocations: 230.4 kB / 1.127 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.134, allocations: 0 / 1.127 GB, free: 28.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003222/1.134, allocations: 60.47 kB / 1.127 GB, free: 28.91 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.0001928/1.134, allocations: 121.3 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006001/1.135, allocations: 384.1 kB / 1.128 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.135, allocations: 3.844 kB / 1.128 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.135, allocations: 74.64 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/1.135, allocations: 37.95 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/1.136, allocations: 493.4 kB / 1.128 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/1.136, allocations: 0.7601 MB / 1.129 GB, free: 27.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001383/1.136, allocations: 41.28 kB / 1.129 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.137, allocations: 36.25 kB / 1.129 GB, free: 27.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.137, allocations: 0 / 1.129 GB, free: 27.66 MB / 0.698 GB Notification: Performance of Templates: time 0.007965/1.145, allocations: 4.752 MB / 1.134 GB, free: 25.95 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)