Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001236/0.001237, allocations: 190.5 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.69 kB / 0.6708 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1914, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002597/0.1941, allocations: 1.55 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.195, allocations: 453.3 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.195, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.287e-05/0.1952, allocations: 11.92 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.1953, allocations: 16.25 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.1958, allocations: 235 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.1961, allocations: 299.8 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.1961, allocations: 4 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1964, allocations: 218.3 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1966, allocations: 127.6 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.1967, allocations: 8 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.1967, allocations: 12 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1968, allocations: 75.77 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.197, allocations: 127.3 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1973, allocations: 287.3 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1973, allocations: 3.938 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.601e-06/0.1973, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1973, allocations: 3.938 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB 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.001042/0.1984, allocations: 0.746 MB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1984, allocations: 8.031 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.1985, allocations: 31.72 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1988, allocations: 262.3 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.1989, allocations: 15.98 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.1989, allocations: 16 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/0.1999, allocations: 197.5 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2, allocations: 3.938 kB / 0.7872 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.2, allocations: 11.98 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2, allocations: 0 / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.2008, allocations: 99.84 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.2011, allocations: 313.3 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2022, allocations: 185.8 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.203, allocations: 105 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.203, allocations: 8 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009926/0.204, allocations: 219.1 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.204, allocations: 0 / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002503/0.2065, allocations: 444.3 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.2066, allocations: 67.38 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.2068, allocations: 298.9 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.2069, allocations: 37.64 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.207, allocations: 93.12 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.207, allocations: 35.56 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.2072, allocations: 97.47 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.2073, allocations: 322.8 kB / 0.7894 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.2074, allocations: 79.95 kB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.2077, allocations: 146.5 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.208, allocations: 232.1 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.208, allocations: 0 / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006236/0.2086, allocations: 404.5 kB / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.2087, allocations: 79.33 kB / 0.7903 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2087, allocations: 0 / 0.7903 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2087, allocations: 4 kB / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2089, allocations: 16.17 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2089, allocations: 11.94 kB / 0.7904 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.2094, allocations: 55.84 kB / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.2095, allocations: 47.92 kB / 0.7905 GB, free: 5.66 MB / 0.6075 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.0001638/0.2097, allocations: 168 kB / 0.7906 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.2097, allocations: 31.66 kB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.2098, allocations: 34.23 kB / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2098, allocations: 0 / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2098, allocations: 0 / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2098, allocations: 4 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.2119, allocations: 0.6895 MB / 0.7914 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2119, allocations: 0 / 0.7914 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.2119, allocations: 7.938 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2119, allocations: 0 / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.212, allocations: 19.97 kB / 0.7914 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.212, allocations: 0 / 0.7914 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.212, allocations: 0 / 0.7914 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.2137, allocations: 450.9 kB / 0.7918 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.2139, allocations: 160.6 kB / 0.792 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.214, allocations: 12 kB / 0.792 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.2144, allocations: 35.95 kB / 0.792 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.2145, allocations: 7.984 kB / 0.792 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.2145, allocations: 43.98 kB / 0.7921 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001819/0.2147, allocations: 209.9 kB / 0.7923 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2147, allocations: 0 / 0.7923 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003264/0.2151, allocations: 44 kB / 0.7923 GB, free: 3.668 MB / 0.6075 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.0001383/0.2152, allocations: 119.2 kB / 0.7924 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.2164, allocations: 381.7 kB / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2164, allocations: 0 / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.2172, allocations: 120.2 kB / 0.7929 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2175, allocations: 28.58 kB / 0.7929 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2189, allocations: 0.4975 MB / 0.7934 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.2192, allocations: 0.7415 MB / 0.7941 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.072e-05/0.2193, allocations: 13.08 kB / 0.7942 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.2194, allocations: 19.42 kB / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.2194, allocations: 0 / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.006131/0.2255, allocations: 3.605 MB / 0.7977 GB, free: 14.09 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)