Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.364/1.364, allocations: 252 MB / 267.3 MB, free: 10.85 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.00108/0.00108, allocations: 175.4 kB / 327 MB, free: 2.098 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.624/1.624, allocations: 205.4 MB / 0.578 GB, free: 20.19 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.0006965/0.0006964, allocations: 82.36 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 8.5 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001602/0.1921, allocations: 1.202 MB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.1929, allocations: 439.4 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.193, allocations: 0 / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.657e-05/0.1931, allocations: 7.922 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.1932, allocations: 24.3 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.1939, allocations: 227.9 kB / 0.9027 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1941, allocations: 287.9 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.1942, allocations: 15.94 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.1944, allocations: 210.3 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.1946, allocations: 119.6 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.1947, allocations: 8 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.1948, allocations: 12 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.1949, allocations: 79.7 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.195, allocations: 145.1 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1952, allocations: 275.3 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1953, allocations: 4 kB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1953, allocations: 8 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1953, allocations: 0 / 0.9039 GB, free: 60.34 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.0008788/0.1962, allocations: 0.6024 MB / 0.9045 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1962, allocations: 8.031 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.1963, allocations: 42.55 kB / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.1963, allocations: 35.62 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1965, allocations: 270.2 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1966, allocations: 8 kB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.1966, allocations: 23.98 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.1969, allocations: 153.5 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1969, allocations: 0 / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.1969, allocations: 0 / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1969, allocations: 4 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1971, allocations: 43.97 kB / 0.905 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.1973, allocations: 305.4 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1975, allocations: 134.6 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1976, allocations: 52.84 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1977, allocations: 0 / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.1981, allocations: 231.4 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.1981, allocations: 0 / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004821/0.1985, allocations: 271.8 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1986, allocations: 55.41 kB / 0.906 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1988, allocations: 290.9 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.1988, allocations: 41.69 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.1989, allocations: 93.14 kB / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1989, allocations: 51.38 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.199, allocations: 11.94 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.199, allocations: 322.8 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1992, allocations: 96.17 kB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.1994, allocations: 150.4 kB / 0.907 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.1996, allocations: 240.7 kB / 0.9073 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1997, allocations: 3.938 kB / 0.9073 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005418/0.2002, allocations: 408.7 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.2002, allocations: 75.38 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2003, allocations: 4 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2003, allocations: 7.938 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2004, allocations: 27.92 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2005, allocations: 7.984 kB / 0.9078 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.201, allocations: 75.89 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.201, allocations: 51.92 kB / 0.9079 GB, free: 55.88 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.0001313/0.2012, allocations: 176 kB / 0.9081 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.2012, allocations: 31.7 kB / 0.9081 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.2013, allocations: 34.12 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2013, allocations: 4 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2013, allocations: 0 / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2013, allocations: 0 / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.2019, allocations: 0.5593 MB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2019, allocations: 0 / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.2019, allocations: 11.98 kB / 0.9087 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2019, allocations: 4 kB / 0.9087 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.202, allocations: 19.98 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.202, allocations: 0 / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.202, allocations: 0 / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.2023, allocations: 319 kB / 0.909 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.2024, allocations: 148.7 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.2025, allocations: 19.92 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2027, allocations: 11.98 kB / 0.9092 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.2028, allocations: 19.98 kB / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.2028, allocations: 27.98 kB / 0.9092 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000132/0.203, allocations: 209.9 kB / 0.9094 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.203, allocations: 0 / 0.9094 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002695/0.2032, allocations: 48 kB / 0.9095 GB, free: 54.16 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.0004901/0.2037, allocations: 0.872 MB / 0.9103 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.2042, allocations: 344.2 kB / 0.9107 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2042, allocations: 0 / 0.9107 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2043, allocations: 75.88 kB / 0.9107 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2046, allocations: 27.45 kB / 0.9107 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.207, allocations: 2.452 MB / 0.9131 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.2072, allocations: 0.7471 MB / 0.9139 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.2073, allocations: 37.42 kB / 0.9139 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.2074, allocations: 51.41 kB / 0.914 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2074, allocations: 0 / 0.914 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.2215, allocations: 4.999 MB / 0.9188 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.2216, allocations: 219 kB / 0.919 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.972, allocations: 3.938 kB / 0.9191 GB, free: 44.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)