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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.8668/0.8668, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001081/0.001081, allocations: 180.8 kB / 182.2 MB, free: 9.445 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.398/1.398, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009158/0.0009158, allocations: 101.7 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002979/0.00298, allocations: 277.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.588e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4255, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.5559, allocations: 109.8 MB / 0.8647 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.5561, allocations: 71.95 kB / 0.8648 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.5694, allocations: 4.458 MB / 0.8691 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5695, allocations: 0 / 0.8691 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.5695, allocations: 8 kB / 0.8692 GB, free: 13.39 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.0008443/0.5704, allocations: 0.5788 MB / 0.8697 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5704, allocations: 8.031 kB / 0.8697 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.5705, allocations: 35.61 kB / 0.8698 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.5709, allocations: 246.6 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5709, allocations: 7.953 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.571, allocations: 16 kB / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.5711, allocations: 47.98 kB / 0.8701 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.5713, allocations: 143.5 kB / 0.8702 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5713, allocations: 0 / 0.8702 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.5714, allocations: 0 / 0.8702 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5714, allocations: 4 kB / 0.8702 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.5717, allocations: 305.7 kB / 0.8705 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.5719, allocations: 122.7 kB / 0.8706 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.572, allocations: 48.84 kB / 0.8707 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.5721, allocations: 0 / 0.8707 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.5724, allocations: 213.1 kB / 0.8709 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/0.5725, allocations: 7.922 kB / 0.8709 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004098/0.5729, allocations: 213.1 kB / 0.8711 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5729, allocations: 63.39 kB / 0.8711 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.5732, allocations: 238.3 kB / 0.8714 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.5732, allocations: 33.7 kB / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.5733, allocations: 89.44 kB / 0.8715 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.5734, allocations: 39.52 kB / 0.8715 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.5734, allocations: 8 kB / 0.8715 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5735, allocations: 330.8 kB / 0.8718 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.5737, allocations: 80.22 kB / 0.8719 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.5739, allocations: 138.2 kB / 0.872 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.5741, allocations: 72.7 kB / 0.8721 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5741, allocations: 0 / 0.8721 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005588/0.5746, allocations: 326.8 kB / 0.8724 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.5747, allocations: 75.39 kB / 0.8725 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5747, allocations: 3.953 kB / 0.8725 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5747, allocations: 4.188 kB / 0.8725 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5749, allocations: 31.91 kB / 0.8725 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.5749, allocations: 4 kB / 0.8725 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.5753, allocations: 39.88 kB / 0.8726 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.5754, allocations: 55.98 kB / 0.8726 GB, free: 9.559 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.0001382/0.5755, allocations: 127.1 kB / 0.8728 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002856/0.5758, allocations: 205.2 kB / 0.8729 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.5759, allocations: 27.67 kB / 0.873 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.5759, allocations: 26.03 kB / 0.873 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5759, allocations: 4 kB / 0.873 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5759, allocations: 0 / 0.873 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.576, allocations: 3.938 kB / 0.873 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.5766, allocations: 0.5238 MB / 0.8735 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5766, allocations: 4 kB / 0.8735 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.5767, allocations: 12 kB / 0.8735 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5767, allocations: 0 / 0.8735 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.5767, allocations: 15.92 kB / 0.8735 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5767, allocations: 3.984 kB / 0.8736 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5767, allocations: 0 / 0.8736 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.5771, allocations: 300.8 kB / 0.8738 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.5773, allocations: 156.7 kB / 0.874 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.5773, allocations: 11.98 kB / 0.874 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.5775, allocations: 8 kB / 0.874 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.5776, allocations: 15.97 kB / 0.874 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.5776, allocations: 31.98 kB / 0.8741 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001615/0.5778, allocations: 198 kB / 0.8742 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5778, allocations: 3.938 kB / 0.8742 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002978/0.5781, allocations: 44 kB / 0.8743 GB, free: 7.77 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.0006905/0.5788, allocations: 0.8646 MB / 0.8751 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004355/0.5792, allocations: 323.9 kB / 0.8754 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5792, allocations: 4 kB / 0.8754 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.5793, allocations: 59.98 kB / 0.8755 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.5796, allocations: 21.16 kB / 0.8755 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.5803, allocations: 342.9 kB / 0.8759 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5806, allocations: 0.7474 MB / 0.8766 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000132/0.5807, allocations: 41.2 kB / 0.8766 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5808, allocations: 43.41 kB / 0.8767 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5808, allocations: 0 / 0.8767 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.6061, allocations: 4.943 MB / 0.8815 GB, free: 324 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.6064, allocations: 160.5 kB / 0.8816 GB, free: 124 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.294, allocations: 5.875 kB / 0.8816 GB, free: 120 kB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)