Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",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.7889/0.7889, 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.001394/0.001394, allocations: 183 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.464/1.464, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.00103/0.00103, allocations: 88.88 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 267.3 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.999e-05/5.002e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5037, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.6333, allocations: 110.4 MB / 0.8722 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.6336, allocations: 72.73 kB / 0.8723 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.6467, allocations: 4.483 MB / 0.8767 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6468, allocations: 0 / 0.8767 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.6468, allocations: 4 kB / 0.8767 GB, free: 9.57 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.000881/0.6477, allocations: 0.5789 MB / 0.8772 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.6477, allocations: 12.03 kB / 0.8772 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.6478, allocations: 34.56 kB / 0.8773 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.903e-05/0.6479, allocations: 39.61 kB / 0.8773 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.6483, allocations: 254.5 kB / 0.8776 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.6483, allocations: 15.95 kB / 0.8776 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.6484, allocations: 16 kB / 0.8776 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.6487, allocations: 141.5 kB / 0.8777 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6487, allocations: 0 / 0.8777 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.6487, allocations: 4 kB / 0.8777 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6487, allocations: 3.984 kB / 0.8777 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.6488, allocations: 46.48 kB / 0.8778 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.6492, allocations: 337.2 kB / 0.8781 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.6495, allocations: 133 kB / 0.8782 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.6496, allocations: 56.84 kB / 0.8783 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.6497, allocations: 7.938 kB / 0.8783 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.6501, allocations: 213.2 kB / 0.8785 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.6501, allocations: 0 / 0.8785 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004611/0.6505, allocations: 222.4 kB / 0.8787 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.6506, allocations: 63.39 kB / 0.8788 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.6509, allocations: 247.4 kB / 0.879 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.6509, allocations: 45.69 kB / 0.879 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.651, allocations: 85.14 kB / 0.8791 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.6511, allocations: 43.52 kB / 0.8792 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.6511, allocations: 8 kB / 0.8792 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6513, allocations: 326.8 kB / 0.8795 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.6515, allocations: 96.2 kB / 0.8796 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.6517, allocations: 146.4 kB / 0.8797 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.652, allocations: 154.7 kB / 0.8799 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.652, allocations: 0 / 0.8799 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006939/0.6527, allocations: 419 kB / 0.8803 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.6528, allocations: 79.56 kB / 0.8803 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6528, allocations: 4 kB / 0.8803 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.6528, allocations: 4 kB / 0.8803 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.653, allocations: 23.92 kB / 0.8804 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.653, allocations: 4 kB / 0.8804 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.6534, allocations: 47.88 kB / 0.8804 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/0.6535, allocations: 59.91 kB / 0.8805 GB, free: 5.371 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.0001312/0.6536, allocations: 131.2 kB / 0.8806 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.6536, allocations: 27.67 kB / 0.8806 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.6537, allocations: 30.03 kB / 0.8806 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.6537, allocations: 0 / 0.8806 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6537, allocations: 0 / 0.8806 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6537, allocations: 3.984 kB / 0.8807 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/0.6545, allocations: 0.5618 MB / 0.8812 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6546, allocations: 4 kB / 0.8812 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.6546, allocations: 11.94 kB / 0.8812 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6546, allocations: 0 / 0.8812 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.6546, allocations: 11.98 kB / 0.8812 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.6547, allocations: 8 kB / 0.8812 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6547, allocations: 3.984 kB / 0.8812 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.6551, allocations: 316.4 kB / 0.8815 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.6553, allocations: 152.7 kB / 0.8817 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.6553, allocations: 12 kB / 0.8817 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.6555, allocations: 11.98 kB / 0.8817 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.6556, allocations: 15.98 kB / 0.8817 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.6556, allocations: 31.97 kB / 0.8818 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001887/0.6558, allocations: 207 kB / 0.882 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6558, allocations: 0 / 0.882 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002926/0.6561, allocations: 48.38 kB / 0.882 GB, free: 3.703 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.0007764/0.6569, allocations: 0.8749 MB / 0.8829 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005311/0.6574, allocations: 350.7 kB / 0.8832 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6575, allocations: 0 / 0.8832 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.6576, allocations: 71.92 kB / 0.8833 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.6578, allocations: 26.59 kB / 0.8833 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.6586, allocations: 343.6 kB / 0.8836 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.659, allocations: 0.7438 MB / 0.8843 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.6592, allocations: 41.2 kB / 0.8844 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.6593, allocations: 43.41 kB / 0.8844 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.6593, allocations: 4 kB / 0.8844 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.6773, allocations: 5.397 MB / 0.8897 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.6776, allocations: 172.4 kB / 0.8899 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.407, allocations: 2.812 kB / 0.8899 GB, free: 11.64 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)