Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_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.001495/0.001495, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.00197/0.00197, allocations: 195.9 kB / 16.25 MB, free: 6.633 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.449/2.449, allocations: 437 MB / 0.7101 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 71.89 kB / 0.8689 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6528, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002727/0.6555, allocations: 1.795 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.6567, allocations: 0.6207 MB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.6568, allocations: 4 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.802e-05/0.6569, allocations: 11.86 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.657, allocations: 27.84 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.6578, allocations: 339.4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.6584, allocations: 0.636 MB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.6585, allocations: 36.88 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.659, allocations: 371.1 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.6593, allocations: 183.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.6594, allocations: 43.94 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.6595, allocations: 40 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.6596, allocations: 131.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.6599, allocations: 222.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005056/0.6604, allocations: 0.6095 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6604, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6604, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.6604, allocations: 4 kB / 1.022 GB, free: 13.62 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001169/0.6616, allocations: 0.9015 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6616, allocations: 12.03 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.6617, allocations: 42.73 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.6618, allocations: 52.38 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.6621, allocations: 342.1 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.6622, allocations: 24.55 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.6623, allocations: 32.36 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.6633, allocations: 241.7 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.6633, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.6633, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6633, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.6641, allocations: 117.6 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.6653, allocations: 0.6759 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.6663, allocations: 182.5 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007482/0.6671, allocations: 116.8 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.6671, allocations: 3.938 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009281/0.668, allocations: 237.1 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.6681, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002514/0.6706, allocations: 492.9 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.6706, allocations: 59.41 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.671, allocations: 445.8 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.6711, allocations: 41.69 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.6712, allocations: 113.3 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.6713, allocations: 35.55 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.6715, allocations: 133.3 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.6716, allocations: 334.7 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.6718, allocations: 139.9 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.6721, allocations: 197.9 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.6725, allocations: 302.9 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6725, allocations: 0 / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008224/0.6734, allocations: 0.524 MB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/0.6735, allocations: 92.62 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6735, allocations: 7.984 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6735, allocations: 0 / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.6737, allocations: 27.92 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6737, allocations: 4 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.6742, allocations: 63.97 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/0.6743, allocations: 63.92 kB / 1.028 GB, free: 7.293 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002244/0.6745, allocations: 220.3 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.6745, allocations: 35.53 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.6746, allocations: 43.78 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6746, allocations: 4 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6746, allocations: 4 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6746, allocations: 3.938 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.6767, allocations: 0.7849 MB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6767, allocations: 4 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.6768, allocations: 4 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6768, allocations: 0 / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.6768, allocations: 23.91 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6769, allocations: 8 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6769, allocations: 0 / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.6786, allocations: 478.8 kB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.6789, allocations: 244.4 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.6789, allocations: 23.94 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.6794, allocations: 27.91 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.6795, allocations: 7.984 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.6795, allocations: 67.97 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002916/0.6798, allocations: 319.1 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6798, allocations: 0 / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003618/0.6802, allocations: 67.98 kB / 1.03 GB, free: 4.852 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002064/0.6823, allocations: 1.049 MB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.6836, allocations: 483.9 kB / 1.031 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6836, allocations: 3.938 kB / 1.031 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007699/0.6844, allocations: 129 kB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.6848, allocations: 38.17 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.6894, allocations: 3.115 MB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.6898, allocations: 0.7901 MB / 1.035 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.6899, allocations: 17.42 kB / 1.035 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.6899, allocations: 31.42 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.6899, allocations: 0 / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.7069, allocations: 6.802 MB / 1.042 GB, free: 8.277 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.7072, allocations: 224.8 kB / 1.042 GB, free: 8.027 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.443, allocations: 3.75 kB / 1.042 GB, free: 8.027 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)