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.617/1.617, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.00123/0.00123, allocations: 176.8 kB / 361.4 MB, free: 6.871 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.714/1.714, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008064/0.0008064, allocations: 82.55 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.78e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6881, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.8863, allocations: 139.1 MB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.8866, allocations: 72.61 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.8998, allocations: 4.424 MB / 1.105 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8998, allocations: 0 / 1.105 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.8998, allocations: 4 kB / 1.105 GB, free: 12.34 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.0008405/0.9007, allocations: 0.5788 MB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.9007, allocations: 12.03 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.9008, allocations: 32.75 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.9011, allocations: 250.5 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.9012, allocations: 8 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.9012, allocations: 19.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/0.9014, allocations: 39.98 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.9016, allocations: 129.5 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9016, allocations: 2.438 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.9016, allocations: 0 / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.9016, allocations: 4 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.902, allocations: 305.8 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.9022, allocations: 122.6 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.9023, allocations: 54.84 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.9024, allocations: 5.312 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.9027, allocations: 212.8 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.9028, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003986/0.9032, allocations: 209.8 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.9032, allocations: 63.41 kB / 1.107 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.9034, allocations: 238.3 kB / 1.107 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.9035, allocations: 37.69 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.9036, allocations: 93.45 kB / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.9036, allocations: 43.44 kB / 1.107 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.9037, allocations: 4 kB / 1.107 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9038, allocations: 322.8 kB / 1.107 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.904, allocations: 88.2 kB / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.9042, allocations: 134.2 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.9044, allocations: 79.25 kB / 1.108 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9044, allocations: 1.688 kB / 1.108 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005519/0.9049, allocations: 319.6 kB / 1.108 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.761e-05/0.905, allocations: 76.48 kB / 1.108 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.905, allocations: 0 / 1.108 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.905, allocations: 4 kB / 1.108 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.9052, allocations: 27.91 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.9052, allocations: 6.734 kB / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.9056, allocations: 48 kB / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/0.9057, allocations: 55.98 kB / 1.108 GB, free: 8.523 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.0001334/0.9058, allocations: 127.1 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.9059, allocations: 27.67 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.9059, allocations: 30.03 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9059, allocations: 0 / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9059, allocations: 4 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9059, allocations: 0 / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.9066, allocations: 0.5183 MB / 1.109 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9067, allocations: 3.953 kB / 1.109 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.9067, allocations: 9.25 kB / 1.109 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.9067, allocations: 7.75 kB / 1.109 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.9067, allocations: 7.984 kB / 1.109 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9068, allocations: 0 / 1.109 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9068, allocations: 7.984 kB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.9071, allocations: 300.5 kB / 1.109 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.9073, allocations: 156.7 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.9073, allocations: 11.98 kB / 1.109 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.9075, allocations: 8 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.9076, allocations: 15.97 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.9076, allocations: 37.98 kB / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001672/0.9078, allocations: 194 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9078, allocations: 0 / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003146/0.9081, allocations: 48 kB / 1.11 GB, free: 6.945 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.0001706/0.9083, allocations: 125.8 kB / 1.11 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.9088, allocations: 328.3 kB / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9088, allocations: 0 / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.9089, allocations: 67.92 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.9091, allocations: 17.39 kB / 1.11 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.9096, allocations: 274.8 kB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.91, allocations: 0.7513 MB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.9101, allocations: 45.19 kB / 1.111 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.9103, allocations: 31.42 kB / 1.111 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9103, allocations: 0 / 1.111 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of Templates: time 0.007523/0.9178, allocations: 4.128 MB / 1.115 GB, free: 1.188 MB / 0.7136 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)