Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.319/1.319, 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.001317/0.001317, allocations: 179.5 kB / 327.6 MB, free: 2.156 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.625/1.625, allocations: 205.4 MB / 0.5785 GB, free: 20.26 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.0007972/0.0007972, allocations: 82.06 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003382, allocations: 11.38 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1609, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.3047, allocations: 133.6 MB / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.305, allocations: 75.95 kB / 1.032 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.3173, allocations: 4.484 MB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3173, allocations: 0 / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3174, allocations: 4 kB / 1.036 GB, free: 5.352 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.0007981/0.3182, allocations: 0.6227 MB / 1.037 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3182, allocations: 8.031 kB / 1.037 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.3183, allocations: 32.66 kB / 1.037 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3186, allocations: 259.6 kB / 1.037 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.3186, allocations: 16.25 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.3187, allocations: 24.36 kB / 1.037 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.3189, allocations: 146.1 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.319, allocations: 4.188 kB / 1.037 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.319, allocations: 3.938 kB / 1.037 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.319, allocations: 0 / 1.037 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3191, allocations: 51.97 kB / 1.037 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.3195, allocations: 321.3 kB / 1.038 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3197, allocations: 130.6 kB / 1.038 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3198, allocations: 59.72 kB / 1.038 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3199, allocations: 7.984 kB / 1.038 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.3202, allocations: 215.5 kB / 1.038 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.3202, allocations: 4 kB / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005038/0.3207, allocations: 272.1 kB / 1.038 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3208, allocations: 63.38 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.3211, allocations: 290.9 kB / 1.039 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.3211, allocations: 37.7 kB / 1.039 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.3212, allocations: 85.14 kB / 1.039 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.3212, allocations: 43.53 kB / 1.039 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.3213, allocations: 8 kB / 1.039 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3214, allocations: 330.8 kB / 1.039 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.3216, allocations: 100.2 kB / 1.039 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3219, allocations: 158.3 kB / 1.039 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.3222, allocations: 248 kB / 1.04 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3222, allocations: 0 / 1.04 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006834/0.3229, allocations: 420.6 kB / 1.04 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.323, allocations: 71.58 kB / 1.04 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.323, allocations: 8 kB / 1.04 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.323, allocations: 0 / 1.04 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3232, allocations: 31.91 kB / 1.04 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3232, allocations: 7.938 kB / 1.04 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.3235, allocations: 51.81 kB / 1.04 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.3236, allocations: 47.98 kB / 1.04 GB, free: 0.9219 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.0001761/0.3238, allocations: 183.9 kB / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3238, allocations: 31.61 kB / 1.04 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.3239, allocations: 26.25 kB / 1.04 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3239, allocations: 7.938 kB / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3239, allocations: 0 / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3239, allocations: 0 / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.3246, allocations: 0.5452 MB / 1.041 GB, free: 72 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3246, allocations: 7.938 kB / 1.041 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.3246, allocations: 19.86 kB / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3246, allocations: 0 / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3246, allocations: 11.98 kB / 1.041 GB, free: 32 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3247, allocations: 4 kB / 1.041 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3247, allocations: 0 / 1.041 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.325, allocations: 313.4 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3252, allocations: 164.5 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.3253, allocations: 15.98 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3254, allocations: 8 kB / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.3255, allocations: 15.97 kB / 1.041 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.3255, allocations: 31.98 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001721/0.3257, allocations: 209.9 kB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3257, allocations: 0 / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002936/0.326, allocations: 51.94 kB / 1.042 GB, free: 15.2 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.0001444/0.3261, allocations: 119.2 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005326/0.3267, allocations: 346.6 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3267, allocations: 0 / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3268, allocations: 71.95 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3271, allocations: 25.8 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.3278, allocations: 448.9 kB / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3281, allocations: 0.7474 MB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.3283, allocations: 37.08 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3284, allocations: 35.42 kB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.3284, allocations: 7.938 kB / 1.044 GB, free: 13.29 MB / 0.698 GB Notification: Performance of Templates: time 0.006785/0.3352, allocations: 4.322 MB / 1.048 GB, free: 8.984 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)