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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006253/0.006253, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001703, allocations: 263 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9592/0.9592, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004257, allocations: 16.2 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1759, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001625/0.1776, allocations: 1.201 MB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1786, allocations: 443.1 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.1787, allocations: 4 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.722e-05/0.1788, allocations: 3.938 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.1789, allocations: 20.28 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.1796, allocations: 227.3 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.18, allocations: 303.8 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.1801, allocations: 20.23 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.1804, allocations: 214.3 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1807, allocations: 127.6 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.1807, allocations: 12 kB / 0.6877 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.654e-05/0.1808, allocations: 8.5 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1809, allocations: 80.33 kB / 0.6878 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1811, allocations: 149.1 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.1814, allocations: 287.5 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1814, allocations: 5.062 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1814, allocations: 0 / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1815, allocations: 0 / 0.6882 GB, free: 11.89 MB / 494.1 MB 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.000976/0.1824, allocations: 0.6587 MB / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1825, allocations: 11.97 kB / 0.6889 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.1826, allocations: 42.55 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.1827, allocations: 28.22 kB / 0.6889 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.1831, allocations: 258.3 kB / 0.6892 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.1831, allocations: 12.75 kB / 0.6892 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.1832, allocations: 23.98 kB / 0.6892 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/0.1842, allocations: 214.4 kB / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1842, allocations: 0 / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1843, allocations: 0 / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1843, allocations: 4 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.185, allocations: 110.3 kB / 0.6895 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1854, allocations: 322 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.1863, allocations: 186.4 kB / 0.69 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.187, allocations: 116.8 kB / 0.6901 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1871, allocations: 4.375 kB / 0.6901 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008389/0.1879, allocations: 227.1 kB / 0.6903 GB, free: 9.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1879, allocations: 0 / 0.6903 GB, free: 9.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002325/0.1902, allocations: 481 kB / 0.6908 GB, free: 9.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.1903, allocations: 59.39 kB / 0.6909 GB, free: 8.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1906, allocations: 294.9 kB / 0.6911 GB, free: 8.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.1907, allocations: 45.7 kB / 0.6912 GB, free: 8.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.1907, allocations: 85.14 kB / 0.6913 GB, free: 8.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.1908, allocations: 39.55 kB / 0.6913 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.1908, allocations: 33.7 kB / 0.6913 GB, free: 8.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.191, allocations: 322.8 kB / 0.6916 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1911, allocations: 83.94 kB / 0.6917 GB, free: 8.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1913, allocations: 139.8 kB / 0.6919 GB, free: 7.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1917, allocations: 242.8 kB / 0.6921 GB, free: 7.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1917, allocations: 4 kB / 0.6921 GB, free: 7.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006095/0.1923, allocations: 394.7 kB / 0.6925 GB, free: 7.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.1924, allocations: 71.39 kB / 0.6925 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1924, allocations: 0 / 0.6925 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1924, allocations: 11.92 kB / 0.6926 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1926, allocations: 23.98 kB / 0.6926 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1926, allocations: 7.922 kB / 0.6926 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.193, allocations: 63.98 kB / 0.6926 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.1931, allocations: 51.92 kB / 0.6927 GB, free: 6.977 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.1933, allocations: 172.6 kB / 0.6929 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.1933, allocations: 31.64 kB / 0.6929 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.1934, allocations: 30.3 kB / 0.6929 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1934, allocations: 0 / 0.6929 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1934, allocations: 0 / 0.6929 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1934, allocations: 4 kB / 0.6929 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.1953, allocations: 0.7128 MB / 0.6936 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1954, allocations: 4 kB / 0.6936 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.1954, allocations: 11.98 kB / 0.6936 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1954, allocations: 0 / 0.6936 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.1954, allocations: 11.98 kB / 0.6936 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1954, allocations: 3.938 kB / 0.6936 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1955, allocations: 3.984 kB / 0.6937 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.197, allocations: 470.9 kB / 0.6941 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.1973, allocations: 160.7 kB / 0.6943 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.1973, allocations: 8 kB / 0.6943 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.1978, allocations: 31.97 kB / 0.6943 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1978, allocations: 15.92 kB / 0.6943 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.1979, allocations: 43.97 kB / 0.6943 GB, free: 5.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.1981, allocations: 209.9 kB / 0.6945 GB, free: 4.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1981, allocations: 4 kB / 0.6946 GB, free: 4.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.1984, allocations: 48 kB / 0.6946 GB, free: 4.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/0.2004, allocations: 1.019 MB / 0.6956 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.2015, allocations: 382.5 kB / 0.696 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2015, allocations: 384 / 0.696 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.2022, allocations: 137 kB / 0.6961 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.2026, allocations: 27.77 kB / 0.6961 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.206, allocations: 2.436 MB / 0.6985 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.2064, allocations: 0.7438 MB / 0.6992 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.2064, allocations: 13.09 kB / 0.6992 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.2065, allocations: 27.42 kB / 0.6993 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2065, allocations: 0 / 0.6993 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.2209, allocations: 4.568 MB / 0.7037 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.2211, allocations: 219.3 kB / 0.7039 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.944, allocations: 0 / 0.7039 GB, free: 11.34 MB / 0.4981 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/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)