Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.466/1.466, allocations: 252 MB / 267 MB, free: 10.96 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.001085/0.001085, allocations: 178.4 kB / 326.6 MB, free: 2.207 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.288/2.288, allocations: 205.4 MB / 0.5776 GB, free: 20.2 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.001074/0.001074, allocations: 93.58 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004756, allocations: 8.281 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2777, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001527/0.2793, allocations: 1.187 MB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.2801, allocations: 411.1 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.2801, allocations: 0 / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.347e-05/0.2803, allocations: 7.922 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.2804, allocations: 19.92 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.281, allocations: 209.4 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2812, allocations: 243.5 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.2813, allocations: 11.98 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2815, allocations: 219.6 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2817, allocations: 131.7 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.2818, allocations: 8 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.2818, allocations: 8 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/0.2819, allocations: 79.78 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.282, allocations: 73.52 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2822, allocations: 203.9 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2822, allocations: 0 / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2822, allocations: 0 / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2822, allocations: 0 / 0.903 GB, free: 61.01 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.0009776/0.2832, allocations: 0.6103 MB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2832, allocations: 8.031 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.2833, allocations: 42.55 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.89e-05/0.2834, allocations: 43.58 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2836, allocations: 250.5 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.2837, allocations: 12 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.2837, allocations: 19.92 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.284, allocations: 148.3 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.284, allocations: 3.984 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.2841, allocations: 0 / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2841, allocations: 4 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.2842, allocations: 43.97 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.2845, allocations: 321.3 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.2847, allocations: 130.8 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2849, allocations: 56.84 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2849, allocations: 0 / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/0.2853, allocations: 219.6 kB / 0.9049 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.2853, allocations: 0 / 0.9049 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004808/0.2858, allocations: 269.1 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2858, allocations: 59.41 kB / 0.9052 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2861, allocations: 287 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.2861, allocations: 45.69 kB / 0.9055 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.2862, allocations: 93.12 kB / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.2862, allocations: 43.45 kB / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2862, allocations: 8 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.988e-05/0.2863, allocations: 322.8 kB / 0.9059 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2865, allocations: 96.11 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2867, allocations: 158.3 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.2869, allocations: 151.7 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2869, allocations: 3.938 kB / 0.9063 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005415/0.2875, allocations: 415.1 kB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.2875, allocations: 73.73 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2875, allocations: 4 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2876, allocations: 4 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2877, allocations: 31.91 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2877, allocations: 7.984 kB / 0.9068 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.2883, allocations: 71.98 kB / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.2883, allocations: 47.98 kB / 0.9069 GB, free: 56.66 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.0001531/0.2885, allocations: 179.9 kB / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.2885, allocations: 23.72 kB / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.2886, allocations: 30.25 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2886, allocations: 4 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2886, allocations: 0 / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2886, allocations: 0 / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.2893, allocations: 0.5645 MB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2893, allocations: 0 / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.2893, allocations: 11.98 kB / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.2893, allocations: 3.984 kB / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2894, allocations: 15.98 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2894, allocations: 7.938 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2894, allocations: 3.938 kB / 0.9078 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.2897, allocations: 321 kB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.2899, allocations: 156.6 kB / 0.9082 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.2899, allocations: 8 kB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.2901, allocations: 15.98 kB / 0.9082 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.2902, allocations: 15.97 kB / 0.9083 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.2902, allocations: 35.98 kB / 0.9083 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001362/0.2904, allocations: 205.9 kB / 0.9085 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2904, allocations: 0 / 0.9085 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002659/0.2907, allocations: 51.95 kB / 0.9085 GB, free: 54.93 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.000571/0.2912, allocations: 0.8682 MB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.2917, allocations: 339.7 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2917, allocations: 4 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.2918, allocations: 75.81 kB / 0.9098 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.2922, allocations: 20.88 kB / 0.9098 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2937, allocations: 1.179 MB / 0.911 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.2939, allocations: 0.7432 MB / 0.9117 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.2941, allocations: 37.42 kB / 0.9117 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2942, allocations: 51.47 kB / 0.9118 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2942, allocations: 0 / 0.9118 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.3146, allocations: 4.985 MB / 0.9166 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.315, allocations: 207.5 kB / 0.9168 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.021, allocations: 3.938 kB / 0.9168 GB, free: 46.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)