Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00148/0.00148, 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.001753/0.001753, allocations: 192.2 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.313/1.313, 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.62/1.62, 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.001365/0.001365, allocations: 61.06 kB / 0.6708 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1888, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002433/0.1913, allocations: 1.555 MB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008723/0.1922, allocations: 452.3 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.1923, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.112e-05/0.1924, allocations: 11.92 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.1924, allocations: 20.23 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.193, allocations: 227.3 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1933, allocations: 303.8 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1933, allocations: 7.984 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.1936, allocations: 214.3 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1938, allocations: 127.6 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.1938, allocations: 12 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.1939, allocations: 8 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.194, allocations: 79.77 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1942, allocations: 131.3 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1944, allocations: 279.3 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1944, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.02e-07/0.1945, allocations: 3.938 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1945, allocations: 0 / 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.0009897/0.1955, allocations: 0.7538 MB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.1955, allocations: 8.031 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.002e-05/0.1956, allocations: 31.72 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1959, allocations: 258.3 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.1959, allocations: 19.98 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.196, allocations: 12 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.197, allocations: 201.5 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.197, allocations: 3.938 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.197, allocations: 7.984 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.197, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/0.1979, allocations: 95.86 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.1982, allocations: 317.3 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1993, allocations: 178.6 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007556/0.2, allocations: 105 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2001, allocations: 8 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009305/0.201, allocations: 219.1 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.201, allocations: 0 / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002534/0.2035, allocations: 449 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2036, allocations: 59.39 kB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.2038, allocations: 294.9 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.2039, allocations: 37.7 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.204, allocations: 93.12 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.204, allocations: 39.48 kB / 0.789 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2042, allocations: 105.4 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2043, allocations: 322.8 kB / 0.7894 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2045, allocations: 79.95 kB / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.2047, allocations: 142.5 kB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.205, allocations: 235.9 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.205, allocations: 0 / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006263/0.2056, allocations: 400.5 kB / 0.7903 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.2057, allocations: 79.33 kB / 0.7903 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2057, allocations: 4 kB / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2057, allocations: 0 / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2059, allocations: 19.98 kB / 0.7904 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2059, allocations: 12.11 kB / 0.7904 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.2064, allocations: 55.81 kB / 0.7904 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.2065, allocations: 43.98 kB / 0.7905 GB, free: 5.652 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.0001663/0.2066, allocations: 172 kB / 0.7906 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.2067, allocations: 31.59 kB / 0.7907 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.2067, allocations: 30.3 kB / 0.7907 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2067, allocations: 7.938 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2068, allocations: 0 / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2068, allocations: 0 / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.2089, allocations: 0.6918 MB / 0.7914 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2089, allocations: 0 / 0.7914 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.2089, allocations: 7.938 kB / 0.7914 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2089, allocations: 0 / 0.7914 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.209, allocations: 19.97 kB / 0.7914 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.209, allocations: 4 kB / 0.7914 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.209, allocations: 0 / 0.7914 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.2107, allocations: 446.9 kB / 0.7918 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.2109, allocations: 156.6 kB / 0.792 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.2109, allocations: 16 kB / 0.792 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.2114, allocations: 35.95 kB / 0.792 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.2115, allocations: 7.984 kB / 0.792 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.2115, allocations: 39.98 kB / 0.7921 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001716/0.2117, allocations: 209.9 kB / 0.7923 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2117, allocations: 0 / 0.7923 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003113/0.212, allocations: 48 kB / 0.7923 GB, free: 3.656 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.0001266/0.2122, allocations: 119.2 kB / 0.7924 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.2134, allocations: 377.7 kB / 0.7928 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2134, allocations: 0 / 0.7928 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.2142, allocations: 119.8 kB / 0.7929 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2145, allocations: 34.58 kB / 0.7929 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2158, allocations: 0.5014 MB / 0.7934 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2161, allocations: 0.736 MB / 0.7941 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.625e-05/0.2162, allocations: 17.08 kB / 0.7942 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.2162, allocations: 19.42 kB / 0.7942 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of SimCode: time 1.483e-06/0.2162, allocations: 0 / 0.7942 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.006113/0.2223, allocations: 3.597 MB / 0.7977 GB, free: 14.09 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)