Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.507/3.507, allocations: 251.1 MB / 266.7 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002228/0.002228, allocations: 183.8 kB / 326.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.022/4.022, allocations: 205.4 MB / 0.5772 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 97.47 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007573/0.0007576, allocations: 13.09 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3778, allocations: 106.3 MB / 0.8995 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.7465, allocations: 133.4 MB / 1.03 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004451/0.7471, allocations: 71.97 kB / 1.03 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04379/0.7909, allocations: 4.489 MB / 1.034 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-05/0.791, allocations: 4 kB / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.48e-05/0.791, allocations: 7.938 kB / 1.034 GB, free: 7.844 MB / 0.6823 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.001994/0.793, allocations: 0.6221 MB / 1.035 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.7931, allocations: 8.031 kB / 1.035 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.7934, allocations: 32.66 kB / 1.035 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.7941, allocations: 247.9 kB / 1.035 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.689e-05/0.7942, allocations: 16.36 kB / 1.035 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.7944, allocations: 20.31 kB / 1.035 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.795, allocations: 147.5 kB / 1.035 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.7951, allocations: 192 / 1.035 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.7951, allocations: 7.938 kB / 1.035 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.7952, allocations: 4 kB / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.7955, allocations: 43.97 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.7963, allocations: 333.2 kB / 1.036 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.797, allocations: 138.6 kB / 1.036 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.7974, allocations: 52.83 kB / 1.036 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.7974, allocations: 0 / 1.036 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/0.7984, allocations: 215.6 kB / 1.036 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 7.905e-06/0.7985, allocations: 0 / 1.036 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001517/0.8, allocations: 270.5 kB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.8002, allocations: 67.3 kB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007289/0.8009, allocations: 283 kB / 1.037 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.8011, allocations: 37.7 kB / 1.037 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.8013, allocations: 93.12 kB / 1.037 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.8014, allocations: 51.44 kB / 1.037 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.8015, allocations: 8 kB / 1.037 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002744/0.8018, allocations: 318.8 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.8026, allocations: 104.2 kB / 1.037 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/0.8033, allocations: 158.3 kB / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.804, allocations: 151.4 kB / 1.038 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.804, allocations: 0 / 1.038 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001967/0.806, allocations: 424.9 kB / 1.038 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.8062, allocations: 79.38 kB / 1.038 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.8063, allocations: 8.188 kB / 1.038 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.8063, allocations: 3.938 kB / 1.038 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.8067, allocations: 31.86 kB / 1.038 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.8067, allocations: 3.984 kB / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.8077, allocations: 43.89 kB / 1.038 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.8079, allocations: 55.97 kB / 1.038 GB, free: 3.531 MB / 0.6823 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 () * 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.0005386/0.8084, allocations: 179.9 kB / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.8086, allocations: 31.66 kB / 1.038 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.8087, allocations: 26.25 kB / 1.038 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.8087, allocations: 7.938 kB / 1.038 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8088, allocations: 0 / 1.038 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.8088, allocations: 3.984 kB / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.8107, allocations: 0.5529 MB / 1.039 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.8108, allocations: 7.938 kB / 1.039 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.8109, allocations: 12 kB / 1.039 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.811, allocations: 0 / 1.039 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.8111, allocations: 15.97 kB / 1.039 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.8111, allocations: 0 / 1.039 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.8111, allocations: 3.938 kB / 1.039 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.8122, allocations: 313.1 kB / 1.039 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/0.8127, allocations: 160.7 kB / 1.039 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.8128, allocations: 12 kB / 1.039 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.8133, allocations: 11.98 kB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.8134, allocations: 15.98 kB / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.611e-05/0.8135, allocations: 27.97 kB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005175/0.8141, allocations: 205.9 kB / 1.04 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.31e-07/0.8141, allocations: 0 / 1.04 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009784/0.8151, allocations: 51.98 kB / 1.04 GB, free: 1.82 MB / 0.6823 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0003358/0.8155, allocations: 131 kB / 1.04 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.8171, allocations: 350.5 kB / 1.04 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.8172, allocations: 0 / 1.04 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.8176, allocations: 73.62 kB / 1.04 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007655/0.8184, allocations: 24.81 kB / 1.04 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.8201, allocations: 443.8 kB / 1.041 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.8207, allocations: 0.736 MB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004112/0.8212, allocations: 45.06 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.8215, allocations: 31.42 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of SimCode: time 4.919e-06/0.8215, allocations: 4 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of Templates: time 0.01964/0.8412, allocations: 4.307 MB / 1.046 GB, free: 11.61 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)