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.8358/0.8358, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.00126/0.00126, allocations: 180.8 kB / 182.2 MB, free: 9.43 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.368/1.368, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.000928/0.0009281, allocations: 95.78 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.001795/0.001795, allocations: 271.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.843e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4674, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.6136, allocations: 109.8 MB / 0.8647 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.6139, allocations: 75.95 kB / 0.8647 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.6271, allocations: 4.454 MB / 0.8691 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6271, allocations: 0 / 0.8691 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.6272, allocations: 8 kB / 0.8691 GB, free: 13.45 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.0008639/0.628, allocations: 0.5749 MB / 0.8697 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6281, allocations: 8.031 kB / 0.8697 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.936e-05/0.6282, allocations: 35.62 kB / 0.8697 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.6285, allocations: 246.6 kB / 0.8699 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.6286, allocations: 7.953 kB / 0.8699 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.6286, allocations: 19.98 kB / 0.87 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/0.6288, allocations: 47.98 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.629, allocations: 129.5 kB / 0.8701 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.629, allocations: 7.938 kB / 0.8701 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.629, allocations: 4 kB / 0.8701 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.629, allocations: 0 / 0.8701 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.6294, allocations: 309.7 kB / 0.8704 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.6296, allocations: 114.7 kB / 0.8705 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.6297, allocations: 52.84 kB / 0.8706 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.6297, allocations: 4 kB / 0.8706 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.6301, allocations: 217.1 kB / 0.8708 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.6301, allocations: 0 / 0.8708 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004288/0.6305, allocations: 213.1 kB / 0.871 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6306, allocations: 63.41 kB / 0.8711 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.6308, allocations: 234.3 kB / 0.8713 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.6309, allocations: 41.69 kB / 0.8713 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.631, allocations: 89.45 kB / 0.8714 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.631, allocations: 39.52 kB / 0.8715 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.6311, allocations: 3.938 kB / 0.8715 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6312, allocations: 322.8 kB / 0.8718 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.6314, allocations: 88.2 kB / 0.8719 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.6316, allocations: 146.1 kB / 0.872 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.6317, allocations: 70.75 kB / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6317, allocations: 4 kB / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005398/0.6323, allocations: 317.2 kB / 0.8724 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.6323, allocations: 75.39 kB / 0.8724 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6324, allocations: 7.953 kB / 0.8724 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.6324, allocations: 0 / 0.8724 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.6325, allocations: 31.91 kB / 0.8725 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.6326, allocations: 0 / 0.8725 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.6329, allocations: 44.06 kB / 0.8725 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.633, allocations: 55.98 kB / 0.8726 GB, free: 9.625 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.000128/0.6332, allocations: 131.1 kB / 0.8727 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002857/0.6334, allocations: 197.2 kB / 0.8729 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.6335, allocations: 27.67 kB / 0.8729 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.6336, allocations: 34.03 kB / 0.8729 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6336, allocations: 0 / 0.8729 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6336, allocations: 0 / 0.8729 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6336, allocations: 3.984 kB / 0.8729 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.6342, allocations: 0.5276 MB / 0.8735 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6343, allocations: 0 / 0.8735 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.6343, allocations: 7.984 kB / 0.8735 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.6343, allocations: 4 kB / 0.8735 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.6344, allocations: 7.984 kB / 0.8735 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6344, allocations: 4 kB / 0.8735 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6344, allocations: 0 / 0.8735 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.6347, allocations: 312.7 kB / 0.8738 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.6349, allocations: 152.7 kB / 0.8739 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.6349, allocations: 8 kB / 0.8739 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.6351, allocations: 11.98 kB / 0.8739 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.6352, allocations: 15.98 kB / 0.874 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.6352, allocations: 39.97 kB / 0.874 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001587/0.6354, allocations: 190 kB / 0.8742 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6354, allocations: 0 / 0.8742 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003078/0.6357, allocations: 47.98 kB / 0.8742 GB, free: 7.836 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.0006323/0.6364, allocations: 0.8568 MB / 0.8751 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.6368, allocations: 332 kB / 0.8754 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6368, allocations: 0 / 0.8754 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.802e-05/0.6369, allocations: 67.92 kB / 0.8754 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.6372, allocations: 16.81 kB / 0.8755 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.6379, allocations: 339 kB / 0.8758 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.6382, allocations: 0.7494 MB / 0.8765 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.6384, allocations: 41.19 kB / 0.8766 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.6386, allocations: 43.36 kB / 0.8766 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.6386, allocations: 0 / 0.8766 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.6616, allocations: 4.933 MB / 0.8814 GB, free: 404 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.6619, allocations: 161.4 kB / 0.8816 GB, free: 200 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.584, allocations: 8.031 kB / 0.8816 GB, free: 192 kB / 0.5417 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)