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.0008635/0.0008638, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001046/0.001046, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.808/1.808, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.001059/0.001059, allocations: 10.88 kB / 0.6738 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2868, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001851/0.2887, allocations: 1.19 MB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.2896, allocations: 416.2 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.2897, allocations: 4 kB / 0.789 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.407e-05/0.2898, allocations: 7.922 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.29, allocations: 15.88 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.2907, allocations: 207.7 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.291, allocations: 251.5 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.2911, allocations: 8 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.2916, allocations: 227.6 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.2919, allocations: 143.7 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.2919, allocations: 8 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.292, allocations: 12 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.2921, allocations: 75.78 kB / 0.7899 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.2922, allocations: 73.56 kB / 0.7899 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.2925, allocations: 211.8 kB / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2925, allocations: 0 / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.507e-06/0.2925, allocations: 0 / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.2925, allocations: 8 kB / 0.7902 GB, free: 9.012 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.001021/0.2936, allocations: 0.6488 MB / 0.7908 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2936, allocations: 15.97 kB / 0.7908 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.2937, allocations: 34.55 kB / 0.7908 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.911e-05/0.2938, allocations: 35.72 kB / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.2941, allocations: 250.5 kB / 0.7911 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.2941, allocations: 12 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.2942, allocations: 23.98 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008813/0.2951, allocations: 217 kB / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2951, allocations: 0 / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.2952, allocations: 3.984 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2952, allocations: 0 / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.2958, allocations: 111.9 kB / 0.7915 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.2963, allocations: 333.1 kB / 0.7918 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.2973, allocations: 182.5 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.2979, allocations: 120.8 kB / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.2979, allocations: 0 / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008315/0.2988, allocations: 231.5 kB / 0.7923 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.2988, allocations: 0 / 0.7923 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002185/0.301, allocations: 479.6 kB / 0.7927 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.301, allocations: 55.41 kB / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.3014, allocations: 298.9 kB / 0.7931 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.3015, allocations: 37.7 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.3016, allocations: 85.14 kB / 0.7932 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.3016, allocations: 43.53 kB / 0.7932 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.3017, allocations: 8 kB / 0.7933 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3019, allocations: 326.8 kB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.3022, allocations: 87.88 kB / 0.7936 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.3024, allocations: 137.2 kB / 0.7938 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3026, allocations: 143.4 kB / 0.7939 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3026, allocations: 0 / 0.7939 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006231/0.3033, allocations: 396.7 kB / 0.7943 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.3034, allocations: 75.38 kB / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3034, allocations: 4 kB / 0.7944 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3034, allocations: 0 / 0.7944 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3036, allocations: 23.98 kB / 0.7944 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.3036, allocations: 7.938 kB / 0.7944 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.304, allocations: 71.92 kB / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.3041, allocations: 35.98 kB / 0.7945 GB, free: 4.238 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.3043, allocations: 172 kB / 0.7947 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.3044, allocations: 31.58 kB / 0.7947 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.3044, allocations: 30.3 kB / 0.7947 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3044, allocations: 7.938 kB / 0.7947 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3045, allocations: 4 kB / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3045, allocations: 0 / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.3064, allocations: 0.709 MB / 0.7954 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3064, allocations: 0 / 0.7954 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.3064, allocations: 7.938 kB / 0.7954 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3064, allocations: 0 / 0.7954 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.3065, allocations: 15.97 kB / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3065, allocations: 4 kB / 0.7955 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3065, allocations: 0 / 0.7955 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.308, allocations: 474.1 kB / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.3082, allocations: 160.7 kB / 0.7961 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.3083, allocations: 11.94 kB / 0.7961 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.3087, allocations: 43.95 kB / 0.7961 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.3087, allocations: 4 kB / 0.7961 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.3088, allocations: 43.97 kB / 0.7962 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001982/0.309, allocations: 209.9 kB / 0.7964 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.573e-06/0.309, allocations: 0 / 0.7964 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003364/0.3094, allocations: 51.94 kB / 0.7964 GB, free: 2.188 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001776/0.3111, allocations: 1.019 MB / 0.7974 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.3122, allocations: 386.5 kB / 0.7978 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3122, allocations: 4 kB / 0.7978 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006441/0.3129, allocations: 128.2 kB / 0.7979 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3132, allocations: 26.34 kB / 0.7979 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.3157, allocations: 1.188 MB / 0.7991 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.316, allocations: 0.7438 MB / 0.7998 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7e-05/0.3161, allocations: 13.08 kB / 0.7998 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.3162, allocations: 27.36 kB / 0.7998 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of SimCode: time 1.142e-06/0.3162, allocations: 0 / 0.7998 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3358, allocations: 4.532 MB / 0.8043 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003757/0.3362, allocations: 188 kB / 0.8045 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.18, allocations: 0 / 0.8045 GB, free: 9.898 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/linux/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) Environment - environmentSimulation: