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.0009536/0.0009536, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009663/0.0009664, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.186/1.186, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.538/1.538, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.00128/0.00128, allocations: 69.66 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002444/0.1667, allocations: 1.685 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.1675, allocations: 480.3 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.1676, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.754e-05/0.1677, allocations: 7.875 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.1678, allocations: 32.17 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.1684, allocations: 279.4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.1687, allocations: 411.5 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.1688, allocations: 33.38 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.1691, allocations: 223.6 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1692, allocations: 120 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.1693, allocations: 32 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.1694, allocations: 28 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.1695, allocations: 95.66 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1696, allocations: 151.3 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.17, allocations: 434.6 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.17, allocations: 3.938 kB / 0.7874 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.17, allocations: 7.984 kB / 0.7874 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.17, allocations: 0 / 0.7874 GB, free: 9.379 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.0009251/0.1709, allocations: 0.7773 MB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.171, allocations: 8.031 kB / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.171, allocations: 42.73 kB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.1711, allocations: 36.56 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1714, allocations: 280.2 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.1715, allocations: 20.11 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.1715, allocations: 23.94 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.1725, allocations: 232.1 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1725, allocations: 0 / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.1725, allocations: 4 kB / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1725, allocations: 0 / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.1733, allocations: 111.9 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.1743, allocations: 0.5667 MB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.1753, allocations: 181.2 kB / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/0.176, allocations: 108.8 kB / 0.7897 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.176, allocations: 4 kB / 0.7897 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008617/0.1769, allocations: 227 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1769, allocations: 0 / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002329/0.1792, allocations: 463.5 kB / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1793, allocations: 67.38 kB / 0.7904 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1796, allocations: 324.4 kB / 0.7907 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.1796, allocations: 33.7 kB / 0.7908 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.1797, allocations: 105 kB / 0.7909 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1797, allocations: 27.62 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1799, allocations: 109.5 kB / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.18, allocations: 326.8 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1802, allocations: 91.94 kB / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1804, allocations: 150.5 kB / 0.7915 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.1807, allocations: 257.3 kB / 0.7918 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1807, allocations: 4 kB / 0.7918 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006078/0.1813, allocations: 427.1 kB / 0.7922 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.1814, allocations: 85.89 kB / 0.7923 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1814, allocations: 0 / 0.7923 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1814, allocations: 7.938 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1816, allocations: 19.97 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1816, allocations: 7.938 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.182, allocations: 67.84 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.1821, allocations: 43.98 kB / 0.7924 GB, free: 3.871 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.0001604/0.1822, allocations: 176.4 kB / 0.7926 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.1823, allocations: 27.62 kB / 0.7926 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.1823, allocations: 30.3 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1824, allocations: 4 kB / 0.7926 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1824, allocations: 3.984 kB / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1824, allocations: 7.922 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.1843, allocations: 0.7324 MB / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1843, allocations: 0 / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.1843, allocations: 8 kB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1843, allocations: 7.938 kB / 0.7934 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1844, allocations: 15.97 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1844, allocations: 0 / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1844, allocations: 0 / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.186, allocations: 458.9 kB / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.1862, allocations: 184.7 kB / 0.794 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.1862, allocations: 19.98 kB / 0.794 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.1867, allocations: 27.97 kB / 0.7941 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.1867, allocations: 7.984 kB / 0.7941 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.1868, allocations: 47.97 kB / 0.7941 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00018/0.187, allocations: 231 kB / 0.7943 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.187, allocations: 4 kB / 0.7943 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002923/0.1873, allocations: 51.91 kB / 0.7944 GB, free: 1.754 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.001854/0.1891, allocations: 1.015 MB / 0.7954 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.1902, allocations: 406.8 kB / 0.7958 GB, free: 296 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1902, allocations: 4.375 kB / 0.7958 GB, free: 292 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.1909, allocations: 115.9 kB / 0.7959 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1913, allocations: 38.11 kB / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.1945, allocations: 2.526 MB / 0.7984 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1947, allocations: 0.7513 MB / 0.7991 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.745e-05/0.1948, allocations: 21.36 kB / 0.7991 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1949, allocations: 27.42 kB / 0.7992 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.1949, allocations: 4 kB / 0.7992 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/0.5942, allocations: 5.257 MB / 0.8043 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/8.202, allocations: 8.812 kB / 0.8043 GB, free: 7.555 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)