Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.0009013/0.0009012, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009375/0.0009376, allocations: 168.7 kB / 15.95 MB, free: 204 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.813/1.813, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.726/1.726, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.000573/0.000573, allocations: 17.12 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3006, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001588/0.3023, allocations: 1.194 MB / 0.7886 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.3032, allocations: 420.2 kB / 0.789 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.3032, allocations: 0 / 0.789 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.7e-05/0.3033, allocations: 7.922 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.3034, allocations: 15.88 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.304, allocations: 223.2 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.3043, allocations: 247.5 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.3044, allocations: 7.938 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.3048, allocations: 227.6 kB / 0.7897 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.305, allocations: 139.7 kB / 0.7898 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.3051, allocations: 12 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.3051, allocations: 8 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3052, allocations: 83.7 kB / 0.7899 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.3053, allocations: 77.58 kB / 0.79 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3055, allocations: 207.9 kB / 0.7902 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3055, allocations: 0 / 0.7902 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3055, allocations: 0 / 0.7902 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3056, allocations: 3.938 kB / 0.7902 GB, free: 9.02 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.0009307/0.3065, allocations: 0.6565 MB / 0.7908 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3065, allocations: 8.031 kB / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/0.3066, allocations: 38.55 kB / 0.7908 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.3067, allocations: 35.72 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.307, allocations: 254.4 kB / 0.7911 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.3071, allocations: 15.98 kB / 0.7911 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.3071, allocations: 20 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.308, allocations: 213.4 kB / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.308, allocations: 0 / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.308, allocations: 3.984 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.308, allocations: 4 kB / 0.7914 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.3087, allocations: 103.9 kB / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.3091, allocations: 325.2 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008863/0.31, allocations: 190.5 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/0.3106, allocations: 116.8 kB / 0.7921 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.3107, allocations: 7.938 kB / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008337/0.3115, allocations: 226.7 kB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.3115, allocations: 0 / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002127/0.3137, allocations: 473 kB / 0.7927 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3137, allocations: 59.39 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.314, allocations: 290.9 kB / 0.7931 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.3141, allocations: 41.7 kB / 0.7931 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.3141, allocations: 89.08 kB / 0.7932 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.3142, allocations: 39.53 kB / 0.7932 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.3142, allocations: 11.94 kB / 0.7933 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3144, allocations: 326.8 kB / 0.7936 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.3145, allocations: 87.94 kB / 0.7936 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.3148, allocations: 130 kB / 0.7938 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.315, allocations: 155.4 kB / 0.7939 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.315, allocations: 0 / 0.7939 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006298/0.3156, allocations: 391.4 kB / 0.7943 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.3157, allocations: 71.39 kB / 0.7944 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3157, allocations: 4 kB / 0.7944 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3158, allocations: 4 kB / 0.7944 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3159, allocations: 19.98 kB / 0.7944 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.316, allocations: 12.11 kB / 0.7944 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.3164, allocations: 59.88 kB / 0.7945 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.3165, allocations: 39.98 kB / 0.7945 GB, free: 4.254 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.0002229/0.3167, allocations: 183.2 kB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.3168, allocations: 31.58 kB / 0.7947 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.3168, allocations: 38.23 kB / 0.7947 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3168, allocations: 0 / 0.7947 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3169, allocations: 0 / 0.7947 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3169, allocations: 0 / 0.7947 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.3188, allocations: 0.709 MB / 0.7954 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3188, allocations: 8 kB / 0.7954 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.3189, allocations: 7.938 kB / 0.7954 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.3189, allocations: 0 / 0.7954 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.3189, allocations: 19.91 kB / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3189, allocations: 4 kB / 0.7955 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3189, allocations: 0 / 0.7955 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3204, allocations: 473.6 kB / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3206, allocations: 156.7 kB / 0.7961 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.3207, allocations: 8 kB / 0.7961 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.3211, allocations: 39.95 kB / 0.7961 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3211, allocations: 7.984 kB / 0.7961 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.3212, allocations: 39.98 kB / 0.7962 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002023/0.3214, allocations: 217.9 kB / 0.7964 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3214, allocations: 0 / 0.7964 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003268/0.3217, allocations: 44 kB / 0.7964 GB, free: 2.199 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.001852/0.3236, allocations: 1.023 MB / 0.7974 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.3247, allocations: 382.5 kB / 0.7978 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3247, allocations: 384 / 0.7978 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.3253, allocations: 130.1 kB / 0.7979 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3257, allocations: 28.62 kB / 0.7979 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.3283, allocations: 1.191 MB / 0.7991 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3286, allocations: 0.7438 MB / 0.7998 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.351e-05/0.3287, allocations: 17.08 kB / 0.7998 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.3287, allocations: 23.36 kB / 0.7999 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.3287, allocations: 4 kB / 0.7999 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.3456, allocations: 4.528 MB / 0.8043 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.3458, allocations: 200.3 kB / 0.8045 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.147, allocations: 4 kB / 0.8045 GB, free: 9.906 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: