Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 293 MB / 309 MB, free: 4.809 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.001207/0.001207, allocations: 182.1 kB / 378.7 MB, free: 1.051 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.572/1.572, allocations: 205.4 MB / 0.6383 GB, free: 8.164 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.0008333/0.0008333, allocations: 89.92 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003639, allocations: 16 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.231, allocations: 116.4 MB / 0.9904 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6529/0.884, allocations: 140.9 MB / 1.128 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.8843, allocations: 72.61 kB / 1.128 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.896, allocations: 4.465 MB / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.693e-06/0.896, allocations: 0 / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.896, allocations: 4 kB / 1.132 GB, free: 30.17 MB / 0.7292 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.0008812/0.8969, allocations: 0.6156 MB / 1.133 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.897, allocations: 12.03 kB / 1.133 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.8971, allocations: 28.66 kB / 1.133 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.8974, allocations: 265.2 kB / 1.133 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.8974, allocations: 13.25 kB / 1.133 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.8975, allocations: 15.89 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.8978, allocations: 146.6 kB / 1.134 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8978, allocations: 192 / 1.134 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.8978, allocations: 7.453 kB / 1.134 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.8978, allocations: 5.688 kB / 1.134 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.8979, allocations: 43.12 kB / 1.134 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.8982, allocations: 338.3 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.8985, allocations: 124.6 kB / 1.134 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.8986, allocations: 60.27 kB / 1.134 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.8986, allocations: 4 kB / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.899, allocations: 214 kB / 1.134 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/0.899, allocations: 0 / 1.134 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.000501/0.8995, allocations: 277.5 kB / 1.135 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.8995, allocations: 61.52 kB / 1.135 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.8998, allocations: 287.2 kB / 1.135 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.8998, allocations: 39.53 kB / 1.135 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.8999, allocations: 90.5 kB / 1.135 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.9, allocations: 43.88 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.9, allocations: 8.703 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.9, allocations: 326.3 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.9003, allocations: 101.6 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.9006, allocations: 154.2 kB / 1.136 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.9009, allocations: 243.5 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.9009, allocations: 0 / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006838/0.9016, allocations: 431.2 kB / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.9017, allocations: 80.75 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9017, allocations: 0 / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.9017, allocations: 4.75 kB / 1.136 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.9019, allocations: 30.69 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.9019, allocations: 4.703 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.9022, allocations: 43.22 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.9023, allocations: 63.45 kB / 1.136 GB, free: 26.2 MB / 0.7292 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.0001704/0.9025, allocations: 173.3 kB / 1.137 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.9025, allocations: 24.8 kB / 1.137 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.9026, allocations: 35.14 kB / 1.137 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.9026, allocations: 3.938 kB / 1.137 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9026, allocations: 0.5 kB / 1.137 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.9026, allocations: 1.312 kB / 1.137 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.9033, allocations: 0.5627 MB / 1.137 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.9033, allocations: 9.344 kB / 1.137 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.9034, allocations: 5.828 kB / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9034, allocations: 0 / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.9034, allocations: 13.02 kB / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9034, allocations: 1.172 kB / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9034, allocations: 1.203 kB / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.9038, allocations: 319.6 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.904, allocations: 160.5 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.9041, allocations: 9.125 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.9042, allocations: 11.34 kB / 1.138 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.9043, allocations: 19.73 kB / 1.138 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.9043, allocations: 29.11 kB / 1.138 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001597/0.9045, allocations: 204.3 kB / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9045, allocations: 0 / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003448/0.9049, allocations: 61.78 kB / 1.138 GB, free: 24.67 MB / 0.7292 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.0001241/0.905, allocations: 120.7 kB / 1.138 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005267/0.9055, allocations: 353.4 kB / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9056, allocations: 4 kB / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.9057, allocations: 77.2 kB / 1.139 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.906, allocations: 26.45 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.9066, allocations: 445.1 kB / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.9068, allocations: 0.7468 MB / 1.14 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.9069, allocations: 36.47 kB / 1.14 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.9071, allocations: 35.94 kB / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.9071, allocations: 0 / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.008324/0.9154, allocations: 4.331 MB / 1.144 GB, free: 20.4 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)