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.001343/0.001343, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001386/0.001386, allocations: 195.1 kB / 16.14 MB, free: 6.637 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 274.6 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.143/1.143, allocations: 178.6 MB / 0.5068 GB, free: 4.809 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 96.64 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1704, allocations: 89.16 MB / 0.6928 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002932/0.1734, allocations: 1.583 MB / 0.6943 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1747, allocations: 0.5855 MB / 0.6949 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.1748, allocations: 4 kB / 0.6949 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.1749, allocations: 7.938 kB / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.175, allocations: 27.84 kB / 0.6949 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.1757, allocations: 278.9 kB / 0.6952 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.1761, allocations: 451.3 kB / 0.6956 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.1762, allocations: 8 kB / 0.6956 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.1766, allocations: 311 kB / 0.6959 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1769, allocations: 167.2 kB / 0.6961 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.614e-05/0.177, allocations: 15.98 kB / 0.6961 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.1771, allocations: 16 kB / 0.6961 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.1773, allocations: 111.6 kB / 0.6962 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.1775, allocations: 182.8 kB / 0.6964 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.178, allocations: 414.7 kB / 0.6968 GB, free: 0.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.178, allocations: 0 / 0.6968 GB, free: 0.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.178, allocations: 0 / 0.6968 GB, free: 0.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.178, allocations: 0 / 0.6968 GB, free: 0.75 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.001336/0.1794, allocations: 0.8743 MB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1794, allocations: 12.03 kB / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.1796, allocations: 48.47 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.1799, allocations: 306.3 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.18, allocations: 24.3 kB / 0.698 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.1801, allocations: 28.36 kB / 0.6981 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.1812, allocations: 210 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1812, allocations: 4.172 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.1813, allocations: 7.922 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1813, allocations: 4 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.1822, allocations: 99.92 kB / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.1826, allocations: 385.2 kB / 0.6987 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.1838, allocations: 178.4 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.1847, allocations: 116.8 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1847, allocations: 3.938 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.1858, allocations: 223.1 kB / 0.6992 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1858, allocations: 0 / 0.6992 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002963/0.1888, allocations: 484.8 kB / 0.6997 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1889, allocations: 71.28 kB / 0.6998 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.1893, allocations: 409.9 kB / 0.7002 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.1894, allocations: 45.64 kB / 0.7002 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.1895, allocations: 97.34 kB / 0.7003 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.1896, allocations: 31.61 kB / 0.7003 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.1898, allocations: 129.3 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1899, allocations: 322.8 kB / 0.7008 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.1902, allocations: 115.9 kB / 0.7009 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.1906, allocations: 170.6 kB / 0.701 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.191, allocations: 282.8 kB / 0.7013 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.191, allocations: 0 / 0.7013 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008963/0.1919, allocations: 0.4886 MB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/0.192, allocations: 95.3 kB / 0.7019 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.192, allocations: 4 kB / 0.7019 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1921, allocations: 4 kB / 0.7019 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.1922, allocations: 24.11 kB / 0.7019 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1923, allocations: 4 kB / 0.7019 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.1928, allocations: 63.73 kB / 0.702 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.1929, allocations: 59.97 kB / 0.702 GB, free: 11.07 MB / 0.4981 GB 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.0002336/0.1931, allocations: 196 kB / 0.7022 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.1932, allocations: 39.47 kB / 0.7022 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.1933, allocations: 43.73 kB / 0.7023 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1933, allocations: 0 / 0.7023 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1933, allocations: 4 kB / 0.7023 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1933, allocations: 0 / 0.7023 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.1957, allocations: 0.7518 MB / 0.703 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1957, allocations: 0 / 0.703 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.1958, allocations: 7.984 kB / 0.703 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1958, allocations: 3.984 kB / 0.703 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.1958, allocations: 19.98 kB / 0.7031 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1958, allocations: 0 / 0.7031 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1958, allocations: 0 / 0.7031 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.1977, allocations: 479.7 kB / 0.7035 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.198, allocations: 200.4 kB / 0.7037 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.1981, allocations: 15.98 kB / 0.7037 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.1986, allocations: 31.97 kB / 0.7038 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1987, allocations: 7.984 kB / 0.7038 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-05/0.1988, allocations: 59.97 kB / 0.7038 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003408/0.1991, allocations: 295.1 kB / 0.7041 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.004e-06/0.1991, allocations: 0 / 0.7041 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004007/0.1995, allocations: 67.94 kB / 0.7042 GB, free: 8.781 MB / 0.4981 GB 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.0001821/0.1997, allocations: 126.7 kB / 0.7043 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.2011, allocations: 440 kB / 0.7047 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2011, allocations: 3.938 kB / 0.7047 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.2019, allocations: 120.2 kB / 0.7048 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2023, allocations: 29.48 kB / 0.7048 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.204, allocations: 0.6664 MB / 0.7055 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.2045, allocations: 0.7672 MB / 0.7062 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.615e-05/0.2046, allocations: 17.08 kB / 0.7063 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.2046, allocations: 19.42 kB / 0.7063 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.2046, allocations: 0 / 0.7063 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of Templates: time 0.01034/0.215, allocations: 4.977 MB / 0.7111 GB, free: 1.457 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)