Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.000869/0.0008693, allocations: 97.64 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.004967/0.004967, allocations: 170.1 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 6.531 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2667, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001425/0.2682, allocations: 1.241 MB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2693, allocations: 0.5892 MB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.2694, allocations: 4 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.33e-05/0.2695, allocations: 11.86 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.2696, allocations: 19.92 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.2702, allocations: 278.3 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.2705, allocations: 451.4 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.2706, allocations: 11.98 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.271, allocations: 303 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.2712, allocations: 167.2 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.2713, allocations: 12 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.2713, allocations: 16 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2714, allocations: 115.6 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2716, allocations: 208.5 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.272, allocations: 410.9 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.272, allocations: 3.938 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.272, allocations: 4 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.272, allocations: 0 / 1.062 GB, free: 1.047 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.0009119/0.2729, allocations: 0.7459 MB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.273, allocations: 15.97 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.273, allocations: 38.73 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.512e-05/0.2731, allocations: 52.47 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2734, allocations: 310.2 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.2735, allocations: 20.36 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.2736, allocations: 36.36 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.2745, allocations: 217.9 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2745, allocations: 3.938 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.2746, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2746, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.2753, allocations: 111.9 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.2757, allocations: 389.2 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.2768, allocations: 194.5 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.2775, allocations: 116.8 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.2776, allocations: 7.984 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008989/0.2785, allocations: 242 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.2785, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002509/0.281, allocations: 0.5048 MB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.281, allocations: 55.41 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.2814, allocations: 421.8 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.2815, allocations: 41.69 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.2815, allocations: 97.42 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.2816, allocations: 31.61 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.2817, allocations: 37.7 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.2818, allocations: 326.8 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.282, allocations: 119.9 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.2823, allocations: 177.8 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.2826, allocations: 274.8 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2826, allocations: 4 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007368/0.2834, allocations: 493.5 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.2835, allocations: 91.31 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2835, allocations: 7.984 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2835, allocations: 7.938 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2837, allocations: 19.92 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.2837, allocations: 8.188 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.2843, allocations: 67.73 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.2844, allocations: 67.97 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.0001966/0.2846, allocations: 192 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.2846, allocations: 43.45 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.2847, allocations: 47.73 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2847, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2847, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2847, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.2868, allocations: 0.7637 MB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2868, allocations: 3.938 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.2869, allocations: 7.984 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2869, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.2869, allocations: 15.98 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2869, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2869, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.2886, allocations: 0.4938 MB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.2889, allocations: 200.4 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.2889, allocations: 19.92 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.2894, allocations: 35.97 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.2895, allocations: 11.98 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.2895, allocations: 51.98 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002516/0.2898, allocations: 299.1 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2898, allocations: 3.938 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003307/0.2901, allocations: 71.98 kB / 1.07 GB, free: 9.082 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.001983/0.2921, allocations: 1.036 MB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.2933, allocations: 446.7 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2933, allocations: 4.062 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.2941, allocations: 131.8 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.0003413/0.2945, allocations: 27.64 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.003787/0.2983, allocations: 2.899 MB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2986, allocations: 0.771 MB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.78e-05/0.2986, allocations: 13.09 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.2987, allocations: 27.42 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2987, allocations: 0 / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/0.6315, allocations: 5.922 MB / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.6318, allocations: 215.8 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.37, allocations: 0 / 1.081 GB, free: 13.38 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)