Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 252 MB / 267.9 MB, free: 10.91 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.0008916/0.0008918, allocations: 183.6 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007818/0.000782, allocations: 101.9 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 13.72 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2005, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.3671, allocations: 133.5 MB / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3673, allocations: 75.95 kB / 1.032 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.3807, allocations: 4.487 MB / 1.036 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3808, allocations: 0 / 1.036 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.3808, allocations: 4 kB / 1.036 GB, free: 5.414 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.001042/0.3818, allocations: 0.6182 MB / 1.037 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3819, allocations: 12.03 kB / 1.037 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.382, allocations: 32.66 kB / 1.037 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.3824, allocations: 263.5 kB / 1.037 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.3825, allocations: 12.38 kB / 1.037 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.3826, allocations: 20.36 kB / 1.037 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.3829, allocations: 146 kB / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3829, allocations: 192 / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.383, allocations: 7.938 kB / 1.037 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.383, allocations: 0 / 1.037 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3831, allocations: 47.97 kB / 1.037 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.3836, allocations: 333.3 kB / 1.038 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3839, allocations: 134.6 kB / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.384, allocations: 52.84 kB / 1.038 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.384, allocations: 7.984 kB / 1.038 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.3844, allocations: 211.5 kB / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.837e-06/0.3845, allocations: 0 / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006067/0.3851, allocations: 273.1 kB / 1.038 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3851, allocations: 63.39 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3854, allocations: 290.9 kB / 1.039 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/0.3855, allocations: 37.7 kB / 1.039 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.3856, allocations: 89.14 kB / 1.039 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.3857, allocations: 47.52 kB / 1.039 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.3857, allocations: 8 kB / 1.039 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3858, allocations: 322.8 kB / 1.039 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.3861, allocations: 100.2 kB / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.3864, allocations: 158.3 kB / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.3868, allocations: 244.4 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.3868, allocations: 4 kB / 1.039 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007845/0.3876, allocations: 416.7 kB / 1.04 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.3877, allocations: 77.73 kB / 1.04 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3877, allocations: 0 / 1.04 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3877, allocations: 7.938 kB / 1.04 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3879, allocations: 27.91 kB / 1.04 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.3879, allocations: 12.12 kB / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.3883, allocations: 51.81 kB / 1.04 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.3884, allocations: 55.98 kB / 1.04 GB, free: 0.9766 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.0001824/0.3885, allocations: 168 kB / 1.04 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.3886, allocations: 27.62 kB / 1.04 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.3887, allocations: 34.25 kB / 1.04 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3887, allocations: 3.938 kB / 1.04 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3887, allocations: 7.938 kB / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3887, allocations: 0 / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.3895, allocations: 0.5452 MB / 1.041 GB, free: 136 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3895, allocations: 7.875 kB / 1.041 GB, free: 128 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.3896, allocations: 15.92 kB / 1.041 GB, free: 112 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.3896, allocations: 4 kB / 1.041 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3896, allocations: 11.98 kB / 1.041 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3897, allocations: 0 / 1.041 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3897, allocations: 0 / 1.041 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.3901, allocations: 317.3 kB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.3903, allocations: 164.5 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.3904, allocations: 15.98 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3905, allocations: 4 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.3906, allocations: 27.95 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.3906, allocations: 27.98 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000196/0.3908, allocations: 205.9 kB / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/0.3909, allocations: 4 kB / 1.042 GB, free: 15.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003214/0.3912, allocations: 48 kB / 1.042 GB, free: 15.26 MB / 0.698 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.0001793/0.3914, allocations: 122.9 kB / 1.042 GB, free: 15.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005827/0.392, allocations: 350.8 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.392, allocations: 4.125 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3921, allocations: 75.86 kB / 1.042 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3925, allocations: 24.81 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.3933, allocations: 449 kB / 1.043 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3937, allocations: 0.7399 MB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.3938, allocations: 41.08 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3939, allocations: 31.42 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.3939, allocations: 3.938 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of Templates: time 0.008661/0.4026, allocations: 4.322 MB / 1.048 GB, free: 9.043 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)