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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008337, allocations: 90.75 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.005803/0.005803, allocations: 172.7 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001789, allocations: 266.4 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9322/0.9322, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.000465, allocations: 16.44 kB / 0.5988 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.176, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001817/0.1779, allocations: 1.196 MB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.179, allocations: 438.9 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.1791, allocations: 0 / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1792, allocations: 9.969 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1794, allocations: 16.28 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.1801, allocations: 231.6 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.1805, allocations: 307.8 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.1805, allocations: 11.7 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.1809, allocations: 222.3 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1812, allocations: 127.6 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.1813, allocations: 8 kB / 0.6877 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.178e-05/0.1814, allocations: 12 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1815, allocations: 83.7 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1817, allocations: 145.1 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1821, allocations: 283.5 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1821, allocations: 0.5312 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1821, allocations: 0.5625 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1821, allocations: 0 / 0.6882 GB, free: 11.9 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.001031/0.1831, allocations: 0.6595 MB / 0.6889 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1832, allocations: 12.03 kB / 0.6889 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.63e-05/0.1833, allocations: 42.48 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1834, allocations: 31.72 kB / 0.6889 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1838, allocations: 254.3 kB / 0.6892 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.1838, allocations: 12.5 kB / 0.6892 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.1839, allocations: 20.75 kB / 0.6892 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000999/0.1849, allocations: 216.2 kB / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1849, allocations: 0 / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1849, allocations: 0.6562 kB / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.185, allocations: 0 / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.1857, allocations: 119 kB / 0.6895 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1861, allocations: 325.2 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1872, allocations: 186.3 kB / 0.69 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.1879, allocations: 121.9 kB / 0.6901 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.188, allocations: 4.375 kB / 0.6901 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000932/0.1889, allocations: 225.1 kB / 0.6904 GB, free: 9.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1889, allocations: 0 / 0.6904 GB, free: 9.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002503/0.1914, allocations: 485 kB / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1915, allocations: 59.41 kB / 0.6909 GB, free: 8.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1918, allocations: 290.9 kB / 0.6911 GB, free: 8.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.1918, allocations: 41.69 kB / 0.6912 GB, free: 8.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.1919, allocations: 89.14 kB / 0.6913 GB, free: 8.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1919, allocations: 35.53 kB / 0.6913 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.192, allocations: 41.7 kB / 0.6913 GB, free: 8.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1921, allocations: 322.8 kB / 0.6917 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1923, allocations: 79.94 kB / 0.6917 GB, free: 8.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.1926, allocations: 143.7 kB / 0.6919 GB, free: 7.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1929, allocations: 239.2 kB / 0.6921 GB, free: 7.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1929, allocations: 0 / 0.6921 GB, free: 7.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006497/0.1936, allocations: 410.6 kB / 0.6925 GB, free: 7.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.1937, allocations: 71.39 kB / 0.6926 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1937, allocations: 4 kB / 0.6926 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1937, allocations: 4 kB / 0.6926 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1938, allocations: 27.91 kB / 0.6926 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1939, allocations: 7.938 kB / 0.6926 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1943, allocations: 67.92 kB / 0.6927 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.1944, allocations: 39.98 kB / 0.6927 GB, free: 6.973 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.0001696/0.1946, allocations: 160.7 kB / 0.6929 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.1946, allocations: 27.66 kB / 0.6929 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.1947, allocations: 30.3 kB / 0.6929 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1947, allocations: 0 / 0.6929 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1947, allocations: 4 kB / 0.6929 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1947, allocations: 7.922 kB / 0.6929 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.1968, allocations: 0.715 MB / 0.6936 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1968, allocations: 0 / 0.6936 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1969, allocations: 4 kB / 0.6936 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1969, allocations: 7.938 kB / 0.6936 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.1969, allocations: 15.97 kB / 0.6936 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1969, allocations: 4 kB / 0.6936 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1969, allocations: 0 / 0.6936 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.1986, allocations: 466.9 kB / 0.6941 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.1988, allocations: 160.7 kB / 0.6942 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.1988, allocations: 11.98 kB / 0.6943 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.1993, allocations: 43.91 kB / 0.6943 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1993, allocations: 11.97 kB / 0.6943 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.1994, allocations: 43.97 kB / 0.6944 GB, free: 5.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1996, allocations: 205.9 kB / 0.6945 GB, free: 4.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1996, allocations: 0 / 0.6945 GB, free: 4.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1999, allocations: 51.98 kB / 0.6946 GB, free: 4.926 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.001996/0.2019, allocations: 1.019 MB / 0.6956 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.203, allocations: 390.5 kB / 0.696 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.203, allocations: 0 / 0.696 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.2037, allocations: 129.8 kB / 0.6961 GB, free: 3.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2041, allocations: 28.52 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.003566/0.2077, allocations: 2.436 MB / 0.6985 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.2082, allocations: 0.7472 MB / 0.6992 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.305e-05/0.2082, allocations: 13.08 kB / 0.6992 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.2083, allocations: 27.42 kB / 0.6993 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2083, allocations: 4 kB / 0.6993 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.2229, allocations: 4.553 MB / 0.7037 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.2231, allocations: 219.8 kB / 0.7039 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.902, allocations: 6.438 kB / 0.7039 GB, free: 11.34 MB / 0.4981 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/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)