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.9474/0.9474, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001188/0.001188, allocations: 184.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.566/1.566, allocations: 221.3 MB / 441.4 MB, free: 4.672 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.0009722/0.0009721, allocations: 93.09 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004097/0.004097, allocations: 273 kB / 0.5939 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.544e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5209/0.521, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.6546, allocations: 110.5 MB / 0.8723 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.6549, allocations: 75.89 kB / 0.8723 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01332/0.6682, allocations: 4.49 MB / 0.8767 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6683, allocations: 0 / 0.8767 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.6683, allocations: 4 kB / 0.8767 GB, free: 9.5 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.0008345/0.6691, allocations: 0.5867 MB / 0.8773 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.6692, allocations: 8.031 kB / 0.8773 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.6693, allocations: 42.55 kB / 0.8774 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.6694, allocations: 35.56 kB / 0.8774 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.6697, allocations: 246.6 kB / 0.8776 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.6697, allocations: 11.95 kB / 0.8776 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.6698, allocations: 19.98 kB / 0.8777 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.6701, allocations: 141.5 kB / 0.8778 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6701, allocations: 4 kB / 0.8778 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.6701, allocations: 4 kB / 0.8778 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6702, allocations: 0 / 0.8778 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.6703, allocations: 43.98 kB / 0.8778 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.6707, allocations: 329.2 kB / 0.8781 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.6709, allocations: 133.7 kB / 0.8783 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.6711, allocations: 64.78 kB / 0.8783 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.6711, allocations: 4 kB / 0.8783 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.6715, allocations: 216.8 kB / 0.8785 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.6715, allocations: 0 / 0.8785 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004542/0.672, allocations: 213.1 kB / 0.8788 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.672, allocations: 71.38 kB / 0.8788 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.6723, allocations: 251.4 kB / 0.8791 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.6723, allocations: 33.7 kB / 0.8791 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.6724, allocations: 93.12 kB / 0.8792 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.6725, allocations: 39.52 kB / 0.8792 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.6725, allocations: 8 kB / 0.8792 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6727, allocations: 330.8 kB / 0.8795 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.6729, allocations: 96.22 kB / 0.8796 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.6731, allocations: 150.4 kB / 0.8798 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.6734, allocations: 151.3 kB / 0.8799 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6734, allocations: 3.938 kB / 0.8799 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006824/0.6741, allocations: 420.4 kB / 0.8803 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.6741, allocations: 71.39 kB / 0.8804 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6742, allocations: 4 kB / 0.8804 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6742, allocations: 192 / 0.8804 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.6743, allocations: 35.97 kB / 0.8804 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.6744, allocations: 3.938 kB / 0.8804 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.6747, allocations: 51.88 kB / 0.8805 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.6748, allocations: 47.98 kB / 0.8805 GB, free: 5.305 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.000141/0.675, allocations: 139.1 kB / 0.8807 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.675, allocations: 27.67 kB / 0.8807 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.6751, allocations: 38.02 kB / 0.8807 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6751, allocations: 0 / 0.8807 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6751, allocations: 0 / 0.8807 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.6751, allocations: 4 kB / 0.8807 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.6758, allocations: 0.5489 MB / 0.8813 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6759, allocations: 0 / 0.8813 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.6759, allocations: 15.92 kB / 0.8813 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6759, allocations: 4 kB / 0.8813 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.676, allocations: 15.98 kB / 0.8813 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.676, allocations: 0 / 0.8813 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.676, allocations: 0 / 0.8813 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.6764, allocations: 316.9 kB / 0.8816 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.6765, allocations: 148.7 kB / 0.8817 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.6766, allocations: 15.98 kB / 0.8818 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.6768, allocations: 12 kB / 0.8818 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.6768, allocations: 15.97 kB / 0.8818 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.6769, allocations: 35.92 kB / 0.8818 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001874/0.6771, allocations: 203.1 kB / 0.882 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6771, allocations: 3.938 kB / 0.882 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002968/0.6774, allocations: 56.36 kB / 0.8821 GB, free: 3.625 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.0007115/0.6781, allocations: 0.8647 MB / 0.8829 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.6786, allocations: 350.7 kB / 0.8833 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6787, allocations: 0 / 0.8833 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.6788, allocations: 73.47 kB / 0.8833 GB, free: 2.301 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.6791, allocations: 19.2 kB / 0.8833 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000719/0.6798, allocations: 344 kB / 0.8837 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.6801, allocations: 0.7477 MB / 0.8844 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000138/0.6803, allocations: 41.2 kB / 0.8844 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.6804, allocations: 43.42 kB / 0.8845 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.6804, allocations: 0 / 0.8845 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.6987, allocations: 5.412 MB / 0.8898 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.699, allocations: 169.2 kB / 0.8899 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.511, allocations: 0 / 0.8899 GB, free: 11.59 MB / 0.5573 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)