Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009216/0.0009217, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008751/0.0008751, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.611/1.611, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0004824/0.0004826, allocations: 20.47 kB / 0.6736 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1856, allocations: 116.3 MB / 0.7872 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001534/0.1871, allocations: 1.359 MB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.188, allocations: 451.1 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.188, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.1881, allocations: 7.922 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.876e-05/0.1882, allocations: 35.83 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.1887, allocations: 218.7 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.189, allocations: 187.7 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.1891, allocations: 21.11 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1893, allocations: 183.5 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.1895, allocations: 135.7 kB / 0.7897 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.1896, allocations: 11.94 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.1896, allocations: 12 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.1897, allocations: 83.78 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.1898, allocations: 73.58 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1901, allocations: 327.5 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1901, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1901, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1901, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.6075 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.0008506/0.191, allocations: 0.6914 MB / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.191, allocations: 8.031 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.1911, allocations: 47.56 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1914, allocations: 263.2 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.1915, allocations: 16 kB / 0.7911 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.1916, allocations: 19.98 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.1925, allocations: 233.4 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1925, allocations: 7.938 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1925, allocations: 7.922 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1926, allocations: 3.938 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.1933, allocations: 127.9 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1943, allocations: 0.5627 MB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.1953, allocations: 194.4 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1953, allocations: 8 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008394/0.1962, allocations: 227.2 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1962, allocations: 0 / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002291/0.1985, allocations: 485.2 kB / 0.7929 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1985, allocations: 75.34 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.1988, allocations: 316.4 kB / 0.7933 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.1989, allocations: 33.7 kB / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.199, allocations: 105 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.199, allocations: 39.47 kB / 0.7935 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.199, allocations: 8 kB / 0.7935 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1991, allocations: 326.8 kB / 0.7938 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.1993, allocations: 87.95 kB / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1996, allocations: 153.4 kB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.1998, allocations: 166.1 kB / 0.7942 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1998, allocations: 4 kB / 0.7942 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006112/0.2004, allocations: 416.6 kB / 0.7946 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.2005, allocations: 75.39 kB / 0.7947 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2005, allocations: 4 kB / 0.7947 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2005, allocations: 0 / 0.7947 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2007, allocations: 27.91 kB / 0.7947 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2007, allocations: 4 kB / 0.7947 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.2011, allocations: 67.98 kB / 0.7948 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.688e-05/0.2012, allocations: 43.98 kB / 0.7948 GB, free: 3.746 MB / 0.6075 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.2014, allocations: 180.3 kB / 0.795 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.2014, allocations: 27.72 kB / 0.795 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.2015, allocations: 30.36 kB / 0.795 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2015, allocations: 3.984 kB / 0.795 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.2015, allocations: 7.984 kB / 0.7951 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2015, allocations: 0 / 0.7951 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.2035, allocations: 0.759 MB / 0.7958 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2035, allocations: 0 / 0.7958 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.2035, allocations: 12 kB / 0.7958 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2035, allocations: 0 / 0.7958 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.2036, allocations: 15.97 kB / 0.7958 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2036, allocations: 4 kB / 0.7958 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2036, allocations: 4 kB / 0.7958 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.2052, allocations: 474.8 kB / 0.7963 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.2054, allocations: 196.6 kB / 0.7965 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.2055, allocations: 16 kB / 0.7965 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.2059, allocations: 35.91 kB / 0.7965 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.206, allocations: 7.984 kB / 0.7965 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.206, allocations: 47.97 kB / 0.7966 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002029/0.2062, allocations: 227 kB / 0.7968 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2062, allocations: 4 kB / 0.7968 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003111/0.2066, allocations: 55.84 kB / 0.7968 GB, free: 1.566 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.2067, allocations: 131.6 kB / 0.797 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.2078, allocations: 406.5 kB / 0.7974 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2078, allocations: 4 kB / 0.7974 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.2085, allocations: 128.3 kB / 0.7975 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2088, allocations: 28.56 kB / 0.7975 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2101, allocations: 0.5501 MB / 0.798 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2104, allocations: 0.7618 MB / 0.7988 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.2105, allocations: 13.42 kB / 0.7988 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2105, allocations: 19.44 kB / 0.7988 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2105, allocations: 0 / 0.7988 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of Templates: time 0.006354/0.2169, allocations: 3.862 MB / 0.8026 GB, free: 11.62 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: