Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 183.4 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 92.33 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 277.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005483/0.0005483, allocations: 11.16 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2092, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6075/0.8168, allocations: 110.6 MB / 0.8817 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.8171, allocations: 79.36 kB / 0.8818 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.8305, allocations: 4.477 MB / 0.8861 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8305, allocations: 0 / 0.8861 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.8305, allocations: 9.375 kB / 0.8861 GB, free: 31.09 MB / 0.5417 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.0008687/0.8314, allocations: 0.6175 MB / 0.8867 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8315, allocations: 9.484 kB / 0.8868 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.8316, allocations: 33.95 kB / 0.8868 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.8319, allocations: 250 kB / 0.887 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.832, allocations: 16.86 kB / 0.887 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.832, allocations: 21.55 kB / 0.8871 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.8323, allocations: 144.2 kB / 0.8872 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8324, allocations: 0 / 0.8872 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.8324, allocations: 4.531 kB / 0.8872 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8324, allocations: 6.969 kB / 0.8872 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.8325, allocations: 46.61 kB / 0.8873 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.833, allocations: 328.4 kB / 0.8876 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.8332, allocations: 134.6 kB / 0.8877 GB, free: 30.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.8333, allocations: 7.031 kB / 0.8877 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.8338, allocations: 215.7 kB / 0.8879 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.8338, allocations: 1.156 kB / 0.8879 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006612/0.8344, allocations: 267.8 kB / 0.8882 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.8345, allocations: 63.39 kB / 0.8882 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.8348, allocations: 252.4 kB / 0.8885 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.8349, allocations: 40.94 kB / 0.8885 GB, free: 29.72 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.8349, allocations: 94.08 kB / 0.8886 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.835, allocations: 41.69 kB / 0.8886 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.835, allocations: 8.906 kB / 0.8886 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.8351, allocations: 327.8 kB / 0.889 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.8354, allocations: 104 kB / 0.8891 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.8357, allocations: 162 kB / 0.8892 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.836, allocations: 153.7 kB / 0.8894 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.836, allocations: 0 / 0.8894 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007606/0.8367, allocations: 428.2 kB / 0.8898 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.8368, allocations: 75.14 kB / 0.8898 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8368, allocations: 2.5 kB / 0.8898 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.8369, allocations: 3.547 kB / 0.8898 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.837, allocations: 32.03 kB / 0.8899 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.8371, allocations: 7.234 kB / 0.8899 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.8374, allocations: 49.09 kB / 0.8899 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.421e-05/0.8375, allocations: 51.94 kB / 0.89 GB, free: 28.97 MB / 0.5417 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.0001877/0.8377, allocations: 175.2 kB / 0.8901 GB, free: 28.85 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.8378, allocations: 28.56 kB / 0.8902 GB, free: 28.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.8378, allocations: 33.5 kB / 0.8902 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8378, allocations: 0 / 0.8902 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.8379, allocations: 3.406 kB / 0.8902 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8379, allocations: 1.5 kB / 0.8902 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.8388, allocations: 0.5547 MB / 0.8907 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8388, allocations: 0 / 0.8907 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.8389, allocations: 15.95 kB / 0.8908 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.8389, allocations: 2 kB / 0.8908 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.8389, allocations: 14.28 kB / 0.8908 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.8389, allocations: 3.344 kB / 0.8908 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8389, allocations: 0 / 0.8908 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.8393, allocations: 316 kB / 0.8911 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.8396, allocations: 159.7 kB / 0.8912 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.8396, allocations: 11.89 kB / 0.8912 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.8398, allocations: 18.19 kB / 0.8913 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.8399, allocations: 18.28 kB / 0.8913 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.8399, allocations: 33.47 kB / 0.8913 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001898/0.8401, allocations: 205 kB / 0.8915 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8401, allocations: 0 / 0.8915 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003312/0.8405, allocations: 55.41 kB / 0.8916 GB, free: 28.14 MB / 0.5417 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.00015/0.8406, allocations: 117.9 kB / 0.8917 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.8413, allocations: 359.5 kB / 0.892 GB, free: 27.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8413, allocations: 0 / 0.892 GB, free: 27.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.8415, allocations: 74.73 kB / 0.8921 GB, free: 27.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.8417, allocations: 19.61 kB / 0.8921 GB, free: 27.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.8426, allocations: 442.5 kB / 0.8925 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/0.8443, allocations: 0.7499 MB / 0.8933 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.8445, allocations: 37.53 kB / 0.8933 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.8447, allocations: 37.89 kB / 0.8933 GB, free: 42.92 MB / 0.5573 GB Notification: Performance of SimCode: time 1.412e-06/0.8447, allocations: 0 / 0.8933 GB, free: 42.92 MB / 0.5573 GB Notification: Performance of Templates: time 0.01072/0.8554, allocations: 4.318 MB / 0.8975 GB, free: 42.48 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)