Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7846/0.7846, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001084/0.001084, allocations: 187.8 kB / 182.2 MB, free: 9.449 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.415/1.415, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009083/0.0009083, allocations: 83.42 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002207, allocations: 279.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.918e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3848, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5278, allocations: 109.8 MB / 0.8647 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5281, allocations: 71.95 kB / 0.8648 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.5414, allocations: 4.468 MB / 0.8692 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5414, allocations: 0 / 0.8692 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.5415, allocations: 7.984 kB / 0.8692 GB, free: 13.38 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.0007938/0.5423, allocations: 0.5711 MB / 0.8697 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5423, allocations: 12.03 kB / 0.8697 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.5424, allocations: 31.62 kB / 0.8698 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.5427, allocations: 250.6 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.5428, allocations: 15.88 kB / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.5428, allocations: 12 kB / 0.87 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/0.543, allocations: 43.98 kB / 0.8701 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.5432, allocations: 137.5 kB / 0.8702 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5432, allocations: 0 / 0.8702 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.5432, allocations: 3.984 kB / 0.8702 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5432, allocations: 0 / 0.8702 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.5435, allocations: 305.8 kB / 0.8705 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.5437, allocations: 122.7 kB / 0.8706 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.5438, allocations: 56.84 kB / 0.8707 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.5439, allocations: 3.984 kB / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003507/0.5442, allocations: 212.7 kB / 0.8709 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.5442, allocations: 0 / 0.8709 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0003781/0.5446, allocations: 218.6 kB / 0.8711 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5447, allocations: 55.41 kB / 0.8711 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.5449, allocations: 246.3 kB / 0.8714 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.545, allocations: 29.7 kB / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.545, allocations: 93.45 kB / 0.8715 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.5451, allocations: 39.52 kB / 0.8715 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.5451, allocations: 7.984 kB / 0.8715 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5452, allocations: 318.8 kB / 0.8718 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.5454, allocations: 88.22 kB / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.5456, allocations: 137.9 kB / 0.872 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.5458, allocations: 80.56 kB / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5458, allocations: 4 kB / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005154/0.5463, allocations: 307.9 kB / 0.8724 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.5464, allocations: 79.38 kB / 0.8725 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.5464, allocations: 7.953 kB / 0.8725 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5464, allocations: 4 kB / 0.8725 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.5466, allocations: 27.92 kB / 0.8725 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.5466, allocations: 3.984 kB / 0.8725 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.5469, allocations: 43.83 kB / 0.8726 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.547, allocations: 55.97 kB / 0.8726 GB, free: 9.551 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.0001198/0.5472, allocations: 124.2 kB / 0.8728 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002893/0.5475, allocations: 209.2 kB / 0.873 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.5475, allocations: 27.67 kB / 0.873 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.5476, allocations: 30.03 kB / 0.873 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5476, allocations: 0 / 0.873 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5476, allocations: 4 kB / 0.873 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5476, allocations: 0 / 0.873 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.5482, allocations: 0.5273 MB / 0.8735 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5482, allocations: 0 / 0.8735 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.5483, allocations: 7.984 kB / 0.8735 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5483, allocations: 4 kB / 0.8735 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.5483, allocations: 11.98 kB / 0.8735 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5483, allocations: 4 kB / 0.8736 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5483, allocations: 0 / 0.8736 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.5487, allocations: 304.5 kB / 0.8738 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.5488, allocations: 156.7 kB / 0.874 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.5489, allocations: 7.984 kB / 0.874 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.549, allocations: 12 kB / 0.874 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.5491, allocations: 15.97 kB / 0.874 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.5492, allocations: 27.98 kB / 0.8741 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001407/0.5493, allocations: 197.9 kB / 0.8742 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5493, allocations: 0 / 0.8742 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003075/0.5496, allocations: 48 kB / 0.8743 GB, free: 7.766 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.0006108/0.5502, allocations: 0.8682 MB / 0.8751 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.5507, allocations: 326.8 kB / 0.8754 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5507, allocations: 0 / 0.8754 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.784e-05/0.5508, allocations: 65.7 kB / 0.8755 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.551, allocations: 24.88 kB / 0.8755 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.5517, allocations: 337.1 kB / 0.8759 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.552, allocations: 0.7435 MB / 0.8766 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.5521, allocations: 41.14 kB / 0.8766 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.5523, allocations: 51.41 kB / 0.8767 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.5523, allocations: 0 / 0.8767 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.5739, allocations: 4.93 MB / 0.8815 GB, free: 316 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.5742, allocations: 166.6 kB / 0.8816 GB, free: 112 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.165, allocations: 0 / 0.8816 GB, free: 112 kB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)