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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001102/0.001102, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.139/1.139, allocations: 205.1 MB / 222 MB, free: 4.754 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.488/1.488, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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: 70.16 kB / 0.671 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1621, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002362/0.1645, allocations: 1.74 MB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.1654, allocations: 0.4954 MB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.1654, allocations: 0 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.091e-05/0.1655, allocations: 7.875 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.1656, allocations: 24.22 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.1661, allocations: 262.7 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1664, allocations: 371.8 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.1664, allocations: 29.33 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1667, allocations: 230.3 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1669, allocations: 139.5 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.1669, allocations: 8 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.167, allocations: 16 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.1671, allocations: 83.7 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1673, allocations: 139.2 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1676, allocations: 422.6 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1676, allocations: 3.984 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.41e-07/0.1676, allocations: 0 / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.1676, allocations: 0 / 0.7867 GB, free: 9.914 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.0008981/0.1685, allocations: 0.7732 MB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1686, allocations: 16.03 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1686, allocations: 46.48 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.1687, allocations: 35.62 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.169, allocations: 274.9 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.169, allocations: 23.98 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.1691, allocations: 20 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.17, allocations: 225.3 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.17, allocations: 7.984 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.1701, allocations: 4 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1701, allocations: 4 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.1708, allocations: 115.8 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000946/0.1718, allocations: 0.5628 MB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.1727, allocations: 174.5 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.1735, allocations: 116.8 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1735, allocations: 0 / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008473/0.1743, allocations: 231 kB / 0.7892 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1743, allocations: 0 / 0.7892 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002304/0.1767, allocations: 455.6 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1767, allocations: 63.39 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.177, allocations: 324.3 kB / 0.79 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.177, allocations: 41.7 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.1771, allocations: 97.03 kB / 0.7901 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1771, allocations: 39.55 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.1772, allocations: 109.4 kB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.1773, allocations: 322.8 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1775, allocations: 99.94 kB / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.1778, allocations: 142.6 kB / 0.7908 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1781, allocations: 252.1 kB / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1781, allocations: 3.938 kB / 0.7911 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006092/0.1787, allocations: 420.7 kB / 0.7915 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.1787, allocations: 79.58 kB / 0.7916 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1787, allocations: 0 / 0.7916 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.1788, allocations: 4 kB / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1789, allocations: 31.91 kB / 0.7916 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1789, allocations: 0 / 0.7916 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.1794, allocations: 59.8 kB / 0.7916 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.1794, allocations: 35.98 kB / 0.7917 GB, free: 4.43 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.000156/0.1796, allocations: 188.4 kB / 0.7919 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.1797, allocations: 31.62 kB / 0.7919 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.1797, allocations: 30.36 kB / 0.7919 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1797, allocations: 0 / 0.7919 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1797, allocations: 0 / 0.7919 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1797, allocations: 11.92 kB / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.1816, allocations: 0.7324 MB / 0.7926 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1816, allocations: 0 / 0.7926 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1817, allocations: 8 kB / 0.7926 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1817, allocations: 3.938 kB / 0.7927 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.1817, allocations: 23.97 kB / 0.7927 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1817, allocations: 4 kB / 0.7927 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1817, allocations: 0 / 0.7927 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.1833, allocations: 449.9 kB / 0.7931 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.1835, allocations: 192.6 kB / 0.7933 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.1835, allocations: 23.92 kB / 0.7933 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.184, allocations: 27.97 kB / 0.7933 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.184, allocations: 15.92 kB / 0.7934 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.1841, allocations: 43.97 kB / 0.7934 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001786/0.1843, allocations: 227 kB / 0.7936 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1843, allocations: 0 / 0.7936 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000288/0.1846, allocations: 51.91 kB / 0.7937 GB, free: 2.293 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.001841/0.1864, allocations: 1.017 MB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.1875, allocations: 394.6 kB / 0.795 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1875, allocations: 0 / 0.795 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.1882, allocations: 123 kB / 0.7952 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1885, allocations: 32.62 kB / 0.7952 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.1917, allocations: 2.61 MB / 0.7977 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.192, allocations: 0.7594 MB / 0.7985 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.506e-05/0.192, allocations: 13.42 kB / 0.7985 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1921, allocations: 35.42 kB / 0.7985 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.1921, allocations: 0 / 0.7985 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.42/4.612, allocations: 5.087 MB / 0.8035 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/4.612, allocations: 241.1 kB / 0.8037 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/6.12, allocations: 4 kB / 0.8037 GB, free: 7.941 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)