Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 187.8 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.5777 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009185/0.0009182, allocations: 99.25 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003961, allocations: 12.25 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001866/0.3001, allocations: 1.187 MB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.301, allocations: 407.1 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.301, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.253e-05/0.3011, allocations: 3.938 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.3012, allocations: 19.91 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3018, allocations: 214.2 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.302, allocations: 247.5 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.302, allocations: 11.98 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.3023, allocations: 215.7 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3024, allocations: 131.7 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.3025, allocations: 8 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.3026, allocations: 12 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.3027, allocations: 83.77 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.3027, allocations: 65.52 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.3029, allocations: 203.9 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3029, allocations: 4 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3029, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.303, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 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.0009435/0.3039, allocations: 0.6103 MB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3039, allocations: 12.03 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.304, allocations: 38.55 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.3041, allocations: 43.58 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3043, allocations: 246.6 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.3044, allocations: 12 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.3044, allocations: 19.98 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3047, allocations: 145.5 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.3047, allocations: 0 / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.3047, allocations: 4 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3048, allocations: 3.984 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.3049, allocations: 43.97 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.3052, allocations: 325.3 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3054, allocations: 138.8 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3055, allocations: 52.84 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3056, allocations: 0 / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/0.306, allocations: 215.6 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.306, allocations: 0 / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000483/0.3065, allocations: 275.7 kB / 0.9051 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.3065, allocations: 59.41 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.3067, allocations: 287 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.3068, allocations: 45.69 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.3069, allocations: 85.14 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3069, allocations: 51.44 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.3069, allocations: 4 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.307, allocations: 330.8 kB / 0.9059 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3072, allocations: 92.11 kB / 0.906 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.3074, allocations: 158.3 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.3076, allocations: 152.1 kB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3076, allocations: 3.938 kB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005551/0.3082, allocations: 418.7 kB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.3082, allocations: 71.39 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3083, allocations: 0 / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3083, allocations: 4 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3085, allocations: 31.91 kB / 0.9068 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3085, allocations: 4 kB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.309, allocations: 71.95 kB / 0.9069 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.3091, allocations: 51.98 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001539/0.3092, allocations: 171.9 kB / 0.9071 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.3093, allocations: 23.72 kB / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3093, allocations: 34.25 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3093, allocations: 4 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3093, allocations: 0 / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3093, allocations: 0 / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.31, allocations: 0.5567 MB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.31, allocations: 4 kB / 0.9077 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.3101, allocations: 7.984 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3101, allocations: 0 / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.3101, allocations: 15.98 kB / 0.9077 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3101, allocations: 0 / 0.9077 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3101, allocations: 11.88 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.3105, allocations: 325.4 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3106, allocations: 156.6 kB / 0.9082 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.3107, allocations: 8 kB / 0.9082 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.3109, allocations: 17.98 kB / 0.9082 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.311, allocations: 15.97 kB / 0.9083 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.311, allocations: 31.98 kB / 0.9083 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000142/0.3112, allocations: 213.9 kB / 0.9085 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3112, allocations: 0 / 0.9085 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002765/0.3115, allocations: 47.95 kB / 0.9085 GB, free: 54.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0005847/0.312, allocations: 0.8643 MB / 0.9094 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.3125, allocations: 347.7 kB / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3125, allocations: 0 / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3127, allocations: 77.84 kB / 0.9098 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.313, allocations: 20.88 kB / 0.9098 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3146, allocations: 1.168 MB / 0.9109 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.3148, allocations: 0.7476 MB / 0.9117 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.3149, allocations: 37.42 kB / 0.9117 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3151, allocations: 51.41 kB / 0.9118 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.3151, allocations: 4 kB / 0.9118 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.3363, allocations: 4.982 MB / 0.9166 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.3366, allocations: 205.2 kB / 0.9168 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.039, allocations: 0 / 0.9168 GB, free: 46.45 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)