Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_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.0008636/0.0008636, 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.005051/0.005051, allocations: 169.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.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5393, allocations: 142.4 MB / 0.9552 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001205/0.5405, allocations: 1.23 MB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.5415, allocations: 0.5862 MB / 0.9569 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.5415, allocations: 0 / 0.9569 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.825e-05/0.5416, allocations: 9.016 kB / 0.9569 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.056e-05/0.5417, allocations: 27.44 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.5423, allocations: 278.2 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.5426, allocations: 452 kB / 0.9577 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.5426, allocations: 13.33 kB / 0.9577 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.543, allocations: 299.7 kB / 0.958 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.5432, allocations: 163.2 kB / 0.9581 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.5432, allocations: 13.12 kB / 0.9581 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.5433, allocations: 13.75 kB / 0.9581 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.956e-05/0.5434, allocations: 119.7 kB / 0.9583 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.5436, allocations: 205.5 kB / 0.9585 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.5439, allocations: 412.8 kB / 0.9589 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.5439, allocations: 0 / 0.9589 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5439, allocations: 1.375 kB / 0.9589 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.5439, allocations: 4 kB / 0.9589 GB, free: 5.016 MB / 0.7169 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.0007407/0.5446, allocations: 0.7499 MB / 0.9596 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5447, allocations: 9.625 kB / 0.9596 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.5447, allocations: 41.48 kB / 0.9596 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/0.5448, allocations: 50.72 kB / 0.9597 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.5451, allocations: 305.2 kB / 0.96 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.5451, allocations: 19.36 kB / 0.96 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.5452, allocations: 34.36 kB / 0.96 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009742/0.5462, allocations: 224.3 kB / 0.9602 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5462, allocations: 5.312 kB / 0.9602 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.5462, allocations: 7.969 kB / 0.9603 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5462, allocations: 10.31 kB / 0.9603 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.547, allocations: 108.2 kB / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.5474, allocations: 387.9 kB / 0.9607 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.5484, allocations: 191.2 kB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/0.5491, allocations: 129.5 kB / 0.961 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.5492, allocations: 2.25 kB / 0.961 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/0.55, allocations: 229.9 kB / 0.9613 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.5501, allocations: 0.9688 kB / 0.9613 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00244/0.5525, allocations: 0.5088 MB / 0.9618 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5525, allocations: 60.12 kB / 0.9618 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.5529, allocations: 417.4 kB / 0.9622 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.5529, allocations: 45.36 kB / 0.9623 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.553, allocations: 92.12 kB / 0.9623 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.553, allocations: 45.66 kB / 0.9624 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.5531, allocations: 35.86 kB / 0.9624 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.5532, allocations: 325.2 kB / 0.9627 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.5534, allocations: 120.7 kB / 0.9629 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.5536, allocations: 170.7 kB / 0.963 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.5539, allocations: 285.4 kB / 0.9633 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.554, allocations: 0 / 0.9633 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007108/0.5547, allocations: 488.5 kB / 0.9638 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.5547, allocations: 92.38 kB / 0.9638 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5548, allocations: 1.812 kB / 0.9638 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5548, allocations: 2.312 kB / 0.9638 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5549, allocations: 22.3 kB / 0.9639 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5549, allocations: 6.594 kB / 0.9639 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.5554, allocations: 66.45 kB / 0.9639 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.5555, allocations: 65.12 kB / 0.964 GB, free: 1.258 MB / 0.7169 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.00018/0.5557, allocations: 195.9 kB / 0.9642 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.5557, allocations: 45.59 kB / 0.9642 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.5558, allocations: 42.52 kB / 0.9643 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5558, allocations: 2.062 kB / 0.9643 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5558, allocations: 0 / 0.9643 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5558, allocations: 0.9375 kB / 0.9643 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.5578, allocations: 0.7689 MB / 0.965 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5578, allocations: 1.375 kB / 0.965 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.5578, allocations: 6.672 kB / 0.965 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5578, allocations: 1.312 kB / 0.965 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.5579, allocations: 19.95 kB / 0.965 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5579, allocations: 5.359 kB / 0.9651 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5579, allocations: 3.984 kB / 0.9651 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5595, allocations: 0.4899 MB / 0.9655 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.5597, allocations: 203.4 kB / 0.9657 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.5598, allocations: 13.92 kB / 0.9657 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.5602, allocations: 31.75 kB / 0.9658 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.5603, allocations: 12.14 kB / 0.9658 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.5603, allocations: 58.19 kB / 0.9658 GB, free: 20 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002892/0.5606, allocations: 297.4 kB / 0.9661 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5606, allocations: 0.8438 kB / 0.9661 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003238/0.561, allocations: 66.22 kB / 0.9662 GB, free: 15.83 MB / 0.7325 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.001994/0.563, allocations: 1.043 MB / 0.9672 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.5642, allocations: 442.9 kB / 0.9676 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5642, allocations: 4.062 kB / 0.9676 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.565, allocations: 130.9 kB / 0.9678 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.5653, allocations: 28.27 kB / 0.9678 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.5692, allocations: 2.91 MB / 0.9706 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.5695, allocations: 0.7676 MB / 0.9714 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.502e-05/0.5696, allocations: 16.39 kB / 0.9714 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.5696, allocations: 21.31 kB / 0.9714 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.5696, allocations: 1.094 kB / 0.9714 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.585, allocations: 5.923 MB / 0.9772 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.5852, allocations: 202 kB / 0.9774 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.18, allocations: 0 / 0.9774 GB, free: 7.867 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)