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.001163/0.001163, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001231/0.001231, allocations: 192.7 kB / 16.25 MB, free: 6.156 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.189/1.189, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.507/1.507, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001273/0.001273, allocations: 69.98 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1667, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002614/0.1693, allocations: 1.752 MB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000875/0.1702, allocations: 475.2 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.1703, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.65e-05/0.1704, allocations: 7.922 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1705, allocations: 20.23 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.1712, allocations: 267.6 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.1716, allocations: 411.8 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.1717, allocations: 33.36 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.1721, allocations: 270.2 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1723, allocations: 143.5 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.206e-05/0.1724, allocations: 28 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.963e-05/0.1725, allocations: 32 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.1726, allocations: 91.7 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1727, allocations: 167.2 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.1731, allocations: 446.5 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1731, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1731, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1731, allocations: 0 / 0.787 GB, free: 9.668 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.001052/0.1742, allocations: 0.7654 MB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1742, allocations: 12.03 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.1743, allocations: 42.55 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/0.1744, allocations: 39.62 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1747, allocations: 282.8 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.1747, allocations: 23.94 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.1748, allocations: 16 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008874/0.1757, allocations: 229.3 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1757, allocations: 0 / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1757, allocations: 7.984 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1758, allocations: 8 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.1765, allocations: 107.9 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1775, allocations: 0.5589 MB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009661/0.1785, allocations: 182.4 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.1792, allocations: 120.5 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1792, allocations: 0 / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008915/0.1801, allocations: 233.8 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.945e-06/0.1801, allocations: 4 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002332/0.1825, allocations: 449.1 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1825, allocations: 71.38 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.1828, allocations: 324.3 kB / 0.7903 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.1829, allocations: 41.7 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.1829, allocations: 97.03 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.183, allocations: 35.61 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.1831, allocations: 101.5 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.1832, allocations: 318.8 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1834, allocations: 99.94 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1837, allocations: 150.5 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.184, allocations: 256 kB / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.184, allocations: 0 / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006293/0.1846, allocations: 428.6 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.1847, allocations: 78.05 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1847, allocations: 4 kB / 0.7919 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1847, allocations: 4.188 kB / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1849, allocations: 23.97 kB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1849, allocations: 7.938 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.1853, allocations: 55.8 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/0.1854, allocations: 43.98 kB / 0.792 GB, free: 4.18 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.0001627/0.1856, allocations: 176.4 kB / 0.7922 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.1856, allocations: 31.56 kB / 0.7922 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.1857, allocations: 34.36 kB / 0.7922 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1857, allocations: 3.984 kB / 0.7922 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1857, allocations: 4 kB / 0.7923 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1857, allocations: 3.938 kB / 0.7923 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.1876, allocations: 0.7286 MB / 0.793 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1877, allocations: 0 / 0.793 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1877, allocations: 11.88 kB / 0.793 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1877, allocations: 3.938 kB / 0.793 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.1877, allocations: 23.97 kB / 0.793 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1877, allocations: 0 / 0.793 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1878, allocations: 3.938 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.1894, allocations: 453.5 kB / 0.7934 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1895, allocations: 188.6 kB / 0.7936 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.1896, allocations: 23.94 kB / 0.7936 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.1901, allocations: 31.97 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1901, allocations: 7.984 kB / 0.7937 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.1902, allocations: 43.97 kB / 0.7937 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001887/0.1904, allocations: 231 kB / 0.7939 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1904, allocations: 0 / 0.7939 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002942/0.1907, allocations: 51.91 kB / 0.794 GB, free: 2.051 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.001875/0.1925, allocations: 1.021 MB / 0.795 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.1936, allocations: 401.6 kB / 0.7954 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1936, allocations: 0 / 0.7954 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.1944, allocations: 120.2 kB / 0.7955 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1947, allocations: 35.47 kB / 0.7955 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.1981, allocations: 2.606 MB / 0.7981 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1984, allocations: 0.752 MB / 0.7988 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.1984, allocations: 13.42 kB / 0.7988 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.1985, allocations: 35.42 kB / 0.7988 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.1985, allocations: 0 / 0.7988 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2508/0.4493, allocations: 5.245 MB / 0.804 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.4495, allocations: 239.4 kB / 0.8042 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.089, allocations: 7.125 kB / 0.8042 GB, free: 7.559 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)