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.608/1.608, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.001347/0.001347, allocations: 184.4 kB / 373 MB, free: 10.15 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.571/1.571, allocations: 205.4 MB / 0.6317 GB, free: 9.812 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.0007894/0.0007894, allocations: 96.67 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 20.17 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7678/0.9972, allocations: 140.1 MB / 1.118 GB, free: 16.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.9976, allocations: 75 kB / 1.118 GB, free: 16.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/1.012, allocations: 5.216 MB / 1.123 GB, free: 32.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.017e-06/1.012, allocations: 6.516 kB / 1.123 GB, free: 32.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.668e-05/1.012, allocations: 7.781 kB / 1.123 GB, free: 32.13 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.000973/1.013, allocations: 0.6314 MB / 1.123 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.013, allocations: 7.688 kB / 1.123 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/1.013, allocations: 35.94 kB / 1.123 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/1.013, allocations: 289.1 kB / 1.124 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/1.013, allocations: 11.72 kB / 1.124 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/1.013, allocations: 26.06 kB / 1.124 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/1.014, allocations: 166.4 kB / 1.124 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/1.014, allocations: 192 / 1.124 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/1.014, allocations: 11.36 kB / 1.124 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.014, allocations: 3.844 kB / 1.124 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/1.014, allocations: 61.33 kB / 1.124 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/1.015, allocations: 0.5923 MB / 1.125 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/1.015, allocations: 136.7 kB / 1.125 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/1.015, allocations: 67.95 kB / 1.125 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/1.015, allocations: 3.875 kB / 1.125 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/1.016, allocations: 228 kB / 1.125 GB, free: 30.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/1.016, allocations: 0 / 1.125 GB, free: 30.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005619/1.016, allocations: 276.5 kB / 1.125 GB, free: 30.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.016, allocations: 64.94 kB / 1.125 GB, free: 30.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/1.017, allocations: 318.1 kB / 1.126 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/1.017, allocations: 36.89 kB / 1.126 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/1.017, allocations: 98.47 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/1.017, allocations: 45.95 kB / 1.126 GB, free: 30.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/1.017, allocations: 7.656 kB / 1.126 GB, free: 30.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.017, allocations: 334.7 kB / 1.126 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/1.017, allocations: 118 kB / 1.126 GB, free: 30.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.018, allocations: 177.7 kB / 1.126 GB, free: 30.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/1.018, allocations: 261.9 kB / 1.127 GB, free: 30 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.018, allocations: 3.938 kB / 1.127 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007084/1.019, allocations: 454.7 kB / 1.127 GB, free: 29.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/1.019, allocations: 81.66 kB / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.019, allocations: 6 kB / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/1.019, allocations: 0 / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/1.019, allocations: 27.75 kB / 1.127 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.019, allocations: 0 / 1.127 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/1.019, allocations: 51.8 kB / 1.127 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/1.019, allocations: 58.45 kB / 1.127 GB, free: 29.8 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.0001979/1.019, allocations: 194.8 kB / 1.127 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/1.02, allocations: 27.25 kB / 1.127 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/1.02, allocations: 32.62 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.02, allocations: 3.844 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.02, allocations: 0 / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.02, allocations: 0 / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/1.02, allocations: 0.5988 MB / 1.128 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.02, allocations: 0 / 1.128 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/1.02, allocations: 7.469 kB / 1.128 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.02, allocations: 0 / 1.128 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.02, allocations: 16.69 kB / 1.128 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.02, allocations: 0 / 1.128 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.02, allocations: 0 / 1.128 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/1.021, allocations: 331.5 kB / 1.128 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/1.021, allocations: 195.2 kB / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/1.021, allocations: 10.44 kB / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/1.021, allocations: 13.58 kB / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/1.021, allocations: 20.08 kB / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/1.021, allocations: 28.78 kB / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002049/1.022, allocations: 227.3 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.022, allocations: 0 / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003407/1.022, allocations: 60.03 kB / 1.129 GB, free: 28.97 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.0002294/1.022, allocations: 129.7 kB / 1.129 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005977/1.023, allocations: 378.8 kB / 1.129 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.023, allocations: 0 / 1.129 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/1.023, allocations: 80.08 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/1.023, allocations: 32.83 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/1.024, allocations: 499.9 kB / 1.13 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/1.024, allocations: 0.7571 MB / 1.131 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001448/1.025, allocations: 43.61 kB / 1.131 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/1.025, allocations: 40.34 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.025, allocations: 0 / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of Templates: time 0.007314/1.032, allocations: 4.785 MB / 1.136 GB, free: 25.87 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)