Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 285.4 MB / 298 MB, free: 5.957 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.001592/0.001592, allocations: 184.8 kB / 366.4 MB, free: 2.105 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.925/1.925, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0008116/0.0008112, allocations: 93.41 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.276e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8643, allocations: 115.3 MB / 0.9709 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/1.078, allocations: 139.7 MB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.078, allocations: 78.91 kB / 1.107 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01422/1.092, allocations: 4.444 MB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/1.092, allocations: 0 / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.633e-05/1.092, allocations: 0 / 1.112 GB, free: 7.59 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.001018/1.093, allocations: 0.5788 MB / 1.112 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.093, allocations: 12.03 kB / 1.112 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/1.093, allocations: 31.72 kB / 1.112 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/1.094, allocations: 242.6 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/1.094, allocations: 15.84 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/1.094, allocations: 23.98 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/1.094, allocations: 141.5 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.094, allocations: 0 / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/1.094, allocations: 7.984 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/1.094, allocations: 4 kB / 1.113 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/1.094, allocations: 43.98 kB / 1.113 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/1.095, allocations: 337.1 kB / 1.113 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/1.095, allocations: 122.7 kB / 1.113 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.095, allocations: 56.84 kB / 1.113 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/1.095, allocations: 3.984 kB / 1.113 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/1.096, allocations: 216.7 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/1.096, allocations: 0 / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004779/1.096, allocations: 222.4 kB / 1.114 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/1.096, allocations: 63.39 kB / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/1.097, allocations: 255.4 kB / 1.114 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/1.097, allocations: 37.7 kB / 1.114 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/1.097, allocations: 89.14 kB / 1.114 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/1.097, allocations: 47.48 kB / 1.114 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/1.097, allocations: 8 kB / 1.114 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.097, allocations: 320.6 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/1.097, allocations: 92.22 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/1.098, allocations: 154.4 kB / 1.115 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/1.098, allocations: 153.5 kB / 1.115 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.098, allocations: 0 / 1.115 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007282/1.099, allocations: 424.8 kB / 1.115 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.819e-05/1.099, allocations: 71.39 kB / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.099, allocations: 0 / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.099, allocations: 4 kB / 1.115 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/1.099, allocations: 31.91 kB / 1.115 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.099, allocations: 4 kB / 1.115 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/1.099, allocations: 44.06 kB / 1.115 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/1.099, allocations: 55.98 kB / 1.116 GB, free: 3.449 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.0001419/1.1, allocations: 131.1 kB / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/1.1, allocations: 33.34 kB / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/1.1, allocations: 30.03 kB / 1.116 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.1, allocations: 4 kB / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.1, allocations: 4 kB / 1.116 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.1, allocations: 0 / 1.116 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008365/1.101, allocations: 0.5591 MB / 1.116 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.101, allocations: 3.984 kB / 1.116 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/1.101, allocations: 4 kB / 1.116 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.101, allocations: 4 kB / 1.116 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/1.101, allocations: 15.97 kB / 1.116 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.101, allocations: 0 / 1.116 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.101, allocations: 0 / 1.116 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/1.101, allocations: 325.5 kB / 1.117 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/1.101, allocations: 152.7 kB / 1.117 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/1.101, allocations: 8.75 kB / 1.117 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/1.102, allocations: 15.98 kB / 1.117 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/1.102, allocations: 15.97 kB / 1.117 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/1.102, allocations: 27.98 kB / 1.117 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002012/1.102, allocations: 211.1 kB / 1.117 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.102, allocations: 0 / 1.117 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003362/1.102, allocations: 59.27 kB / 1.117 GB, free: 1.777 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.0001653/1.102, allocations: 111.2 kB / 1.117 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005697/1.103, allocations: 350.8 kB / 1.118 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.103, allocations: 0 / 1.118 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/1.103, allocations: 64.3 kB / 1.118 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/1.103, allocations: 30.69 kB / 1.118 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/1.104, allocations: 280.5 kB / 1.118 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/1.104, allocations: 0.7516 MB / 1.119 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001473/1.105, allocations: 39.39 kB / 1.119 GB, free: 92 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.105, allocations: 35.42 kB / 1.119 GB, free: 56 kB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/1.105, allocations: 0 / 1.119 GB, free: 56 kB / 0.7136 GB Notification: Performance of Templates: time 0.008448/1.113, allocations: 4.31 MB / 1.123 GB, free: 11.81 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)