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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.00133/0.00133, 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.001175/0.001175, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.303/1.303, allocations: 205.1 MB / 222 MB, free: 4.973 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.659/1.659, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001343/0.001343, allocations: 66.62 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1891, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002396/0.1915, allocations: 1.551 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.1924, allocations: 456.4 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.1924, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.158e-05/0.1925, allocations: 7.938 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.1926, allocations: 24.22 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.1932, allocations: 222.9 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1935, allocations: 303.9 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.1935, allocations: 8 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.1938, allocations: 210.3 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.194, allocations: 123.6 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.1941, allocations: 12 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.1941, allocations: 12 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1943, allocations: 75.78 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1944, allocations: 127.2 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1947, allocations: 295.3 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1947, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1947, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.1947, allocations: 3.938 kB / 0.7861 GB, free: 10.52 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.00101/0.1958, allocations: 0.746 MB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1958, allocations: 12.03 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.1959, allocations: 38.56 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.196, allocations: 27.72 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1962, allocations: 258.3 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.1963, allocations: 15.98 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1964, allocations: 20 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.1974, allocations: 205.3 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1974, allocations: 4 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.1974, allocations: 7.984 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1974, allocations: 0 / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.1982, allocations: 95.92 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1985, allocations: 325.2 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.1995, allocations: 178.4 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.2002, allocations: 104.8 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.2002, allocations: 4 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009234/0.2012, allocations: 219.1 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.2012, allocations: 0 / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002439/0.2036, allocations: 441 kB / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.2037, allocations: 67.39 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.204, allocations: 290.9 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.204, allocations: 37.7 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.2041, allocations: 101.1 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.2041, allocations: 35.53 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.2043, allocations: 105.4 kB / 0.7893 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2044, allocations: 318.8 kB / 0.7896 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.2046, allocations: 87.89 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.2048, allocations: 136.8 kB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.2051, allocations: 236.1 kB / 0.79 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2051, allocations: 4 kB / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000653/0.2058, allocations: 396.6 kB / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.2059, allocations: 71.39 kB / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2059, allocations: 0 / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2059, allocations: 4 kB / 0.7905 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2061, allocations: 31.91 kB / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2061, allocations: 0 / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.2066, allocations: 63.92 kB / 0.7906 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.2066, allocations: 39.98 kB / 0.7906 GB, free: 5.523 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.0001876/0.2068, allocations: 167.9 kB / 0.7908 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.2069, allocations: 27.66 kB / 0.7908 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.2069, allocations: 30.3 kB / 0.7908 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2069, allocations: 4 kB / 0.7908 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.207, allocations: 8 kB / 0.7909 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.207, allocations: 3.984 kB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.2089, allocations: 0.6952 MB / 0.7915 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2089, allocations: 0 / 0.7915 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.209, allocations: 4 kB / 0.7915 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.209, allocations: 0 / 0.7915 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.209, allocations: 15.97 kB / 0.7916 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.209, allocations: 0 / 0.7916 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.209, allocations: 4 kB / 0.7916 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2107, allocations: 450.8 kB / 0.792 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.2108, allocations: 156.7 kB / 0.7921 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.2109, allocations: 15.92 kB / 0.7922 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.2113, allocations: 31.97 kB / 0.7922 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2114, allocations: 11.98 kB / 0.7922 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.2115, allocations: 39.98 kB / 0.7922 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001774/0.2116, allocations: 217.9 kB / 0.7924 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2116, allocations: 0 / 0.7924 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003099/0.212, allocations: 47.98 kB / 0.7925 GB, free: 3.52 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.001996/0.214, allocations: 0.9921 MB / 0.7935 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.2151, allocations: 382.5 kB / 0.7938 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2151, allocations: 0 / 0.7938 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.2158, allocations: 115.8 kB / 0.7939 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2162, allocations: 20.64 kB / 0.794 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.2197, allocations: 2.44 MB / 0.7963 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2201, allocations: 0.7454 MB / 0.7971 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.853e-05/0.2202, allocations: 13.09 kB / 0.7971 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.2202, allocations: 27.42 kB / 0.7971 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2202, allocations: 0 / 0.7971 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.236, allocations: 4.627 MB / 0.8016 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.2363, allocations: 200.6 kB / 0.8018 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.05, allocations: 0 / 0.8018 GB, free: 9.824 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)