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/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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009998/0.0009998, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008505/0.008505, allocations: 171.2 kB / 16.27 MB, free: 6.656 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001732, allocations: 263 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9163/0.9163, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 13.48 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1847, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.001612/0.1863, allocations: 1.202 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009256/0.1873, allocations: 443.1 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.1873, allocations: 1.25 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.751e-05/0.1874, allocations: 7.922 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.1875, allocations: 20.25 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.1881, allocations: 232.2 kB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.1884, allocations: 299.8 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1885, allocations: 14.59 kB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.1888, allocations: 222.3 kB / 0.6875 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.189, allocations: 123.6 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.1891, allocations: 8 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.1891, allocations: 12 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1893, allocations: 80.2 kB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1894, allocations: 150.1 kB / 0.6878 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1897, allocations: 291.2 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1897, allocations: 0 / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1897, allocations: 1.656 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1897, allocations: 0 / 0.6881 GB, free: 12.02 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.0009521/0.1907, allocations: 0.6456 MB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1908, allocations: 10.62 kB / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1909, allocations: 39.64 kB / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1912, allocations: 266.3 kB / 0.689 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.1913, allocations: 12 kB / 0.6891 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.1913, allocations: 16 kB / 0.6891 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.1923, allocations: 215.9 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1923, allocations: 3.938 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1924, allocations: 5.719 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1924, allocations: 0 / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.1931, allocations: 110 kB / 0.6894 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.1935, allocations: 317.9 kB / 0.6897 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1946, allocations: 192.5 kB / 0.6899 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00075/0.1953, allocations: 116.8 kB / 0.69 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1954, allocations: 7.984 kB / 0.69 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/0.1963, allocations: 221.2 kB / 0.6902 GB, free: 9.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.1964, allocations: 0 / 0.6902 GB, free: 9.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002549/0.1989, allocations: 489 kB / 0.6907 GB, free: 9.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.199, allocations: 55.41 kB / 0.6907 GB, free: 9.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1993, allocations: 290.9 kB / 0.691 GB, free: 8.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.1993, allocations: 41.69 kB / 0.691 GB, free: 8.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.1994, allocations: 89.14 kB / 0.6911 GB, free: 8.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.1995, allocations: 39.53 kB / 0.6912 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.1996, allocations: 33.7 kB / 0.6912 GB, free: 8.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1997, allocations: 326.8 kB / 0.6915 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.1999, allocations: 79.95 kB / 0.6916 GB, free: 8.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2001, allocations: 143.8 kB / 0.6917 GB, free: 8.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.2004, allocations: 239.3 kB / 0.6919 GB, free: 7.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2005, allocations: 3.938 kB / 0.692 GB, free: 7.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006353/0.2011, allocations: 394.4 kB / 0.6923 GB, free: 7.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.2012, allocations: 81.05 kB / 0.6924 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2012, allocations: 0 / 0.6924 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2012, allocations: 4 kB / 0.6924 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2014, allocations: 23.91 kB / 0.6924 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2014, allocations: 4 kB / 0.6924 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.2019, allocations: 75.67 kB / 0.6925 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.202, allocations: 43.98 kB / 0.6926 GB, free: 7.148 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.0001816/0.2021, allocations: 168.6 kB / 0.6927 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2022, allocations: 27.66 kB / 0.6927 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.2023, allocations: 30.3 kB / 0.6928 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2023, allocations: 0 / 0.6928 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2023, allocations: 4 kB / 0.6928 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2023, allocations: 7.984 kB / 0.6928 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.2044, allocations: 0.711 MB / 0.6935 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2044, allocations: 0 / 0.6935 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.2045, allocations: 4 kB / 0.6935 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.2045, allocations: 4 kB / 0.6935 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.2045, allocations: 19.97 kB / 0.6935 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2045, allocations: 0 / 0.6935 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2045, allocations: 7.938 kB / 0.6935 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.2063, allocations: 466.9 kB / 0.694 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.2064, allocations: 156.7 kB / 0.6941 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.2065, allocations: 15.98 kB / 0.6941 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.207, allocations: 35.97 kB / 0.6942 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.207, allocations: 7.984 kB / 0.6942 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.297e-05/0.2071, allocations: 43.98 kB / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.2073, allocations: 213.9 kB / 0.6944 GB, free: 5.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2073, allocations: 0 / 0.6944 GB, free: 5.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.2077, allocations: 47.98 kB / 0.6944 GB, free: 5.102 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.0001602/0.2078, allocations: 119.9 kB / 0.6946 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.209, allocations: 388.1 kB / 0.6949 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.209, allocations: 384 / 0.6949 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007659/0.2098, allocations: 131.8 kB / 0.6951 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2102, allocations: 24.58 kB / 0.6951 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2115, allocations: 0.5177 MB / 0.6956 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2118, allocations: 0.7352 MB / 0.6963 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.2119, allocations: 17.08 kB / 0.6963 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.2119, allocations: 19.44 kB / 0.6963 GB, free: 3.086 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2119, allocations: 3.938 kB / 0.6963 GB, free: 3.082 MB / 494.1 MB Notification: Performance of Templates: time 0.0064/0.2183, allocations: 3.57 MB / 0.6998 GB, free: 15.54 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)