Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.302/2.302, allocations: 284.7 MB / 297.2 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 180.8 kB / 365.6 MB, free: 2.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.1 MB / 0.624 GB, free: 8.246 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 91.03 kB / 0.7371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.506e-05/4.523e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7515, allocations: 115.2 MB / 0.9699 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.9795, allocations: 139.6 MB / 1.106 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.9798, allocations: 71.95 kB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02175/1.002, allocations: 4.447 MB / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/1.002, allocations: 0 / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.658e-05/1.002, allocations: 4 kB / 1.111 GB, free: 8.449 MB / 0.7136 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.001143/1.003, allocations: 0.5754 MB / 1.111 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.003, allocations: 12.03 kB / 1.111 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.469e-05/1.003, allocations: 34.55 kB / 1.111 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/1.003, allocations: 40.86 kB / 1.111 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.004, allocations: 253.2 kB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/1.004, allocations: 12 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/1.004, allocations: 19.98 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/1.004, allocations: 141.5 kB / 1.112 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.004, allocations: 0 / 1.112 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/1.004, allocations: 11.98 kB / 1.112 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.004, allocations: 0 / 1.112 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/1.004, allocations: 43.98 kB / 1.112 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/1.005, allocations: 337.1 kB / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/1.005, allocations: 122.7 kB / 1.112 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/1.005, allocations: 56.84 kB / 1.112 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/1.005, allocations: 0 / 1.112 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/1.006, allocations: 212.7 kB / 1.112 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/1.006, allocations: 7.938 kB / 1.112 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006627/1.007, allocations: 218.5 kB / 1.113 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.007, allocations: 63.39 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/1.007, allocations: 255.4 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.91e-05/1.007, allocations: 41.7 kB / 1.113 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/1.007, allocations: 89.14 kB / 1.113 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/1.007, allocations: 39.52 kB / 1.113 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/1.007, allocations: 11.98 kB / 1.113 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.008, allocations: 326.8 kB / 1.113 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/1.008, allocations: 92.22 kB / 1.114 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/1.008, allocations: 150.4 kB / 1.114 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/1.009, allocations: 153.3 kB / 1.114 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.009, allocations: 3.938 kB / 1.114 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001088/1.01, allocations: 420.2 kB / 1.114 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/1.01, allocations: 76.5 kB / 1.114 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.01, allocations: 0 / 1.114 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.01, allocations: 4 kB / 1.114 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/1.01, allocations: 23.92 kB / 1.114 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.01, allocations: 7.984 kB / 1.114 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/1.011, allocations: 48.08 kB / 1.114 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.011, allocations: 57.47 kB / 1.114 GB, free: 4.254 MB / 0.7136 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 () * 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.0001725/1.011, allocations: 135.1 kB / 1.115 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/1.011, allocations: 23.72 kB / 1.115 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.809e-05/1.011, allocations: 34.02 kB / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.011, allocations: 0 / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.011, allocations: 3.984 kB / 1.115 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.012, allocations: 7.094 kB / 1.115 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/1.013, allocations: 0.5625 MB / 1.115 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.013, allocations: 0 / 1.115 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/1.013, allocations: 8 kB / 1.115 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/1.013, allocations: 0 / 1.115 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/1.013, allocations: 15.97 kB / 1.115 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.013, allocations: 4.875 kB / 1.115 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.013, allocations: 0 / 1.115 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/1.013, allocations: 323 kB / 1.116 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/1.014, allocations: 148.7 kB / 1.116 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.82e-05/1.014, allocations: 8 kB / 1.116 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/1.014, allocations: 15.98 kB / 1.116 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/1.014, allocations: 15.97 kB / 1.116 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/1.014, allocations: 29.8 kB / 1.116 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002835/1.015, allocations: 203.1 kB / 1.116 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/1.015, allocations: 4 kB / 1.116 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004673/1.015, allocations: 55.98 kB / 1.116 GB, free: 2.59 MB / 0.7136 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) * 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.0009948/1.016, allocations: 0.8701 MB / 1.117 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008302/1.017, allocations: 340.6 kB / 1.117 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.017, allocations: 8.125 kB / 1.117 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/1.017, allocations: 67.92 kB / 1.117 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/1.017, allocations: 26.64 kB / 1.117 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/1.018, allocations: 346 kB / 1.118 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/1.019, allocations: 0.7555 MB / 1.118 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002392/1.019, allocations: 29.22 kB / 1.118 GB, free: 60 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/1.019, allocations: 47.41 kB / 1.118 GB, free: 12 kB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.019, allocations: 0 / 1.118 GB, free: 12 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/1.047, allocations: 5.381 MB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/1.048, allocations: 171.4 kB / 1.124 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/3.289, allocations: 0 / 1.124 GB, free: 10.62 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)