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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.00116/0.00116, allocations: 108 kB / 15.6 MB, free: 132 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.001161/0.001161, allocations: 191 kB / 16.53 MB, free: 6.391 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.176/1.176, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.519/1.519, allocations: 292.3 MB / 0.5489 GB, free: 13.51 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.001305/0.001305, allocations: 73.59 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1743, allocations: 114.5 MB / 0.7835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002587/0.177, allocations: 1.677 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.1779, allocations: 490.9 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.178, allocations: 4 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.1781, allocations: 7.875 kB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1782, allocations: 32.16 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1788, allocations: 278.7 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.1792, allocations: 415.4 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1793, allocations: 37.38 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1796, allocations: 223.6 kB / 0.7866 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1798, allocations: 116 kB / 0.7867 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-05/0.1799, allocations: 32 kB / 0.7867 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.18, allocations: 28 kB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1801, allocations: 91.72 kB / 0.7868 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1803, allocations: 155.3 kB / 0.787 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.1807, allocations: 438.6 kB / 0.7874 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1807, allocations: 0 / 0.7874 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1807, allocations: 0 / 0.7874 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.1807, allocations: 4 kB / 0.7874 GB, free: 9.473 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.001075/0.1818, allocations: 0.7772 MB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1818, allocations: 8.031 kB / 0.7882 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.1819, allocations: 42.73 kB / 0.7882 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.182, allocations: 36.56 kB / 0.7882 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1823, allocations: 284.2 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.1824, allocations: 24.11 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.1824, allocations: 20 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009388/0.1834, allocations: 227.9 kB / 0.7888 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1834, allocations: 0 / 0.7888 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1834, allocations: 8 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1834, allocations: 0 / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.1842, allocations: 115.9 kB / 0.7889 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1853, allocations: 0.5511 MB / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1863, allocations: 186.4 kB / 0.7896 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.187, allocations: 112.8 kB / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.187, allocations: 7.984 kB / 0.7897 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008828/0.1879, allocations: 223 kB / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1879, allocations: 0 / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002392/0.1903, allocations: 463.9 kB / 0.7904 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1904, allocations: 63.39 kB / 0.7904 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1907, allocations: 328.4 kB / 0.7907 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.1907, allocations: 33.7 kB / 0.7908 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.1908, allocations: 105 kB / 0.7909 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1908, allocations: 27.62 kB / 0.7909 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.191, allocations: 105.5 kB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.1911, allocations: 326.8 kB / 0.7913 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1913, allocations: 87.95 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1915, allocations: 158.6 kB / 0.7915 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.1918, allocations: 257.2 kB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1918, allocations: 0 / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006507/0.1925, allocations: 427.4 kB / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-05/0.1926, allocations: 79.39 kB / 0.7923 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1926, allocations: 0 / 0.7923 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1926, allocations: 7.938 kB / 0.7923 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1928, allocations: 28.09 kB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1928, allocations: 11.98 kB / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.1932, allocations: 59.8 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.1933, allocations: 39.98 kB / 0.7924 GB, free: 3.969 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.0001764/0.1935, allocations: 184.4 kB / 0.7926 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.1935, allocations: 31.62 kB / 0.7926 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1936, allocations: 30.3 kB / 0.7926 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1936, allocations: 4 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1936, allocations: 0 / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1936, allocations: 3.984 kB / 0.7927 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.1956, allocations: 0.7363 MB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1956, allocations: 0 / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1957, allocations: 4 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1957, allocations: 0 / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.1957, allocations: 23.95 kB / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1957, allocations: 0 / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1957, allocations: 0 / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1974, allocations: 454.8 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.1976, allocations: 188.6 kB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.1976, allocations: 23.98 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.1981, allocations: 31.97 kB / 0.7941 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.1981, allocations: 7.984 kB / 0.7941 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.1982, allocations: 47.97 kB / 0.7941 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001847/0.1984, allocations: 223 kB / 0.7943 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1984, allocations: 3.938 kB / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002979/0.1987, allocations: 55.91 kB / 0.7944 GB, free: 1.844 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.001897/0.2006, allocations: 1.016 MB / 0.7954 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.2017, allocations: 406.8 kB / 0.7958 GB, free: 388 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2017, allocations: 0 / 0.7958 GB, free: 388 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.2024, allocations: 119.9 kB / 0.7959 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2028, allocations: 43.38 kB / 0.7959 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.2061, allocations: 2.522 MB / 0.7984 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.2063, allocations: 0.7552 MB / 0.7991 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.862e-05/0.2064, allocations: 13.42 kB / 0.7991 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.2065, allocations: 30.42 kB / 0.7992 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2065, allocations: 0 / 0.7992 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.226, allocations: 5.26 MB / 0.8043 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.919, allocations: 11.31 kB / 0.8043 GB, free: 7.641 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)