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.794/1.794, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001007/0.001007, allocations: 180.5 kB / 372.9 MB, free: 10.18 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.473/1.473, allocations: 205.4 MB / 0.6317 GB, free: 9.945 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.0007415/0.0007413, allocations: 92.08 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.000421, allocations: 12.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2205, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7051/0.9256, allocations: 140.1 MB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.9259, allocations: 73.81 kB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.9396, allocations: 5.217 MB / 1.123 GB, free: 31.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.073e-06/0.9397, allocations: 0 / 1.123 GB, free: 31.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.9397, allocations: 10.97 kB / 1.123 GB, free: 31.8 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.00109/0.9408, allocations: 0.6386 MB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9409, allocations: 7.719 kB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.941, allocations: 35.97 kB / 1.123 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.9414, allocations: 286.1 kB / 1.124 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.9414, allocations: 18.47 kB / 1.124 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.9415, allocations: 19.11 kB / 1.124 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.9418, allocations: 167 kB / 1.124 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.9419, allocations: 4.188 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.9419, allocations: 15.2 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.9419, allocations: 0 / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.9421, allocations: 60.11 kB / 1.124 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.9434, allocations: 0.5882 MB / 1.125 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.9438, allocations: 137.8 kB / 1.125 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.9439, allocations: 62.56 kB / 1.125 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.944, allocations: 3.922 kB / 1.125 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/0.9445, allocations: 232.7 kB / 1.125 GB, free: 30.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.804e-06/0.9445, allocations: 0 / 1.125 GB, free: 30.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006988/0.9452, allocations: 276.5 kB / 1.125 GB, free: 30.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.9452, allocations: 65.5 kB / 1.125 GB, free: 30.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.9456, allocations: 315.3 kB / 1.126 GB, free: 30.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.9457, allocations: 43.7 kB / 1.126 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.9458, allocations: 94.38 kB / 1.126 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.9458, allocations: 52.91 kB / 1.126 GB, free: 30.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.9459, allocations: 10.41 kB / 1.126 GB, free: 30.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.946, allocations: 326.9 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.9463, allocations: 122.6 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.9467, allocations: 177 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.9471, allocations: 261.7 kB / 1.127 GB, free: 29.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.9471, allocations: 0 / 1.127 GB, free: 29.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009086/0.948, allocations: 454.8 kB / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.9481, allocations: 75.25 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.9482, allocations: 3.938 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.9482, allocations: 3.844 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.9484, allocations: 28.41 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.9484, allocations: 7.844 kB / 1.127 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.9488, allocations: 48.67 kB / 1.127 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.9489, allocations: 56.95 kB / 1.127 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.0002225/0.9491, allocations: 191 kB / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.9492, allocations: 33.09 kB / 1.127 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.9492, allocations: 34.47 kB / 1.128 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.9492, allocations: 0 / 1.128 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9492, allocations: 3.875 kB / 1.128 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9493, allocations: 2.016 kB / 1.128 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.95, allocations: 0.5934 MB / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.95, allocations: 0 / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.95, allocations: 6.578 kB / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.95, allocations: 0 / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.9501, allocations: 12.64 kB / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9501, allocations: 4 kB / 1.128 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9501, allocations: 0 / 1.128 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.9505, allocations: 337.1 kB / 1.128 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.9506, allocations: 186.4 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.9507, allocations: 11.72 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.9509, allocations: 14.44 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.951, allocations: 18.83 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.951, allocations: 36.92 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002012/0.9512, allocations: 225.3 kB / 1.129 GB, free: 28.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9512, allocations: 0 / 1.129 GB, free: 28.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000358/0.9516, allocations: 65.11 kB / 1.129 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.0001762/0.9518, allocations: 122.5 kB / 1.129 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.9523, allocations: 376.1 kB / 1.129 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9523, allocations: 4.375 kB / 1.129 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.9525, allocations: 76.78 kB / 1.13 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.0003646/0.9528, allocations: 36.39 kB / 1.13 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006926/0.9535, allocations: 0.4899 MB / 1.13 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.9539, allocations: 0.7546 MB / 1.131 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.954, allocations: 43.16 kB / 1.131 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.9541, allocations: 32.83 kB / 1.131 GB, free: 27.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.9542, allocations: 4 kB / 1.131 GB, free: 27.39 MB / 0.698 GB Notification: Performance of Templates: time 0.007596/0.9618, allocations: 4.784 MB / 1.136 GB, free: 25.57 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)