Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_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.0009984/0.001003, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006124/0.006124, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.593/2.593, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 8.656 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.265, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001507/0.2665, allocations: 1.241 MB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2678, allocations: 0.5894 MB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.2678, allocations: 3.938 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.631e-05/0.2679, allocations: 7.922 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.268, allocations: 23.86 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.2687, allocations: 290.8 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.2692, allocations: 443.5 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.2692, allocations: 7.938 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.2697, allocations: 311 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.27, allocations: 167.2 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.2701, allocations: 12 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.2702, allocations: 16 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2703, allocations: 107.7 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.2705, allocations: 208.5 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.2709, allocations: 414.9 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2709, allocations: 4 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2709, allocations: 3.938 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2709, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 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.0009791/0.2719, allocations: 0.742 MB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2719, allocations: 11.97 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.272, allocations: 38.73 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.2721, allocations: 52.47 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.2725, allocations: 318.1 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.2725, allocations: 16.36 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/0.2726, allocations: 32.36 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009885/0.2736, allocations: 214 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2736, allocations: 11.94 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2737, allocations: 3.938 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2737, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.2745, allocations: 119.8 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.2749, allocations: 393.3 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.276, allocations: 186.5 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.2767, allocations: 116.8 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2768, allocations: 15.97 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009309/0.2777, allocations: 233.6 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.2777, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002517/0.2802, allocations: 0.5047 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.2803, allocations: 59.41 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.2807, allocations: 417.8 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.2807, allocations: 41.69 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.2808, allocations: 97.44 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.2809, allocations: 27.61 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.2809, allocations: 41.7 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.281, allocations: 322.8 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.2813, allocations: 119.9 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.2816, allocations: 169.9 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.2819, allocations: 282.4 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.2819, allocations: 4 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007543/0.2827, allocations: 493.9 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.2828, allocations: 95.31 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.2828, allocations: 3.984 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2828, allocations: 8.125 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.283, allocations: 23.98 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.283, allocations: 4 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.2835, allocations: 67.8 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.2836, allocations: 63.91 kB / 1.068 GB, free: 11.42 MB / 0.8262 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.2838, allocations: 188 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.2838, allocations: 43.41 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.2839, allocations: 47.73 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2839, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2839, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2839, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.286, allocations: 0.7698 MB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.286, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.2861, allocations: 11.98 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2861, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.2861, allocations: 15.98 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2861, allocations: 3.938 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2861, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.2878, allocations: 0.4948 MB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.288, allocations: 208.4 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.2881, allocations: 11.98 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.2886, allocations: 35.97 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.2886, allocations: 11.98 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.2887, allocations: 51.98 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002582/0.289, allocations: 299.1 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.289, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003289/0.2893, allocations: 67.98 kB / 1.07 GB, free: 9.086 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/0.2913, allocations: 1.042 MB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.2925, allocations: 454.5 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2925, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.2933, allocations: 127.9 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.2936, allocations: 25.86 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.2975, allocations: 2.892 MB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2978, allocations: 0.7711 MB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.459e-05/0.2978, allocations: 13.09 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.2979, allocations: 23.42 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of SimCode: time 1.443e-06/0.2979, allocations: 0 / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4797/0.7776, allocations: 5.934 MB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/0.778, allocations: 219.2 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.071, allocations: 4 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)