Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.445/1.445, allocations: 252 MB / 267 MB, free: 10.97 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.001043/0.001043, allocations: 190.2 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.152/2.152, allocations: 205.4 MB / 0.5777 GB, free: 20.57 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.000833/0.0008328, allocations: 93.53 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 8.875 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2771, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001725/0.2789, allocations: 1.191 MB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.2798, allocations: 403.1 kB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.2799, allocations: 8 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.705e-05/0.28, allocations: 7.922 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.2801, allocations: 19.91 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.2807, allocations: 206.9 kB / 0.9021 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.2809, allocations: 243.5 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.281, allocations: 8 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.2813, allocations: 223.6 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.2815, allocations: 135.7 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.2816, allocations: 12 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.2816, allocations: 8 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.2817, allocations: 75.78 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.2818, allocations: 73.52 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.282, allocations: 191.9 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.282, allocations: 4 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.282, allocations: 0 / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.282, allocations: 0 / 0.903 GB, free: 61.41 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.000985/0.283, allocations: 0.622 MB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.283, allocations: 8.031 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.2831, allocations: 38.56 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.2832, allocations: 39.56 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.2835, allocations: 246.6 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.2835, allocations: 11.98 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.2835, allocations: 24 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.2838, allocations: 149.5 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2838, allocations: 0 / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2839, allocations: 0 / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2839, allocations: 4 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.284, allocations: 47.97 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.2843, allocations: 309.3 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.2846, allocations: 138.8 kB / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2847, allocations: 56.83 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2847, allocations: 4 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.2851, allocations: 219.6 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.477e-06/0.2852, allocations: 3.984 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000492/0.2857, allocations: 272 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2857, allocations: 63.39 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.2859, allocations: 291 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.286, allocations: 33.7 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.286, allocations: 89.14 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.2861, allocations: 47.45 kB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.2861, allocations: 8 kB / 0.9056 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.2862, allocations: 326.8 kB / 0.9059 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.2864, allocations: 100.1 kB / 0.906 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.2866, allocations: 150.3 kB / 0.9062 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.2868, allocations: 152.1 kB / 0.9063 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2868, allocations: 0 / 0.9063 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005434/0.2873, allocations: 415 kB / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.2874, allocations: 75.39 kB / 0.9068 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2874, allocations: 4.188 kB / 0.9068 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2874, allocations: 4 kB / 0.9068 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2876, allocations: 31.91 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2876, allocations: 0 / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.2882, allocations: 67.86 kB / 0.9069 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.2882, allocations: 55.98 kB / 0.9069 GB, free: 57.05 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.0001526/0.2884, allocations: 175.9 kB / 0.9071 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.2884, allocations: 23.72 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.2885, allocations: 34.25 kB / 0.9072 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2885, allocations: 0 / 0.9072 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2885, allocations: 0 / 0.9072 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2885, allocations: 4 kB / 0.9072 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.2891, allocations: 0.5645 MB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2892, allocations: 0 / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.2892, allocations: 4 kB / 0.9077 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2892, allocations: 4 kB / 0.9077 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2892, allocations: 11.97 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2893, allocations: 0 / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2893, allocations: 11.88 kB / 0.9078 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.2896, allocations: 321.4 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2897, allocations: 160.6 kB / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.2898, allocations: 8 kB / 0.9082 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.29, allocations: 11.98 kB / 0.9082 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.2901, allocations: 19.97 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.2901, allocations: 23.98 kB / 0.9083 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001371/0.2903, allocations: 213.9 kB / 0.9085 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2903, allocations: 0 / 0.9085 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002704/0.2906, allocations: 55.95 kB / 0.9085 GB, free: 55.33 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.0005563/0.2911, allocations: 0.861 MB / 0.9094 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.2916, allocations: 344.9 kB / 0.9097 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2916, allocations: 384 / 0.9097 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.2917, allocations: 79.8 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2921, allocations: 29.59 kB / 0.9098 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2937, allocations: 1.164 MB / 0.9109 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.2939, allocations: 0.7476 MB / 0.9117 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.2941, allocations: 45.41 kB / 0.9117 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2942, allocations: 43.41 kB / 0.9118 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2942, allocations: 0 / 0.9118 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.3107, allocations: 4.989 MB / 0.9166 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.311, allocations: 220 kB / 0.9168 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.033, allocations: 0 / 0.9168 GB, free: 46.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)