Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001178/0.001178, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.5678, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00244/0.5703, allocations: 1.586 MB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.5715, allocations: 0.5871 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.5716, allocations: 4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.5717, allocations: 3.938 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.5719, allocations: 19.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.5726, allocations: 292.6 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.573, allocations: 451.4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.5731, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.5736, allocations: 303 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.5739, allocations: 167.1 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.574, allocations: 12 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.5741, allocations: 16 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.5743, allocations: 115.6 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.5745, allocations: 186.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.5749, allocations: 420.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5749, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5749, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5749, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 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.001202/0.5762, allocations: 0.8626 MB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5762, allocations: 12.03 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.5763, allocations: 38.73 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.5764, allocations: 60.41 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.5767, allocations: 310.2 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.5768, allocations: 12.38 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.5768, allocations: 28.36 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/0.5778, allocations: 213.9 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5778, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.5778, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5778, allocations: 8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.5786, allocations: 99.86 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.579, allocations: 389.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.58, allocations: 182.4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.5808, allocations: 108.8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.5808, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.5817, allocations: 241.6 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.5817, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002476/0.5842, allocations: 477 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.5843, allocations: 59.39 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.5846, allocations: 413.8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.5847, allocations: 41.69 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.5847, allocations: 89.45 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.5848, allocations: 47.53 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.585, allocations: 133.2 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.5851, allocations: 322.8 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.5853, allocations: 127.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.5856, allocations: 161.9 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.5859, allocations: 275.5 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5859, allocations: 3.938 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007606/0.5867, allocations: 496.6 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/0.5868, allocations: 91.31 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.5868, allocations: 4 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.5868, allocations: 0 / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.587, allocations: 23.92 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.587, allocations: 7.984 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.5875, allocations: 67.92 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/0.5875, allocations: 63.98 kB / 1.026 GB, free: 8.918 MB / 0.7794 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.0001876/0.5877, allocations: 194 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.5878, allocations: 43.45 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.5879, allocations: 39.75 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5879, allocations: 4 kB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5879, allocations: 0 / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5879, allocations: 4 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.5899, allocations: 0.7483 MB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5899, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.59, allocations: 8 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.59, allocations: 0 / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.59, allocations: 19.97 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.59, allocations: 0 / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.59, allocations: 0 / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.5917, allocations: 476.4 kB / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.5919, allocations: 204.4 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.592, allocations: 8 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.5925, allocations: 32.84 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.5925, allocations: 11.92 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.5926, allocations: 55.97 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002408/0.5928, allocations: 303 kB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5928, allocations: 0 / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003238/0.5932, allocations: 71.98 kB / 1.028 GB, free: 6.625 MB / 0.7794 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.001884/0.5951, allocations: 1.022 MB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.5962, allocations: 443.7 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5962, allocations: 0 / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.597, allocations: 120.8 kB / 1.03 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.5973, allocations: 21.55 kB / 1.03 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.601, allocations: 2.892 MB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.6013, allocations: 0.7826 MB / 1.033 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.537e-05/0.6013, allocations: 9.094 kB / 1.033 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.6014, allocations: 27.42 kB / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6014, allocations: 0 / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.651/3.253, allocations: 6.018 MB / 1.039 GB, free: 11.09 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/3.253, allocations: 214.5 kB / 1.039 GB, free: 10.84 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/5.231, allocations: 2.25 kB / 1.039 GB, free: 10.84 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)