Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_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.00127/0.00127, allocations: 105.6 kB / 16.4 MB, free: 6.449 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.001229/0.001229, allocations: 191.9 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8438/0.8438, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001976, allocations: 66.91 kB / 0.5735 GB, free: 27.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1652, allocations: 78.86 MB / 0.6505 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002824/0.168, allocations: 1.51 MB / 0.652 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1693, allocations: 0.5545 MB / 0.6525 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.1694, allocations: 4 kB / 0.6525 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1695, allocations: 7.875 kB / 0.6526 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.1696, allocations: 31.62 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.1706, allocations: 302.3 kB / 0.6529 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.1712, allocations: 0.5033 MB / 0.6534 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.1713, allocations: 16 kB / 0.6534 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.1718, allocations: 271.6 kB / 0.6536 GB, free: 444 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.1721, allocations: 143.6 kB / 0.6538 GB, free: 300 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.1722, allocations: 28 kB / 0.6538 GB, free: 272 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.1723, allocations: 27.94 kB / 0.6538 GB, free: 244 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1725, allocations: 115.7 kB / 0.6539 GB, free: 128 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.1728, allocations: 187.1 kB / 0.6541 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.1733, allocations: 418.7 kB / 0.6545 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1733, allocations: 7.922 kB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1733, allocations: 4 kB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.1734, allocations: 0 / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001438/0.1748, allocations: 0.8781 MB / 0.6554 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1749, allocations: 8.031 kB / 0.6554 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1749, allocations: 38.73 kB / 0.6554 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.175, allocations: 52.7 kB / 0.6555 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.1755, allocations: 314.5 kB / 0.6558 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.1756, allocations: 16.36 kB / 0.6558 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.1756, allocations: 32.38 kB / 0.6558 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/0.1766, allocations: 210 kB / 0.656 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1766, allocations: 3.938 kB / 0.656 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.1767, allocations: 0 / 0.656 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1767, allocations: 4 kB / 0.656 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/0.1774, allocations: 107.8 kB / 0.6561 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.1779, allocations: 385.2 kB / 0.6565 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.179, allocations: 182.6 kB / 0.6567 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/0.1798, allocations: 112.8 kB / 0.6568 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1798, allocations: 0 / 0.6568 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.1809, allocations: 223.1 kB / 0.657 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 3.616e-06/0.1809, allocations: 7.984 kB / 0.657 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002622/0.1835, allocations: 487.3 kB / 0.6575 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.1836, allocations: 63.39 kB / 0.6575 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.1841, allocations: 413.8 kB / 0.6579 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/0.1842, allocations: 45.69 kB / 0.658 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.1842, allocations: 93.38 kB / 0.6581 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.1843, allocations: 43.69 kB / 0.6581 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.1845, allocations: 125.5 kB / 0.6582 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1847, allocations: 326.8 kB / 0.6585 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.185, allocations: 115.9 kB / 0.6586 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.1853, allocations: 169.9 kB / 0.6588 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.1857, allocations: 278.8 kB / 0.6591 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1857, allocations: 0 / 0.6591 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009875/0.1867, allocations: 490.9 kB / 0.6595 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.1868, allocations: 95.34 kB / 0.6596 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1868, allocations: 3.938 kB / 0.6596 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1869, allocations: 4 kB / 0.6596 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.187, allocations: 23.98 kB / 0.6597 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.1871, allocations: 0 / 0.6597 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.1876, allocations: 71.72 kB / 0.6597 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.1877, allocations: 59.97 kB / 0.6598 GB, free: 9.781 MB / 0.4981 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002469/0.1879, allocations: 192 kB / 0.66 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.188, allocations: 43.66 kB / 0.66 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.1881, allocations: 43.73 kB / 0.66 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1881, allocations: 0 / 0.66 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1881, allocations: 4 kB / 0.6601 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1881, allocations: 0 / 0.6601 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.1904, allocations: 0.7405 MB / 0.6608 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1904, allocations: 0 / 0.6608 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.1904, allocations: 7.984 kB / 0.6608 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1905, allocations: 0 / 0.6608 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.1905, allocations: 15.98 kB / 0.6608 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1905, allocations: 11.94 kB / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1905, allocations: 0 / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.1923, allocations: 478.3 kB / 0.6613 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.1926, allocations: 204.7 kB / 0.6615 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.1927, allocations: 11.98 kB / 0.6615 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.1932, allocations: 31.97 kB / 0.6615 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1932, allocations: 7.984 kB / 0.6615 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.1933, allocations: 59.97 kB / 0.6616 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003392/0.1937, allocations: 295.1 kB / 0.6618 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1937, allocations: 4 kB / 0.6619 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004484/0.1941, allocations: 60 kB / 0.6619 GB, free: 7.504 MB / 0.4981 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0022/0.1963, allocations: 1.029 MB / 0.6629 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.1978, allocations: 438.5 kB / 0.6633 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1978, allocations: 3.938 kB / 0.6633 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.1986, allocations: 127.4 kB / 0.6635 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.199, allocations: 31.67 kB / 0.6635 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.2038, allocations: 2.782 MB / 0.6662 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.2042, allocations: 0.7745 MB / 0.667 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.2043, allocations: 17.06 kB / 0.667 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.2044, allocations: 27.42 kB / 0.667 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2044, allocations: 0 / 0.667 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.2342, allocations: 6.103 MB / 0.673 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.506, allocations: 18.7 kB / 0.673 GB, free: 11.95 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)