Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 293 MB / 309 MB, free: 4.824 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.001446/0.001446, allocations: 164.6 kB / 378.7 MB, free: 1.035 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.594/1.594, allocations: 205.4 MB / 0.6383 GB, free: 8.215 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.0007803/0.0007802, allocations: 87.78 kB / 0.7527 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004033, allocations: 12 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 116.4 MB / 0.9905 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6585/0.92, allocations: 141.1 MB / 1.128 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.9203, allocations: 71.8 kB / 1.128 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01294/0.9332, allocations: 5.207 MB / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9333, allocations: 0 / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.9333, 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.000963/0.9343, allocations: 0.6294 MB / 1.134 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9343, allocations: 16.03 kB / 1.134 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.9344, allocations: 37.22 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.9348, allocations: 286 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.9349, allocations: 14.22 kB / 1.134 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.9349, allocations: 22.3 kB / 1.134 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.9353, allocations: 165.2 kB / 1.135 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.9353, allocations: 192 / 1.135 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.9354, allocations: 10.75 kB / 1.135 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.9354, allocations: 0 / 1.135 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.9355, allocations: 64.56 kB / 1.135 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.9366, allocations: 0.5949 MB / 1.135 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.9369, allocations: 145.6 kB / 1.135 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.937, allocations: 64.12 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.937, allocations: 0.6562 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.9375, allocations: 232 kB / 1.136 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.9375, allocations: 0 / 1.136 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.00056/0.938, allocations: 281 kB / 1.136 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.9381, allocations: 57.19 kB / 1.136 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.9384, allocations: 315.7 kB / 1.136 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.9385, allocations: 43.02 kB / 1.136 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.9386, allocations: 96.52 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.9386, allocations: 47.8 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.9386, allocations: 12.8 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.9387, allocations: 330.8 kB / 1.137 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.939, allocations: 116.6 kB / 1.137 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.9393, allocations: 177.8 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.9396, allocations: 264.1 kB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.9396, allocations: 0 / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007385/0.9404, allocations: 453.7 kB / 1.138 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.9404, allocations: 80.84 kB / 1.138 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9405, allocations: 0 / 1.138 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.9405, allocations: 4.516 kB / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.9406, allocations: 22.36 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9407, allocations: 9.094 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.941, allocations: 51.41 kB / 1.138 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.9411, allocations: 57.81 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.0001974/0.9413, allocations: 186.6 kB / 1.138 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.9413, allocations: 33.12 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.9414, allocations: 30.45 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9414, allocations: 4 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9414, allocations: 0 / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9414, allocations: 1.297 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.9421, allocations: 0.5898 MB / 1.139 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.9421, allocations: 0 / 1.139 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.9422, allocations: 18.45 kB / 1.139 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.9422, allocations: 0 / 1.139 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.9422, allocations: 13.48 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.9422, allocations: 0.625 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9423, allocations: 0.8438 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.9426, allocations: 333.8 kB / 1.139 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.9428, allocations: 188.4 kB / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.9429, allocations: 17.45 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.943, allocations: 6.969 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.9431, allocations: 22.88 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.9432, allocations: 29.44 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002039/0.9434, allocations: 226.9 kB / 1.14 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.52e-07/0.9434, allocations: 0 / 1.14 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003444/0.9438, allocations: 66.66 kB / 1.14 GB, free: 23.38 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.0001689/0.9439, allocations: 125.5 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005937/0.9445, allocations: 379.3 kB / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9445, allocations: 0 / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.9447, allocations: 70.83 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.9451, allocations: 33.67 kB / 1.14 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.9458, allocations: 0.4985 MB / 1.141 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.946, allocations: 0.748 MB / 1.141 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.9462, allocations: 43.02 kB / 1.141 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.9463, allocations: 35.89 kB / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9463, allocations: 0 / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.00922/0.9555, allocations: 4.779 MB / 1.146 GB, free: 18.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)