Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.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.624/1.624, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.001065/0.001065, allocations: 174.2 kB / 373 MB, free: 10.16 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.633/1.633, allocations: 205.4 MB / 0.6317 GB, free: 9.883 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.0007289/0.000729, allocations: 98.61 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 10.31 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1966, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6645/0.8612, allocations: 139.9 MB / 1.117 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.8615, allocations: 71.53 kB / 1.117 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01226/0.8738, allocations: 4.468 MB / 1.122 GB, free: 32.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8738, allocations: 3.969 kB / 1.122 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.8738, allocations: 0 / 1.122 GB, free: 32.08 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008556/0.8747, allocations: 0.6285 MB / 1.122 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8747, allocations: 7.719 kB / 1.122 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.8748, allocations: 32 kB / 1.122 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.8751, allocations: 256.8 kB / 1.123 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.8752, allocations: 14.34 kB / 1.123 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.8752, allocations: 19.22 kB / 1.123 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.8755, allocations: 141.1 kB / 1.123 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8755, allocations: 192 / 1.123 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.8756, allocations: 7 kB / 1.123 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8756, allocations: 7.938 kB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.8757, allocations: 47.33 kB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.876, allocations: 330.9 kB / 1.123 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.8762, allocations: 129.9 kB / 1.123 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.8764, allocations: 60.31 kB / 1.123 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.8764, allocations: 7.844 kB / 1.123 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.8768, allocations: 208.1 kB / 1.124 GB, free: 30.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.8768, allocations: 0 / 1.124 GB, free: 30.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004857/0.8773, allocations: 280.8 kB / 1.124 GB, free: 30.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.8773, allocations: 62.45 kB / 1.124 GB, free: 30.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.8776, allocations: 279.2 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.8776, allocations: 42.88 kB / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.8777, allocations: 88.39 kB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.8777, allocations: 47.72 kB / 1.124 GB, free: 30.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.8778, allocations: 7.5 kB / 1.124 GB, free: 30.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8779, allocations: 324.3 kB / 1.125 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.8781, allocations: 103.7 kB / 1.125 GB, free: 30.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.8784, allocations: 156 kB / 1.125 GB, free: 30.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.8787, allocations: 244 kB / 1.125 GB, free: 30.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8787, allocations: 3.812 kB / 1.125 GB, free: 30.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006541/0.8793, allocations: 424 kB / 1.126 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.8794, allocations: 76.94 kB / 1.126 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.8794, allocations: 0 / 1.126 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8794, allocations: 8.156 kB / 1.126 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.8796, allocations: 37.5 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8796, allocations: 0 / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.88, allocations: 46.52 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.88, allocations: 55.12 kB / 1.126 GB, free: 29.87 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.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.0001912/0.8802, allocations: 180.4 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.8803, allocations: 26.27 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.8803, allocations: 25.39 kB / 1.126 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.8803, allocations: 7.844 kB / 1.126 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8804, allocations: 0 / 1.126 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8804, allocations: 2.531 kB / 1.126 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.8811, allocations: 0.5588 MB / 1.127 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8811, allocations: 3.938 kB / 1.127 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.8811, allocations: 11.53 kB / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.8811, allocations: 0 / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.8812, allocations: 13.11 kB / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8812, allocations: 3.938 kB / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8812, allocations: 0 / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.8815, allocations: 323.8 kB / 1.127 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.8817, allocations: 153.4 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.8817, allocations: 9.234 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.8819, allocations: 17.66 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.882, allocations: 13.91 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.882, allocations: 32.28 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001627/0.8822, allocations: 206.6 kB / 1.127 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8822, allocations: 0 / 1.127 GB, free: 29.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003124/0.8825, allocations: 54.06 kB / 1.127 GB, free: 29.04 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.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.0001577/0.8827, allocations: 129.6 kB / 1.127 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.8832, allocations: 353.7 kB / 1.128 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8832, allocations: 0 / 1.128 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.8834, allocations: 75.83 kB / 1.128 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.8837, allocations: 30.31 kB / 1.128 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.8843, allocations: 445 kB / 1.128 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.8847, allocations: 0.7394 MB / 1.129 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.8848, allocations: 39 kB / 1.129 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.957e-05/0.8849, allocations: 40.84 kB / 1.129 GB, free: 27.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8849, allocations: 0 / 1.129 GB, free: 27.8 MB / 0.698 GB Notification: Performance of Templates: time 0.006474/0.8914, allocations: 4.338 MB / 1.133 GB, free: 26.56 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)