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.001052/0.001052, 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.001021/0.001021, allocations: 190.6 kB / 16.25 MB, free: 6.574 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.315/1.315, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.701/1.701, allocations: 292.2 MB / 0.5485 GB, free: 13.69 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.001346/0.001346, allocations: 69.89 kB / 0.671 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1966, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00246/0.199, allocations: 1.545 MB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008204/0.1999, allocations: 435.2 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1999, allocations: 0 / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.42e-05/0.2001, allocations: 7.922 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.2001, allocations: 20.28 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.2007, allocations: 235.6 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.2011, allocations: 331.8 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.2011, allocations: 4 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.2014, allocations: 238.3 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.2017, allocations: 131.6 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.2017, allocations: 20 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.2018, allocations: 20 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-05/0.2019, allocations: 83.77 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.202, allocations: 127.4 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.2024, allocations: 303.2 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2024, allocations: 4 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2024, allocations: 0 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.2024, allocations: 0 / 0.7862 GB, free: 10.48 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.001102/0.2035, allocations: 0.7498 MB / 0.787 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2036, allocations: 8.031 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.519e-05/0.2037, allocations: 31.72 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2039, allocations: 262.2 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.204, allocations: 12 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.204, allocations: 23.98 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008931/0.2049, allocations: 197.5 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2049, allocations: 7.875 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.205, allocations: 0 / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.205, allocations: 7.984 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.2057, allocations: 99.91 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.206, allocations: 313.3 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/0.207, allocations: 174.4 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/0.2078, allocations: 108.8 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.2078, allocations: 11.98 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.2087, allocations: 210.6 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2087, allocations: 0 / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002376/0.2111, allocations: 449 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2112, allocations: 59.41 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.2114, allocations: 302.9 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.2115, allocations: 33.7 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.2115, allocations: 89.14 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.2116, allocations: 35.55 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.2117, allocations: 105.5 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.2118, allocations: 322.8 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.212, allocations: 87.88 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.2122, allocations: 134 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.2125, allocations: 240.2 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2125, allocations: 0 / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006185/0.2132, allocations: 396.6 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.2132, allocations: 79.31 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2132, allocations: 0 / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2133, allocations: 4 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2134, allocations: 24.11 kB / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2134, allocations: 8 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.2139, allocations: 51.86 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.214, allocations: 39.98 kB / 0.7907 GB, free: 5.543 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.0001561/0.2141, allocations: 174.8 kB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.2142, allocations: 31.66 kB / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.2142, allocations: 30.3 kB / 0.7909 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2142, allocations: 4 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2142, allocations: 0 / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2142, allocations: 0 / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.2162, allocations: 0.6933 MB / 0.7916 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2162, allocations: 4 kB / 0.7916 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.2162, allocations: 11.92 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2162, allocations: 0 / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.2163, allocations: 15.97 kB / 0.7916 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2163, allocations: 3.938 kB / 0.7916 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2163, allocations: 0 / 0.7916 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.2179, allocations: 458.4 kB / 0.7921 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.2181, allocations: 164.6 kB / 0.7922 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.2181, allocations: 8 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.2186, allocations: 35.97 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.2186, allocations: 7.984 kB / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.2187, allocations: 43.97 kB / 0.7923 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001637/0.2189, allocations: 213.9 kB / 0.7925 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2189, allocations: 0 / 0.7925 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003109/0.2192, allocations: 44 kB / 0.7926 GB, free: 3.531 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.0001261/0.2193, allocations: 115.2 kB / 0.7927 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.2204, allocations: 390.5 kB / 0.7931 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2205, allocations: 0 / 0.7931 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.2212, allocations: 112.2 kB / 0.7932 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.2215, allocations: 36.69 kB / 0.7932 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2228, allocations: 0.4996 MB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2231, allocations: 0.7435 MB / 0.7944 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.974e-05/0.2231, allocations: 17.08 kB / 0.7944 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.2232, allocations: 11.44 kB / 0.7944 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2232, allocations: 0 / 0.7944 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.006423/0.2296, allocations: 3.718 MB / 0.7981 GB, free: 13.84 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)