Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001265/0.001265, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.095/2.095, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 75.88 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4844, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00231/0.4867, allocations: 1.801 MB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.4878, allocations: 0.6884 MB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.4879, allocations: 1.344 kB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.447e-05/0.488, allocations: 7.922 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.4881, allocations: 35.81 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.4887, allocations: 332.4 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.4891, allocations: 0.5319 MB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.4892, allocations: 33.83 kB / 0.9524 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.4895, allocations: 311.4 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.4898, allocations: 176.2 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.4899, allocations: 15.72 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/0.49, allocations: 14.41 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4901, allocations: 120.4 kB / 0.953 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.4903, allocations: 206.3 kB / 0.9532 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.4907, allocations: 0.5726 MB / 0.9538 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4907, allocations: 3.984 kB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.52e-07/0.4907, allocations: 3.938 kB / 0.9538 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4907, allocations: 0 / 0.9538 GB, free: 5.801 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001073/0.4918, allocations: 0.9094 MB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4918, allocations: 7.719 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.4919, allocations: 41.7 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.492, allocations: 56.34 kB / 0.9548 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.4923, allocations: 335.7 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.4924, allocations: 21.06 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.4925, allocations: 32.58 kB / 0.9551 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4935, allocations: 243 kB / 0.9554 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4935, allocations: 0 / 0.9554 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.4935, allocations: 6.328 kB / 0.9554 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4936, allocations: 1.188 kB / 0.9554 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.4944, allocations: 117.1 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4955, allocations: 0.6772 MB / 0.9562 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.4965, allocations: 184 kB / 0.9563 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007644/0.4973, allocations: 112.1 kB / 0.9564 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.4973, allocations: 6.688 kB / 0.9564 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009141/0.4982, allocations: 237.5 kB / 0.9567 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4982, allocations: 0 / 0.9567 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00249/0.5007, allocations: 498.3 kB / 0.9571 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.5008, allocations: 64.34 kB / 0.9572 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.5011, allocations: 439.7 kB / 0.9576 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.5012, allocations: 45.81 kB / 0.9577 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.5012, allocations: 105.7 kB / 0.9578 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.5013, allocations: 42.06 kB / 0.9578 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.5014, allocations: 136.5 kB / 0.9579 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.5015, allocations: 330.2 kB / 0.9583 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.5018, allocations: 140.1 kB / 0.9584 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.502, allocations: 193.1 kB / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.5024, allocations: 307.3 kB / 0.9589 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5024, allocations: 0 / 0.9589 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000761/0.5031, allocations: 0.5201 MB / 0.9594 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.5032, allocations: 93.38 kB / 0.9595 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5032, allocations: 2.5 kB / 0.9595 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5032, allocations: 6.578 kB / 0.9595 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.5034, allocations: 25.8 kB / 0.9595 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.5034, allocations: 3.469 kB / 0.9595 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.5039, allocations: 66.11 kB / 0.9596 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.504, allocations: 60.94 kB / 0.9596 GB, free: 1.516 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.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.0001767/0.5042, allocations: 216.3 kB / 0.9598 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.5042, allocations: 40.91 kB / 0.9599 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.5043, allocations: 45.47 kB / 0.9599 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5043, allocations: 1.75 kB / 0.9599 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5043, allocations: 0 / 0.9599 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5043, allocations: 5 kB / 0.9599 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.5062, allocations: 0.7882 MB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5063, allocations: 0 / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.5063, allocations: 4.281 kB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5063, allocations: 4 kB / 0.9607 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.5063, allocations: 24.56 kB / 0.9607 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5063, allocations: 1.281 kB / 0.9607 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5063, allocations: 0 / 0.9607 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.508, allocations: 485.4 kB / 0.9612 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.5082, allocations: 239.2 kB / 0.9614 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.5083, allocations: 31.52 kB / 0.9614 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.5087, allocations: 26.94 kB / 0.9615 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.5088, allocations: 8.328 kB / 0.9615 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.5088, allocations: 58.08 kB / 0.9615 GB, free: 200 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002673/0.5091, allocations: 326.1 kB / 0.9618 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5091, allocations: 0 / 0.9618 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003275/0.5095, allocations: 68.77 kB / 0.9619 GB, free: 15.98 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.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.001998/0.5115, allocations: 1.036 MB / 0.9629 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.5127, allocations: 472.4 kB / 0.9634 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5127, allocations: 4.125 kB / 0.9634 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007722/0.5135, allocations: 121.7 kB / 0.9635 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.5139, allocations: 43.09 kB / 0.9635 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.5181, allocations: 3.115 MB / 0.9666 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.5185, allocations: 0.7882 MB / 0.9673 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.176e-05/0.5186, allocations: 17.55 kB / 0.9674 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.5186, allocations: 30.23 kB / 0.9674 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5186, allocations: 0 / 0.9674 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.569/2.088, allocations: 6.631 MB / 0.9739 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000329/2.088, allocations: 242.5 kB / 0.9741 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/3.744, allocations: 0 / 0.9741 GB, free: 7.832 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)