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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_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_8_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.0007519/0.0007519, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007923/0.0007923, allocations: 168.7 kB / 15.95 MB, free: 204 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.235/1.235, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.549/1.549, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004594/0.0004594, allocations: 15.53 kB / 0.6739 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001508/0.1923, allocations: 1.37 MB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000797/0.1931, allocations: 467.1 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.1931, allocations: 3.938 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.116e-05/0.1932, allocations: 7.875 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.1933, allocations: 27.84 kB / 0.7893 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.1939, allocations: 222.8 kB / 0.7895 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1942, allocations: 315.5 kB / 0.7898 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.1943, allocations: 29.09 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.1946, allocations: 243.5 kB / 0.79 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1948, allocations: 143.7 kB / 0.7902 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.1948, allocations: 8 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.1949, allocations: 12 kB / 0.7902 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.195, allocations: 79.78 kB / 0.7903 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.195, allocations: 77.52 kB / 0.7903 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1953, allocations: 335.5 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1953, allocations: 4 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1953, allocations: 0 / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1953, allocations: 0 / 0.7907 GB, free: 8.496 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.0007608/0.1961, allocations: 0.6837 MB / 0.7913 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1961, allocations: 8.031 kB / 0.7913 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.1962, allocations: 42.55 kB / 0.7914 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.1962, allocations: 39.58 kB / 0.7914 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1965, allocations: 275 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.1966, allocations: 20 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.1966, allocations: 27.98 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/0.1974, allocations: 232 kB / 0.7919 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1974, allocations: 4 kB / 0.7919 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.1975, allocations: 8 kB / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1975, allocations: 0 / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.1981, allocations: 123.9 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.199, allocations: 0.5628 MB / 0.7926 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.1998, allocations: 190.5 kB / 0.7928 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.2004, allocations: 124.8 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2005, allocations: 4 kB / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007384/0.2012, allocations: 237.9 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2012, allocations: 0 / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001977/0.2032, allocations: 493.1 kB / 0.7936 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2032, allocations: 55.41 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.2035, allocations: 312.5 kB / 0.794 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.2036, allocations: 45.69 kB / 0.794 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.2036, allocations: 108.9 kB / 0.7941 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2037, allocations: 35.59 kB / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.2037, allocations: 8 kB / 0.7942 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2038, allocations: 322.8 kB / 0.7945 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.204, allocations: 99.88 kB / 0.7946 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2042, allocations: 145.9 kB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.2044, allocations: 159.4 kB / 0.7949 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2044, allocations: 0 / 0.7949 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005707/0.205, allocations: 416.6 kB / 0.7952 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.2051, allocations: 79.56 kB / 0.7953 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2051, allocations: 8 kB / 0.7953 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2051, allocations: 0 / 0.7953 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2052, allocations: 23.92 kB / 0.7954 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2052, allocations: 4 kB / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.2056, allocations: 67.8 kB / 0.7954 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.2057, allocations: 43.98 kB / 0.7955 GB, free: 3.238 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.0001648/0.2059, allocations: 195.5 kB / 0.7957 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2059, allocations: 27.62 kB / 0.7957 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.206, allocations: 30.36 kB / 0.7957 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.206, allocations: 0 / 0.7957 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.206, allocations: 4 kB / 0.7957 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.206, allocations: 0 / 0.7957 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.2077, allocations: 0.7581 MB / 0.7965 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2077, allocations: 0 / 0.7965 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.2078, allocations: 7.984 kB / 0.7965 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2078, allocations: 0 / 0.7965 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.2078, allocations: 11.98 kB / 0.7965 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2078, allocations: 0 / 0.7965 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2078, allocations: 7.938 kB / 0.7965 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2092, allocations: 482.8 kB / 0.7969 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.2094, allocations: 184.7 kB / 0.7971 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.2094, allocations: 16 kB / 0.7971 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.2098, allocations: 47.95 kB / 0.7972 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.2099, allocations: 7.938 kB / 0.7972 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.2099, allocations: 43.97 kB / 0.7972 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001824/0.2101, allocations: 231 kB / 0.7974 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2101, allocations: 0 / 0.7974 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003054/0.2104, allocations: 55.89 kB / 0.7975 GB, free: 1.059 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.001636/0.2121, allocations: 1.032 MB / 0.7985 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000966/0.213, allocations: 414.5 kB / 0.7989 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.213, allocations: 0 / 0.7989 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.2137, allocations: 136.2 kB / 0.799 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.214, allocations: 34.45 kB / 0.7991 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2163, allocations: 1.312 MB / 0.8003 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2166, allocations: 0.7516 MB / 0.8011 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.357e-05/0.2167, allocations: 17.56 kB / 0.8011 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.2167, allocations: 35.42 kB / 0.8011 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.2167, allocations: 4 kB / 0.8011 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.2313, allocations: 5.059 MB / 0.8061 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.2314, allocations: 223.7 kB / 0.8063 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.798, allocations: 4 kB / 0.8063 GB, free: 8.098 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: