Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001262/0.001262, allocations: 180.5 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001085/0.001085, allocations: 90.05 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.025e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.365, allocations: 141.6 MB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/1.366, allocations: 72.67 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01319/1.379, allocations: 4.556 MB / 1.123 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/1.379, allocations: 0 / 1.123 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.946e-05/1.379, allocations: 4 kB / 1.123 GB, free: 40.07 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008123/1.38, allocations: 0.6239 MB / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.38, allocations: 8.031 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/1.38, allocations: 41.47 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/1.38, allocations: 245.2 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/1.38, allocations: 11.84 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/1.38, allocations: 25.86 kB / 1.124 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/1.381, allocations: 152.7 kB / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.381, allocations: 1.078 kB / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/1.381, allocations: 3.469 kB / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/1.381, allocations: 0 / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.381, allocations: 52.27 kB / 1.124 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/1.381, allocations: 342.4 kB / 1.124 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/1.382, allocations: 106.3 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/1.382, allocations: 57.44 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/1.382, allocations: 4 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/1.382, allocations: 163.8 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/1.382, allocations: 4 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004854/1.382, allocations: 252.4 kB / 1.125 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/1.382, allocations: 58.59 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/1.383, allocations: 259.7 kB / 1.125 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/1.383, allocations: 37.45 kB / 1.125 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/1.383, allocations: 88.83 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/1.383, allocations: 30.91 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/1.383, allocations: 4 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/1.383, allocations: 328.8 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/1.383, allocations: 86.92 kB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.383, allocations: 142.9 kB / 1.126 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/1.384, allocations: 154.1 kB / 1.126 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.384, allocations: 3.938 kB / 1.126 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006164/1.384, allocations: 388.4 kB / 1.126 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/1.384, allocations: 79.45 kB / 1.126 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.384, allocations: 7.953 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.384, allocations: 4.656 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/1.384, allocations: 19.5 kB / 1.126 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.385, allocations: 11.33 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/1.385, allocations: 38.59 kB / 1.126 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/1.385, allocations: 43.19 kB / 1.126 GB, free: 36.82 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001162/1.385, allocations: 126.9 kB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/1.385, allocations: 27.09 kB / 1.126 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/1.385, allocations: 31.25 kB / 1.126 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.385, allocations: 7.953 kB / 1.126 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.385, allocations: 0 / 1.126 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.385, allocations: 0 / 1.126 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007842/1.386, allocations: 0.5966 MB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.386, allocations: 0 / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/1.386, allocations: 7.953 kB / 1.127 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.386, allocations: 2.625 kB / 1.127 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/1.386, allocations: 19.19 kB / 1.127 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/1.386, allocations: 4 kB / 1.127 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.386, allocations: 9.375 kB / 1.127 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/1.386, allocations: 344.3 kB / 1.127 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.387, allocations: 156.2 kB / 1.128 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/1.387, allocations: 11.7 kB / 1.128 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/1.387, allocations: 43.84 kB / 1.128 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/1.387, allocations: 7.328 kB / 1.128 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/1.387, allocations: 39.61 kB / 1.128 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001643/1.387, allocations: 209.4 kB / 1.128 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/1.387, allocations: 0 / 1.128 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003331/1.388, allocations: 47.69 kB / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001741/1.388, allocations: 124.3 kB / 1.128 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004683/1.388, allocations: 340.5 kB / 1.128 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.388, allocations: 0 / 1.128 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/1.389, allocations: 66.95 kB / 1.128 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/1.389, allocations: 17.05 kB / 1.128 GB, free: 35.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/1.389, allocations: 282.8 kB / 1.129 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/1.39, allocations: 0.7459 MB / 1.129 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.208e-05/1.39, allocations: 12.11 kB / 1.129 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/1.39, allocations: 18.81 kB / 1.129 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/1.39, allocations: 4.656 kB / 1.129 GB, free: 34.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.00708/1.397, allocations: 3.915 MB / 1.133 GB, free: 31.77 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)