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.001149/0.001149, 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.001145/0.001145, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.377/1.377, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.653/1.653, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001556/0.001556, allocations: 63.11 kB / 0.6711 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2055, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002727/0.2083, allocations: 1.548 MB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.2092, allocations: 433.7 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.2093, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.649e-05/0.2094, allocations: 3.938 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/0.2095, allocations: 24.23 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.2101, allocations: 230.9 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.2105, allocations: 331.8 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.2105, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.2109, allocations: 242.3 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.2111, allocations: 131.6 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.2112, allocations: 20 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.148e-05/0.2112, allocations: 23.94 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.2113, allocations: 75.78 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2115, allocations: 139.3 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.2118, allocations: 295.3 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2118, allocations: 3.938 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2118, allocations: 4 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.2118, allocations: 0 / 0.7863 GB, free: 10.34 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.001039/0.2129, allocations: 0.746 MB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2129, allocations: 8.031 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.54e-05/0.213, allocations: 46.55 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.2131, allocations: 27.72 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.2134, allocations: 258.3 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.2134, allocations: 15.98 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.2135, allocations: 20 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.2144, allocations: 209.3 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2145, allocations: 0 / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.2145, allocations: 3.984 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2145, allocations: 0 / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.2152, allocations: 103.9 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.2156, allocations: 313.3 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009883/0.2166, allocations: 174.5 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.2173, allocations: 108.8 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2173, allocations: 4 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009169/0.2183, allocations: 222.2 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.2183, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002463/0.2207, allocations: 445 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.2208, allocations: 67.38 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.2211, allocations: 294.9 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.354e-05/0.2212, allocations: 37.7 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.2213, allocations: 89.14 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.2214, allocations: 35.48 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.2216, allocations: 109.4 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2217, allocations: 322.8 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.2219, allocations: 79.95 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.2221, allocations: 141.2 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.2225, allocations: 239.9 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2225, allocations: 0 / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006827/0.2232, allocations: 400.5 kB / 0.7907 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.2233, allocations: 71.39 kB / 0.7907 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2233, allocations: 0 / 0.7907 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2233, allocations: 4 kB / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.2235, allocations: 27.92 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2236, allocations: 8.125 kB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.2241, allocations: 59.8 kB / 0.7908 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.2242, allocations: 35.98 kB / 0.7909 GB, free: 5.344 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.0001976/0.2244, allocations: 172 kB / 0.791 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.2244, allocations: 27.66 kB / 0.7911 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.2245, allocations: 30.3 kB / 0.7911 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2245, allocations: 4 kB / 0.7911 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2245, allocations: 0 / 0.7911 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2245, allocations: 0 / 0.7911 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.2266, allocations: 0.6972 MB / 0.7918 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2266, allocations: 3.938 kB / 0.7918 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.2266, allocations: 4 kB / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2266, allocations: 0 / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.2267, allocations: 19.97 kB / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2267, allocations: 4 kB / 0.7918 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2267, allocations: 0 / 0.7918 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.2284, allocations: 449.9 kB / 0.7922 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.2285, allocations: 160.6 kB / 0.7924 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.2286, allocations: 15.98 kB / 0.7924 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.2291, allocations: 39.95 kB / 0.7924 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.2291, allocations: 7.984 kB / 0.7925 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.2292, allocations: 35.98 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001715/0.2293, allocations: 213.9 kB / 0.7927 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2293, allocations: 3.938 kB / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003406/0.2297, allocations: 48 kB / 0.7927 GB, free: 3.336 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.001849/0.2315, allocations: 0.9892 MB / 0.7937 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.2327, allocations: 378.5 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2327, allocations: 0 / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.2334, allocations: 117.7 kB / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.2338, allocations: 35.81 kB / 0.7942 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.237, allocations: 2.44 MB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2373, allocations: 0.7442 MB / 0.7973 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.709e-05/0.2374, allocations: 9.094 kB / 0.7973 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.2374, allocations: 27.42 kB / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2374, allocations: 3.938 kB / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.2513, allocations: 4.762 MB / 0.802 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.2515, allocations: 213.5 kB / 0.8022 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.025, allocations: 0 / 0.8022 GB, free: 9.516 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)