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.7959/0.7959, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 179.9 kB / 187.3 MB, free: 11.89 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.495/1.495, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009329/0.0009326, allocations: 93.09 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 270.5 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.506e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4418, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.557, allocations: 110.5 MB / 0.8722 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.5572, allocations: 75.83 kB / 0.8722 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.5704, allocations: 4.503 MB / 0.8766 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5704, allocations: 0 / 0.8766 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.5705, allocations: 4 kB / 0.8766 GB, free: 9.477 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.0007597/0.5712, allocations: 0.5711 MB / 0.8772 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5713, allocations: 12.03 kB / 0.8772 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.5714, allocations: 31.62 kB / 0.8772 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.5717, allocations: 246.6 kB / 0.8775 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.5717, allocations: 19.89 kB / 0.8775 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.5718, allocations: 19.98 kB / 0.8775 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.572, allocations: 137.5 kB / 0.8776 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.572, allocations: 0 / 0.8776 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.5721, allocations: 11.97 kB / 0.8777 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5721, allocations: 0 / 0.8777 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.5722, allocations: 43.98 kB / 0.8777 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.5725, allocations: 333.2 kB / 0.878 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.5728, allocations: 130.7 kB / 0.8781 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.5729, allocations: 57.17 kB / 0.8782 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5729, allocations: 4 kB / 0.8782 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.5733, allocations: 224.8 kB / 0.8784 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.5733, allocations: 0 / 0.8784 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004297/0.5737, allocations: 214.5 kB / 0.8786 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.5738, allocations: 67.3 kB / 0.8787 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.574, allocations: 251.4 kB / 0.8789 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.5741, allocations: 33.7 kB / 0.879 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.5741, allocations: 97.14 kB / 0.8791 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.5742, allocations: 43.48 kB / 0.8791 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.5742, allocations: 8 kB / 0.8791 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.5743, allocations: 322.8 kB / 0.8794 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.5745, allocations: 96.22 kB / 0.8795 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.5748, allocations: 154.4 kB / 0.8796 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.575, allocations: 150.3 kB / 0.8798 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.575, allocations: 4 kB / 0.8798 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006544/0.5757, allocations: 419.1 kB / 0.8802 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.5757, allocations: 71.39 kB / 0.8803 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5757, allocations: 4 kB / 0.8803 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5758, allocations: 0 / 0.8803 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.5759, allocations: 35.91 kB / 0.8803 GB, free: 5.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5759, allocations: 0 / 0.8803 GB, free: 5.438 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.5763, allocations: 47.88 kB / 0.8803 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/0.5764, allocations: 52.05 kB / 0.8804 GB, free: 5.34 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 () * 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.0001095/0.5765, allocations: 131.1 kB / 0.8805 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.5765, allocations: 35.59 kB / 0.8806 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.5766, allocations: 34.03 kB / 0.8806 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5766, allocations: 0 / 0.8806 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5766, allocations: 8 kB / 0.8806 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5766, allocations: 0 / 0.8806 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.5774, allocations: 0.558 MB / 0.8811 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5774, allocations: 0 / 0.8811 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.5774, allocations: 8 kB / 0.8811 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5774, allocations: 3.984 kB / 0.8812 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.5775, allocations: 15.98 kB / 0.8812 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5775, allocations: 3.938 kB / 0.8812 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5775, allocations: 0 / 0.8812 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.5779, allocations: 320.3 kB / 0.8815 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.578, allocations: 156.7 kB / 0.8816 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.5781, allocations: 8 kB / 0.8816 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.5783, allocations: 11.98 kB / 0.8816 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.5783, allocations: 15.97 kB / 0.8817 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.5784, allocations: 31.98 kB / 0.8817 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001685/0.5785, allocations: 203.1 kB / 0.8819 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5786, allocations: 0 / 0.8819 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002962/0.5789, allocations: 55.98 kB / 0.8819 GB, free: 3.66 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) * 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.000124/0.579, allocations: 115.2 kB / 0.882 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.5795, allocations: 348.3 kB / 0.8824 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5795, allocations: 0 / 0.8824 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.5796, allocations: 75.91 kB / 0.8825 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.5799, allocations: 20.62 kB / 0.8825 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.5803, allocations: 286.4 kB / 0.8827 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.5806, allocations: 0.7482 MB / 0.8835 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.5808, allocations: 37.2 kB / 0.8835 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5809, allocations: 35.42 kB / 0.8835 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.5809, allocations: 3.938 kB / 0.8835 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of Templates: time 0.006995/0.5879, allocations: 4.307 MB / 0.8878 GB, free: 13.62 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)