Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.942/3.942, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.002311/0.002311, allocations: 173.5 kB / 326.2 MB, free: 2.844 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.109/4.109, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.00255/0.00255, allocations: 89.3 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00079/0.0007902, allocations: 15.5 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3381, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.7073, allocations: 133.3 MB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004349/0.7079, allocations: 75.95 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03506/0.7429, allocations: 4.476 MB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of FrontEnd: time 8.506e-06/0.743, allocations: 0 / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.321e-05/0.7431, allocations: 11.92 kB / 1.034 GB, free: 7.438 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.00218/0.7453, allocations: 0.6183 MB / 1.035 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/0.7454, allocations: 12.03 kB / 1.035 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.7457, allocations: 28.66 kB / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.7465, allocations: 251.8 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.7466, allocations: 8.375 kB / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.7467, allocations: 24.3 kB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.7474, allocations: 138.1 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.7475, allocations: 192 / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.7475, allocations: 11.92 kB / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.7476, allocations: 8 kB / 1.035 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.7479, allocations: 51.91 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/0.7489, allocations: 329.2 kB / 1.036 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.7496, allocations: 130.7 kB / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.7499, allocations: 48.84 kB / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.75, allocations: 4 kB / 1.036 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009819/0.751, allocations: 223.5 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.927e-06/0.751, allocations: 3.938 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001457/0.7525, allocations: 266.7 kB / 1.036 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.7526, allocations: 71.25 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.7533, allocations: 287 kB / 1.037 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.7535, allocations: 37.7 kB / 1.037 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.7537, allocations: 89.14 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.7539, allocations: 47.44 kB / 1.037 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.754, allocations: 11.98 kB / 1.037 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.7542, allocations: 322.8 kB / 1.037 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.7549, allocations: 100.2 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.7557, allocations: 158.4 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.7563, allocations: 147.4 kB / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.7564, allocations: 4 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002036/0.7584, allocations: 425.6 kB / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.7586, allocations: 77.27 kB / 1.038 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.7587, allocations: 8 kB / 1.038 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.7587, allocations: 0 / 1.038 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.7591, allocations: 35.84 kB / 1.038 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.7591, allocations: 0 / 1.038 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.7601, allocations: 52.06 kB / 1.038 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.7603, allocations: 51.98 kB / 1.038 GB, free: 3.121 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.0005341/0.7608, allocations: 175.9 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.761, allocations: 27.66 kB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.7611, allocations: 26.25 kB / 1.038 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.7611, allocations: 11.94 kB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.7612, allocations: 0 / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.7612, allocations: 0 / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.7631, allocations: 0.5529 MB / 1.039 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.7631, allocations: 3.938 kB / 1.039 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.7633, allocations: 15.98 kB / 1.039 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.7633, allocations: 0 / 1.039 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.7634, allocations: 11.98 kB / 1.039 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.7634, allocations: 0 / 1.039 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7634, allocations: 4 kB / 1.039 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7646, allocations: 313 kB / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.7651, allocations: 164.6 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.7653, allocations: 11.98 kB / 1.039 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.7658, allocations: 8 kB / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.7659, allocations: 19.97 kB / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/0.7661, allocations: 27.98 kB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000515/0.7666, allocations: 209.9 kB / 1.04 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.11e-07/0.7666, allocations: 0 / 1.04 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009765/0.7676, allocations: 51.94 kB / 1.04 GB, free: 1.414 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.000312/0.7679, allocations: 123 kB / 1.04 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.7695, allocations: 354.5 kB / 1.04 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.7696, allocations: 384 / 1.04 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.77, allocations: 83.88 kB / 1.04 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.7708, allocations: 28.97 kB / 1.04 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.7725, allocations: 443.4 kB / 1.041 GB, free: 348 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.7732, allocations: 0.736 MB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004043/0.7736, allocations: 45.06 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.774, allocations: 31.42 kB / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/0.774, allocations: 0 / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of Templates: time 0.0197/0.7937, allocations: 4.308 MB / 1.046 GB, free: 11.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)