Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 114.1 kB / 16.37 MB, free: 5.996 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.001091/0.001091, allocations: 188.7 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 72.67 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2599, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002999/0.2629, allocations: 1.674 MB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2641, allocations: 491.2 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.2642, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.2643, allocations: 11.81 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2645, allocations: 36.16 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.2652, allocations: 278.6 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.2657, allocations: 419.4 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2658, allocations: 25.11 kB / 0.7877 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4329/0.6987, allocations: 226.7 kB / 0.7879 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.6992, allocations: 129 kB / 0.788 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.6993, allocations: 30.31 kB / 0.788 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.6994, allocations: 29.72 kB / 0.7881 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.6995, allocations: 96.86 kB / 0.7882 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.6997, allocations: 147.6 kB / 0.7883 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.7001, allocations: 433.4 kB / 0.7887 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7001, allocations: 0 / 0.7887 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7001, allocations: 0 / 0.7887 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.7001, allocations: 3.094 kB / 0.7887 GB, free: 46.68 MB / 0.6544 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.001024/0.7011, allocations: 0.7739 MB / 0.7895 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7012, allocations: 11.22 kB / 0.7895 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.123e-05/0.7013, allocations: 37.69 kB / 0.7895 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.7016, allocations: 276.3 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.7016, allocations: 13.88 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.7017, allocations: 25.94 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.7026, allocations: 225.5 kB / 0.79 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7026, allocations: 0 / 0.79 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.7026, allocations: 2.375 kB / 0.79 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7026, allocations: 6.719 kB / 0.79 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.7033, allocations: 117.7 kB / 0.7901 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.7043, allocations: 0.5549 MB / 0.7907 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.7053, allocations: 182.7 kB / 0.7909 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.7059, allocations: 112.7 kB / 0.791 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.706, allocations: 2.75 kB / 0.791 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008134/0.7068, allocations: 226.5 kB / 0.7912 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.7068, allocations: 0 / 0.7912 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002322/0.7091, allocations: 458.6 kB / 0.7916 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.7092, allocations: 62.88 kB / 0.7917 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.7095, allocations: 325.4 kB / 0.792 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.7095, allocations: 37.83 kB / 0.792 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.7096, allocations: 103.9 kB / 0.7921 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.7096, allocations: 36.88 kB / 0.7922 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.7098, allocations: 102 kB / 0.7923 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.7098, allocations: 321.5 kB / 0.7926 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.71, allocations: 96.55 kB / 0.7927 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.7102, allocations: 152.4 kB / 0.7928 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.7105, allocations: 254.6 kB / 0.7931 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7105, allocations: 0 / 0.7931 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005477/0.7111, allocations: 417.6 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.7111, allocations: 80.45 kB / 0.7935 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7111, allocations: 3.469 kB / 0.7935 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7112, allocations: 0 / 0.7935 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.7113, allocations: 26.39 kB / 0.7936 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.7113, allocations: 7.078 kB / 0.7936 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.7118, allocations: 52.41 kB / 0.7936 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.7118, allocations: 42.05 kB / 0.7937 GB, free: 44.36 MB / 0.6544 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.0001683/0.712, allocations: 191.3 kB / 0.7938 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.7121, allocations: 29.09 kB / 0.7939 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.7121, allocations: 31.98 kB / 0.7939 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7121, allocations: 3.5 kB / 0.7939 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7121, allocations: 4.438 kB / 0.7939 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7121, allocations: 0 / 0.7939 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.714, allocations: 0.7321 MB / 0.7946 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.714, allocations: 0.5 kB / 0.7946 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.714, allocations: 6.969 kB / 0.7946 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7141, allocations: 3.938 kB / 0.7946 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.7141, allocations: 24.3 kB / 0.7947 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.7141, allocations: 0 / 0.7947 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7141, allocations: 0 / 0.7947 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.7156, allocations: 457.7 kB / 0.7951 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.7158, allocations: 189.7 kB / 0.7953 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.7158, allocations: 20.73 kB / 0.7953 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.7163, allocations: 32.5 kB / 0.7953 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.7163, allocations: 9.969 kB / 0.7953 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.7164, allocations: 40.38 kB / 0.7954 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001823/0.7166, allocations: 231.3 kB / 0.7956 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7166, allocations: 1.5 kB / 0.7956 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003556/0.7169, allocations: 55.81 kB / 0.7956 GB, free: 43.56 MB / 0.6544 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.0001554/0.7171, allocations: 127.5 kB / 0.7958 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.7182, allocations: 401.9 kB / 0.7961 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7182, allocations: 0 / 0.7961 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006937/0.7189, allocations: 120 kB / 0.7963 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.7193, allocations: 38.33 kB / 0.7963 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.7206, allocations: 0.4929 MB / 0.7968 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.7209, allocations: 0.7551 MB / 0.7975 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.7209, allocations: 17.45 kB / 0.7975 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.162e-06/0.7209, allocations: 1.219 kB / 0.7975 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.006769/0.7277, allocations: 3.18 MB / 0.8006 GB, free: 42.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)