Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002291/0.002291, allocations: 198.8 kB / 16.64 MB, free: 6.453 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.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.666/1.666, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001368/0.001368, allocations: 70.08 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2064, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002905/0.2093, allocations: 1.499 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000932/0.2103, allocations: 427.3 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.2104, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.2105, allocations: 11.86 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2106, allocations: 24.22 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.2114, allocations: 242.8 kB / 0.7858 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.2118, allocations: 335.4 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2118, allocations: 7.984 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.2121, allocations: 199.6 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.2124, allocations: 116.1 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.2125, allocations: 20 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.2125, allocations: 20 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2126, allocations: 79.72 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.2128, allocations: 123.4 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.2131, allocations: 291.4 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.2131, allocations: 0 / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2131, allocations: 0 / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.2131, allocations: 0 / 0.7869 GB, free: 9.93 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.001176/0.2143, allocations: 0.75 MB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2144, allocations: 12.03 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.2144, allocations: 38.73 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.2145, allocations: 32.66 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.2148, allocations: 263.5 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.2149, allocations: 16.12 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.215, allocations: 16 kB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.2158, allocations: 205.4 kB / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2159, allocations: 0 / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.2159, allocations: 0 / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2159, allocations: 0 / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.2166, allocations: 103.9 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.217, allocations: 317.3 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.2179, allocations: 170.4 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.2185, allocations: 112.8 kB / 0.7889 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2186, allocations: 7.969 kB / 0.7889 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.2195, allocations: 207.2 kB / 0.7891 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.2195, allocations: 0 / 0.7891 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002287/0.2218, allocations: 451.9 kB / 0.7895 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.2219, allocations: 67.39 kB / 0.7896 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.2222, allocations: 290.9 kB / 0.7898 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.2222, allocations: 37.7 kB / 0.7899 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.2223, allocations: 93.12 kB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.2224, allocations: 43.48 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2225, allocations: 97.39 kB / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.2226, allocations: 318.8 kB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.2228, allocations: 79.95 kB / 0.7905 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.223, allocations: 141.9 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.2233, allocations: 243.9 kB / 0.7909 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2233, allocations: 3.938 kB / 0.7909 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006069/0.2239, allocations: 388.7 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.224, allocations: 71.39 kB / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.224, allocations: 0 / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2241, allocations: 4.188 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.2242, allocations: 31.92 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2243, allocations: 0 / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.2247, allocations: 51.8 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.2248, allocations: 43.98 kB / 0.7914 GB, free: 4.949 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.0001806/0.2249, allocations: 182.8 kB / 0.7916 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.225, allocations: 23.7 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.2251, allocations: 34.23 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2251, allocations: 0 / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2251, allocations: 4 kB / 0.7917 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2251, allocations: 0 / 0.7917 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.2271, allocations: 0.6935 MB / 0.7923 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2271, allocations: 0 / 0.7923 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.2271, allocations: 4 kB / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2271, allocations: 0 / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.2272, allocations: 19.97 kB / 0.7924 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.2272, allocations: 0 / 0.7924 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2272, allocations: 3.938 kB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.2287, allocations: 447.4 kB / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.2289, allocations: 164.6 kB / 0.7929 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.229, allocations: 8 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.2294, allocations: 35.95 kB / 0.793 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2295, allocations: 11.94 kB / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.2295, allocations: 43.97 kB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001669/0.2297, allocations: 209.9 kB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2297, allocations: 0 / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000333/0.2301, allocations: 44 kB / 0.7933 GB, free: 2.949 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.001811/0.2319, allocations: 0.9976 MB / 0.7943 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.233, allocations: 378.5 kB / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.233, allocations: 0 / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.2336, allocations: 115.3 kB / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.234, allocations: 39.39 kB / 0.7948 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.2374, allocations: 2.383 MB / 0.7971 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2377, allocations: 0.7395 MB / 0.7978 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.362e-05/0.2377, allocations: 13.08 kB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.2378, allocations: 27.42 kB / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of SimCode: time 6.02e-07/0.2378, allocations: 0 / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.2604, allocations: 4.772 MB / 0.8025 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.836, allocations: 7.484 kB / 0.8025 GB, free: 9.402 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)