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.0009596/0.0009596, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009808/0.0009808, allocations: 190.7 kB / 16.25 MB, free: 6.59 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.21/1.21, allocations: 205.1 MB / 222.1 MB, free: 4.574 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.536/1.536, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001347/0.001347, allocations: 66.19 kB / 0.6711 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.17, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002659/0.1727, allocations: 1.748 MB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008689/0.1736, allocations: 475.2 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.1737, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.484e-05/0.1738, allocations: 11.92 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1739, allocations: 28.22 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.1746, allocations: 263.5 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.175, allocations: 415.8 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.1751, allocations: 25.39 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.1754, allocations: 278.2 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1756, allocations: 143.5 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.1757, allocations: 32 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.1758, allocations: 32 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.1759, allocations: 95.7 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.176, allocations: 155.3 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.1764, allocations: 434.6 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1764, allocations: 7.875 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1764, allocations: 0 / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1764, allocations: 0 / 0.787 GB, free: 9.691 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.001018/0.1774, allocations: 0.7771 MB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1775, allocations: 12.03 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1775, allocations: 42.55 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.1776, allocations: 35.62 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1779, allocations: 274.9 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.178, allocations: 19.98 kB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.178, allocations: 23.94 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/0.179, allocations: 233.3 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.179, allocations: 0 / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.179, allocations: 0 / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1791, allocations: 4 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.1798, allocations: 111.9 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1808, allocations: 0.5628 MB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.1818, allocations: 182.4 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007147/0.1825, allocations: 120.8 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1826, allocations: 0 / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008651/0.1834, allocations: 231 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.1834, allocations: 0 / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002284/0.1857, allocations: 457 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1858, allocations: 63.39 kB / 0.79 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.1861, allocations: 324.3 kB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.1862, allocations: 37.7 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.1862, allocations: 93.05 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1863, allocations: 39.59 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.1864, allocations: 105.5 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.1865, allocations: 326.8 kB / 0.7909 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1867, allocations: 95.95 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1869, allocations: 146.5 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.1872, allocations: 259.8 kB / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1872, allocations: 0 / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006154/0.1879, allocations: 428.8 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/0.1879, allocations: 75.39 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1879, allocations: 4 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.188, allocations: 0 / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1881, allocations: 19.98 kB / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1881, allocations: 11.92 kB / 0.7919 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.1886, allocations: 51.81 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.1886, allocations: 48.02 kB / 0.792 GB, free: 4.199 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 (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.0001601/0.1888, allocations: 180.4 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.1889, allocations: 27.62 kB / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.1889, allocations: 30.36 kB / 0.7922 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1889, allocations: 0 / 0.7922 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1889, allocations: 4 kB / 0.7922 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1889, allocations: 7.875 kB / 0.7922 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.1908, allocations: 0.7313 MB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1909, allocations: 0 / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.1909, allocations: 11.97 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1909, allocations: 7.875 kB / 0.793 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.1909, allocations: 23.97 kB / 0.793 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.191, allocations: 0 / 0.793 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.191, allocations: 3.984 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.1925, allocations: 450.9 kB / 0.7934 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.1927, allocations: 192.6 kB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.1928, allocations: 23.92 kB / 0.7936 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.1932, allocations: 27.97 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1933, allocations: 15.98 kB / 0.7937 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.1933, allocations: 35.98 kB / 0.7937 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001873/0.1935, allocations: 235 kB / 0.7939 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1935, allocations: 4 kB / 0.7939 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002949/0.1938, allocations: 51.91 kB / 0.794 GB, free: 2.062 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 (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.001886/0.1957, allocations: 1.016 MB / 0.795 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.1968, allocations: 402.5 kB / 0.7954 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1968, allocations: 384 / 0.7954 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.1975, allocations: 115.9 kB / 0.7955 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.1979, allocations: 41.36 kB / 0.7955 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.2011, allocations: 2.614 MB / 0.7981 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.2014, allocations: 0.7481 MB / 0.7988 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.343e-05/0.2015, allocations: 17.42 kB / 0.7988 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.2016, allocations: 31.42 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.2016, allocations: 0 / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.546/0.7476, allocations: 5.252 MB / 0.804 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.7478, allocations: 233.8 kB / 0.8042 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.534, allocations: 0 / 0.8042 GB, free: 7.578 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/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)