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.724/1.724, allocations: 285.4 MB / 298 MB, free: 5.988 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.001517/0.001517, allocations: 172.9 kB / 366.4 MB, free: 2.117 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.911/1.911, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0008617/0.0008613, allocations: 84.09 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.612e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.7566, allocations: 115.3 MB / 0.9709 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.9739, allocations: 139.8 MB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.9742, allocations: 67.97 kB / 1.107 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.9879, allocations: 4.449 MB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9879, allocations: 0 / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.51e-05/0.988, allocations: 4 kB / 1.112 GB, free: 7.52 MB / 0.7136 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.001008/0.989, allocations: 0.5788 MB / 1.112 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.9891, allocations: 8.031 kB / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.9892, allocations: 35.7 kB / 1.112 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.9896, allocations: 250.6 kB / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.9897, allocations: 15.92 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.9897, allocations: 16 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.99, allocations: 137.5 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.9901, allocations: 1.406 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.9901, allocations: 12 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.9901, allocations: 0 / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.9902, allocations: 43.98 kB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.9907, allocations: 338 kB / 1.113 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.9909, allocations: 124.8 kB / 1.113 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.9911, allocations: 56.84 kB / 1.113 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.9911, allocations: 8 kB / 1.113 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.9915, allocations: 216.9 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.344e-06/0.9915, allocations: 0 / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004722/0.992, allocations: 217.2 kB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.9921, allocations: 63.41 kB / 1.114 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.9924, allocations: 247.4 kB / 1.114 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.9925, allocations: 41.69 kB / 1.114 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.9926, allocations: 91.11 kB / 1.114 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.9926, allocations: 43.5 kB / 1.114 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.9927, allocations: 8 kB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9928, allocations: 322.8 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.9931, allocations: 104.2 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.9934, allocations: 142.4 kB / 1.115 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.9936, allocations: 158.7 kB / 1.115 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.9937, allocations: 0 / 1.115 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007222/0.9944, allocations: 419 kB / 1.115 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.9945, allocations: 76.78 kB / 1.115 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9945, allocations: 0 / 1.115 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.9945, allocations: 4 kB / 1.115 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.9947, allocations: 27.92 kB / 1.115 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9947, allocations: 5.5 kB / 1.115 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.9951, allocations: 51.88 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.9952, allocations: 47.98 kB / 1.116 GB, free: 3.383 MB / 0.7136 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 () * 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.0001544/0.9954, allocations: 135.1 kB / 1.116 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.9954, allocations: 27.67 kB / 1.116 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.9955, allocations: 38.03 kB / 1.116 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.9955, allocations: 0 / 1.116 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9955, allocations: 0 / 1.116 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.9955, allocations: 1.781 kB / 1.116 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.9964, allocations: 0.5644 MB / 1.116 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.9964, allocations: 0 / 1.116 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.9964, allocations: 9.375 kB / 1.116 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.9964, allocations: 0 / 1.116 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.9965, allocations: 11.98 kB / 1.116 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.9965, allocations: 11.94 kB / 1.116 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9965, allocations: 0 / 1.116 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.9969, allocations: 321.5 kB / 1.117 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.9971, allocations: 148.7 kB / 1.117 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.9972, allocations: 8 kB / 1.117 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.9974, allocations: 15.98 kB / 1.117 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.9974, allocations: 11.98 kB / 1.117 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.9975, allocations: 39.97 kB / 1.117 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002115/0.9977, allocations: 203.1 kB / 1.117 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9977, allocations: 0 / 1.117 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003688/0.9981, allocations: 48.38 kB / 1.117 GB, free: 1.715 MB / 0.7136 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) * 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.0002221/0.9983, allocations: 126 kB / 1.117 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006171/0.999, allocations: 347.1 kB / 1.118 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.999, allocations: 6.969 kB / 1.118 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.9991, allocations: 71.92 kB / 1.118 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.9994, allocations: 23.84 kB / 1.118 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/1, allocations: 278.3 kB / 1.118 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/1, allocations: 0.7516 MB / 1.119 GB, free: 56 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001473/1.001, allocations: 37.19 kB / 1.119 GB, free: 20 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/1.001, allocations: 35.42 kB / 1.119 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.001, allocations: 3.938 kB / 1.119 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.009389/1.01, allocations: 4.307 MB / 1.123 GB, free: 11.74 MB / 0.7292 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)