Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.966/0.966, allocations: 177.2 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.828/1.828, allocations: 389.6 MB / 0.6355 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0.875 kB / 0.7753 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.71e-05, allocations: 5.547 kB / 0.7753 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002442/0.002469, allocations: 1.621 MB / 0.7769 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003705, allocations: 0.5399 MB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.003788, allocations: 0 / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.003925, allocations: 10.16 kB / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.004064, allocations: 32.83 kB / 0.7775 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.004784, allocations: 318.5 kB / 0.7778 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.005267, allocations: 492.1 kB / 0.7782 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.005315, allocations: 8.484 kB / 0.7783 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.005682, allocations: 355.6 kB / 0.7786 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.005909, allocations: 137.9 kB / 0.7787 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.005971, allocations: 28.66 kB / 0.7788 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.006024, allocations: 28.75 kB / 0.7788 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.006131, allocations: 119.7 kB / 0.7789 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.00624, allocations: 132.3 kB / 0.779 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.006542, allocations: 374.9 kB / 0.7794 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.006544, allocations: 0.6562 kB / 0.7794 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006545, allocations: 0 / 0.7794 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.00655, allocations: 4.594 kB / 0.7794 GB, free: 1.242 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.0008688/0.007419, allocations: 0.7364 MB / 0.7801 GB, free: 452 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.007462, allocations: 13.28 kB / 0.7801 GB, free: 440 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.007542, allocations: 49.53 kB / 0.7802 GB, free: 392 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.007793, allocations: 224.1 kB / 0.7804 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.007856, allocations: 20.86 kB / 0.7804 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.007901, allocations: 30.09 kB / 0.7804 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.008254, allocations: 173.5 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.008264, allocations: 4.188 kB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.008282, allocations: 0.9688 kB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.008288, allocations: 1.375 kB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.008369, allocations: 48.69 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.008547, allocations: 112.9 kB / 0.7808 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.008705, allocations: 103.6 kB / 0.7809 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.008782, allocations: 40.25 kB / 0.7809 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.008801, allocations: 5.094 kB / 0.7809 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.008979, allocations: 160.4 kB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.008981, allocations: 0 / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003247/0.009306, allocations: 195.3 kB / 0.7812 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.009347, allocations: 64.28 kB / 0.7813 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.009535, allocations: 327.3 kB / 0.7816 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.009569, allocations: 41.69 kB / 0.7816 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.009615, allocations: 94.25 kB / 0.7817 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.009655, allocations: 39.73 kB / 0.7818 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.009765, allocations: 110 kB / 0.7819 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.009854, allocations: 328.3 kB / 0.7822 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.01, allocations: 167.2 kB / 0.7824 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.01015, allocations: 201.3 kB / 0.7825 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01034, allocations: 250.4 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.01035, allocations: 5.375 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003508/0.0107, allocations: 429.1 kB / 0.7832 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003893/0.01109, allocations: 83.38 kB / 0.7833 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.0111, allocations: 1.094 kB / 0.7833 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.01112, allocations: 4 kB / 0.7833 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.01131, allocations: 39.89 kB / 0.7833 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01132, allocations: 5.094 kB / 0.7833 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.01159, allocations: 49.02 kB / 0.7834 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.01166, allocations: 47.92 kB / 0.7834 GB, free: 12.87 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.01188, allocations: 147.2 kB / 0.7836 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.01194, allocations: 31.95 kB / 0.7836 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.302e-05/0.01202, allocations: 33.66 kB / 0.7836 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01202, allocations: 0 / 0.7836 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01202, allocations: 3.984 kB / 0.7836 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01203, allocations: 0 / 0.7836 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/0.01268, allocations: 375.8 kB / 0.784 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.01268, allocations: 3.984 kB / 0.784 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.01274, allocations: 4 kB / 0.784 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.01274, allocations: 4 kB / 0.784 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.01277, allocations: 12.97 kB / 0.784 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.01277, allocations: 4 kB / 0.784 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01278, allocations: 0.875 kB / 0.784 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.01308, allocations: 244.5 kB / 0.7842 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.01325, allocations: 108.4 kB / 0.7843 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.01331, allocations: 15.98 kB / 0.7844 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.01352, allocations: 29.41 kB / 0.7844 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.01357, allocations: 16.92 kB / 0.7844 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.01362, allocations: 51.91 kB / 0.7845 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001162/0.01373, allocations: 136.7 kB / 0.7846 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01373, allocations: 0.9062 kB / 0.7846 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002685/0.014, allocations: 63.98 kB / 0.7846 GB, free: 11.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.01421, allocations: 97.97 kB / 0.7847 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.01478, allocations: 397.5 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.01479, allocations: 4 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01489, allocations: 66.97 kB / 0.7852 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.01516, allocations: 42.45 kB / 0.7852 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.01604, allocations: 456.8 kB / 0.7857 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.391e-05/0.01613, allocations: 87.81 kB / 0.7857 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.01618, allocations: 21.83 kB / 0.7858 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.01642, allocations: 119.5 kB / 0.7859 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of SimCode: time 2.004e-06/0.01642, allocations: 0.5312 kB / 0.7859 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.008605/0.02503, allocations: 5.319 MB / 0.7911 GB, free: 4.926 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.120543346740305]