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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, 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.002468/0.002469, allocations: 193.7 kB / 16.14 MB, free: 6.695 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00258/0.00258, allocations: 284.9 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5068 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 104.8 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1701, allocations: 89.14 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002998/0.1731, allocations: 1.59 MB / 0.6943 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1746, allocations: 0.5873 MB / 0.6949 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.1746, allocations: 0 / 0.6949 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.509e-05/0.1747, allocations: 3.938 kB / 0.6949 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1749, allocations: 31.84 kB / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.1756, allocations: 286.1 kB / 0.6952 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.176, allocations: 447.4 kB / 0.6956 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.1761, allocations: 11.97 kB / 0.6957 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.1765, allocations: 311 kB / 0.6959 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1768, allocations: 159.2 kB / 0.6961 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.703e-05/0.1769, allocations: 16 kB / 0.6961 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.177, allocations: 12 kB / 0.6961 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1772, allocations: 115.6 kB / 0.6962 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.1775, allocations: 182.8 kB / 0.6964 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.1779, allocations: 422.7 kB / 0.6968 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1779, allocations: 4 kB / 0.6968 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.178, allocations: 0 / 0.6968 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.178, allocations: 0 / 0.6968 GB, free: 0.7227 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.1793, allocations: 0.8717 MB / 0.6977 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1793, allocations: 8.031 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.1795, allocations: 52.47 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.1799, allocations: 314.2 kB / 0.698 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.18, allocations: 16.36 kB / 0.698 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.1801, allocations: 32.36 kB / 0.6981 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1812, allocations: 209.2 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1812, allocations: 192 / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.1813, allocations: 3.938 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1813, allocations: 4 kB / 0.6983 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.1821, allocations: 99.91 kB / 0.6984 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.1827, allocations: 389.2 kB / 0.6987 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.1839, allocations: 178.4 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.1847, allocations: 116.7 kB / 0.699 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1848, allocations: 7.938 kB / 0.699 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.1859, allocations: 219.1 kB / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1859, allocations: 0 / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002953/0.1889, allocations: 488.8 kB / 0.6997 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.1889, allocations: 67.34 kB / 0.6998 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.1894, allocations: 409.9 kB / 0.7002 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.1895, allocations: 37.7 kB / 0.7002 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.1896, allocations: 101.3 kB / 0.7003 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.1896, allocations: 39.61 kB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.1898, allocations: 125.3 kB / 0.7005 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.19, allocations: 322.8 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.1903, allocations: 115.9 kB / 0.7009 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.1906, allocations: 174.6 kB / 0.701 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.1911, allocations: 282.8 kB / 0.7013 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1911, allocations: 0 / 0.7013 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009304/0.192, allocations: 496.6 kB / 0.7018 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.836e-05/0.1921, allocations: 88.88 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1921, allocations: 4 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1922, allocations: 3.984 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1924, allocations: 27.92 kB / 0.7019 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1924, allocations: 7.984 kB / 0.7019 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.1929, allocations: 59.98 kB / 0.702 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.794e-05/0.193, allocations: 59.97 kB / 0.702 GB, free: 11.05 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.0002583/0.1933, allocations: 200 kB / 0.7022 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.1934, allocations: 39.47 kB / 0.7023 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.1934, allocations: 35.75 kB / 0.7023 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1934, allocations: 7.984 kB / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1935, allocations: 0 / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1935, allocations: 4 kB / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.1958, allocations: 0.7458 MB / 0.703 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1958, allocations: 4 kB / 0.703 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.1958, allocations: 8 kB / 0.703 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1958, allocations: 3.984 kB / 0.703 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.1959, allocations: 19.98 kB / 0.7031 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1959, allocations: 0 / 0.7031 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1959, allocations: 0 / 0.7031 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.1977, allocations: 478.7 kB / 0.7035 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.198, allocations: 196.4 kB / 0.7037 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.1981, allocations: 19.98 kB / 0.7037 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.1986, allocations: 27.97 kB / 0.7038 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1986, allocations: 7.984 kB / 0.7038 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.1987, allocations: 59.92 kB / 0.7038 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003143/0.199, allocations: 299.1 kB / 0.7041 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.199, allocations: 3.938 kB / 0.7041 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003506/0.1994, allocations: 63.98 kB / 0.7042 GB, free: 8.762 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.0001559/0.1996, allocations: 119.2 kB / 0.7043 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2009, allocations: 444.3 kB / 0.7047 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2009, allocations: 0 / 0.7047 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008114/0.2017, allocations: 123.8 kB / 0.7048 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2021, allocations: 27.2 kB / 0.7048 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.2037, allocations: 0.6706 MB / 0.7055 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.2041, allocations: 0.7711 MB / 0.7063 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.01e-05/0.2042, allocations: 13.08 kB / 0.7063 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.2042, allocations: 11.44 kB / 0.7063 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2042, allocations: 0 / 0.7063 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of Templates: time 0.009586/0.2138, allocations: 4.983 MB / 0.7111 GB, free: 1.438 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)