Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009366/0.0009367, allocations: 171.8 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007741/0.0007741, allocations: 86.28 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 8.688 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 106.3 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001462/0.1914, allocations: 1.206 MB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.1922, allocations: 444 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.1923, allocations: 0 / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.817e-05/0.1924, allocations: 3.938 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.794e-05/0.1925, allocations: 24.22 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.1931, allocations: 210 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.1934, allocations: 291.8 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.1935, allocations: 19.97 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.1938, allocations: 210.3 kB / 0.9032 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.194, allocations: 127.6 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.1941, allocations: 8 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.1942, allocations: 15.94 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.1943, allocations: 71.72 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1944, allocations: 145.1 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1947, allocations: 275.3 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1947, allocations: 0 / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1947, allocations: 8 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.1947, allocations: 0 / 0.9039 GB, free: 60.18 MB / 0.6042 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.001003/0.1957, allocations: 0.6103 MB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1958, allocations: 8.031 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.1958, allocations: 38.56 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.1959, allocations: 35.62 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1962, allocations: 266.2 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.1962, allocations: 11.98 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.1963, allocations: 16 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1966, allocations: 153.5 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1966, allocations: 0 / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.1966, allocations: 0 / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1966, allocations: 4 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.1968, allocations: 47.91 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.197, allocations: 309.4 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1973, allocations: 130.7 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1974, allocations: 56.83 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1974, allocations: 0 / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.1978, allocations: 230.4 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.1978, allocations: 0 / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005099/0.1984, allocations: 269.2 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1984, allocations: 63.34 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1986, allocations: 286.9 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.1987, allocations: 49.69 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.1987, allocations: 89.14 kB / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.1988, allocations: 47.39 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1988, allocations: 8 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.1989, allocations: 322.8 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1991, allocations: 92.17 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1993, allocations: 154.4 kB / 0.907 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.1996, allocations: 244.8 kB / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1996, allocations: 7.938 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000576/0.2002, allocations: 404.7 kB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.2002, allocations: 75.39 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2002, allocations: 4 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2003, allocations: 7.938 kB / 0.9077 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2004, allocations: 31.84 kB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2004, allocations: 4 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.201, allocations: 75.89 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.201, allocations: 55.92 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001521/0.2012, allocations: 180 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.2012, allocations: 23.72 kB / 0.9081 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.2013, allocations: 34.19 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2013, allocations: 4 kB / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2013, allocations: 0 / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2013, allocations: 0 / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.202, allocations: 0.5588 MB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.202, allocations: 4 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.2021, allocations: 11.98 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2021, allocations: 4 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.2021, allocations: 11.98 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2021, allocations: 0 / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2021, allocations: 0 / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.2025, allocations: 326.9 kB / 0.909 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2026, allocations: 156.7 kB / 0.9092 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.2027, allocations: 12 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.2029, allocations: 14.98 kB / 0.9092 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.203, allocations: 19.98 kB / 0.9092 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.203, allocations: 23.98 kB / 0.9092 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001461/0.2032, allocations: 209.9 kB / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2032, allocations: 0 / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002879/0.2035, allocations: 55.98 kB / 0.9095 GB, free: 53.99 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0005189/0.204, allocations: 0.8669 MB / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.2044, allocations: 342.5 kB / 0.9107 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2045, allocations: 0 / 0.9107 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2046, allocations: 71.91 kB / 0.9107 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.2049, allocations: 20.88 kB / 0.9107 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.2074, allocations: 2.456 MB / 0.9131 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.2075, allocations: 0.7438 MB / 0.9139 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.2077, allocations: 37.42 kB / 0.9139 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2078, allocations: 47.59 kB / 0.9139 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.2078, allocations: 0 / 0.9139 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.2228, allocations: 5.019 MB / 0.9188 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.223, allocations: 224.4 kB / 0.9191 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.027, allocations: 5.719 kB / 0.9191 GB, free: 44.1 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)