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.001259/0.001259, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001905/0.001905, allocations: 188 kB / 16.25 MB, free: 6.629 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.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 282.6 kB / 290.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 95.33 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1685, allocations: 86.98 MB / 0.6797 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002869/0.1714, allocations: 1.546 MB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.1724, allocations: 414.8 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.597e-05/0.1726, allocations: 0.7188 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.1727, allocations: 7.922 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1729, allocations: 24.8 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008662/0.1737, allocations: 233 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.1742, allocations: 327.9 kB / 0.6822 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.1742, allocations: 16.25 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.1747, allocations: 238.3 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1749, allocations: 131.5 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.689e-05/0.175, allocations: 20 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.1751, allocations: 20 kB / 0.6826 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1752, allocations: 91.7 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1754, allocations: 131.4 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1757, allocations: 307 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1757, allocations: 0 / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1758, allocations: 0 / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1758, allocations: 0 / 0.6831 GB, free: 13.54 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.001189/0.177, allocations: 0.7343 MB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.177, allocations: 12.03 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.1771, allocations: 38.55 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1772, allocations: 39.62 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1775, allocations: 258.3 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.1776, allocations: 15.98 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.1776, allocations: 16 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.1786, allocations: 205.3 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1786, allocations: 0 / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.1786, allocations: 7.984 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1787, allocations: 8 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007626/0.1794, allocations: 95.92 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1798, allocations: 317.3 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.1808, allocations: 170.5 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.1815, allocations: 104.8 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1815, allocations: 7.938 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009147/0.1825, allocations: 223 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.1825, allocations: 0 / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002383/0.1849, allocations: 443 kB / 0.6857 GB, free: 10.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.1849, allocations: 63.39 kB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.1852, allocations: 287 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.1853, allocations: 37.7 kB / 0.6861 GB, free: 10.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.1853, allocations: 101 kB / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.1854, allocations: 39.48 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.1856, allocations: 97.47 kB / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1857, allocations: 326.8 kB / 0.6866 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.1859, allocations: 79.89 kB / 0.6867 GB, free: 9.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.1861, allocations: 135.3 kB / 0.6868 GB, free: 9.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.1864, allocations: 246.1 kB / 0.687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1864, allocations: 0 / 0.687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006248/0.187, allocations: 398.5 kB / 0.6874 GB, free: 8.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.871e-05/0.1871, allocations: 71.39 kB / 0.6875 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1871, allocations: 4 kB / 0.6875 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1872, allocations: 4 kB / 0.6875 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1873, allocations: 27.86 kB / 0.6875 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1874, allocations: 7.984 kB / 0.6875 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.1878, allocations: 56 kB / 0.6876 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.1879, allocations: 39.98 kB / 0.6876 GB, free: 8.562 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.0001803/0.1881, allocations: 172.6 kB / 0.6878 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.1881, allocations: 27.66 kB / 0.6878 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.1882, allocations: 30.3 kB / 0.6879 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1882, allocations: 0 / 0.6879 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1882, allocations: 4 kB / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1882, allocations: 0 / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.1902, allocations: 0.6937 MB / 0.6885 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1902, allocations: 7.938 kB / 0.6885 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.1903, allocations: 4 kB / 0.6885 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1903, allocations: 4 kB / 0.6885 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.1903, allocations: 15.97 kB / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1903, allocations: 0 / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1903, allocations: 0 / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.1919, allocations: 448 kB / 0.689 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.192, allocations: 160.7 kB / 0.6891 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.1921, allocations: 12 kB / 0.6892 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.1926, allocations: 43.83 kB / 0.6892 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1926, allocations: 7.984 kB / 0.6892 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.1926, allocations: 39.98 kB / 0.6892 GB, free: 6.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.1928, allocations: 213.9 kB / 0.6894 GB, free: 6.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1928, allocations: 0 / 0.6894 GB, free: 6.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000326/0.1932, allocations: 48 kB / 0.6895 GB, free: 6.555 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.002028/0.1952, allocations: 1 MB / 0.6905 GB, free: 5.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1964, allocations: 386.6 kB / 0.6908 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1964, allocations: 0 / 0.6908 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007279/0.1971, allocations: 113.9 kB / 0.6909 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1975, allocations: 25.2 kB / 0.691 GB, free: 4.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.2008, allocations: 2.43 MB / 0.6933 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2011, allocations: 0.7446 MB / 0.6941 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.2012, allocations: 9.25 kB / 0.6941 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.2013, allocations: 27.42 kB / 0.6941 GB, free: 1.629 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.2013, allocations: 0 / 0.6941 GB, free: 1.629 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.2167, allocations: 4.801 MB / 0.6988 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.2169, allocations: 215.8 kB / 0.699 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.95, allocations: 0 / 0.699 GB, free: 12.78 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)