Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",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.001152/0.001152, allocations: 99.72 kB / 16.4 MB, free: 6.484 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.001207/0.001207, allocations: 188 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7681/0.7681, allocations: 126.1 MB / 417.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 62.72 kB / 0.5726 GB, free: 27.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, allocations: 78.7 MB / 0.6494 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.00333/0.1735, allocations: 1.514 MB / 0.6509 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1748, allocations: 0.5399 MB / 0.6514 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.1749, allocations: 0 / 0.6514 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.175, allocations: 15.86 kB / 0.6514 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1752, allocations: 27.66 kB / 0.6515 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.1761, allocations: 315.2 kB / 0.6518 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.1767, allocations: 0.4993 MB / 0.6522 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.1767, allocations: 15.98 kB / 0.6523 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.1771, allocations: 271.6 kB / 0.6525 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.1774, allocations: 149.5 kB / 0.6527 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.1775, allocations: 28 kB / 0.6527 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.565e-05/0.1776, allocations: 24 kB / 0.6527 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.1777, allocations: 115.6 kB / 0.6528 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.1779, allocations: 183.1 kB / 0.653 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.1784, allocations: 426.7 kB / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1784, allocations: 0 / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1784, allocations: 0 / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1784, allocations: 0 / 0.6534 GB, free: 0.5547 MB / 494.1 MB 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.001335/0.1798, allocations: 0.882 MB / 0.6543 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1798, allocations: 15.97 kB / 0.6543 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.73e-05/0.1799, allocations: 34.73 kB / 0.6543 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.18, allocations: 56.7 kB / 0.6544 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.1804, allocations: 318.5 kB / 0.6547 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.1805, allocations: 16.36 kB / 0.6547 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.1806, allocations: 24.38 kB / 0.6547 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.1815, allocations: 222 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1815, allocations: 3.938 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.1815, allocations: 0 / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1815, allocations: 4 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.1823, allocations: 95.91 kB / 0.655 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.1827, allocations: 389.2 kB / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009678/0.1837, allocations: 186.5 kB / 0.6556 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.1844, allocations: 112.8 kB / 0.6557 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1844, allocations: 0 / 0.6557 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009107/0.1853, allocations: 223.1 kB / 0.6559 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.1853, allocations: 4 kB / 0.6559 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002427/0.1878, allocations: 483.8 kB / 0.6564 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1878, allocations: 71.33 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.1882, allocations: 409.9 kB / 0.6568 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.1883, allocations: 41.69 kB / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.1884, allocations: 93.44 kB / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.1885, allocations: 47.62 kB / 0.657 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.1887, allocations: 125.5 kB / 0.6571 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1888, allocations: 322.8 kB / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.189, allocations: 115.9 kB / 0.6575 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.1893, allocations: 177.2 kB / 0.6577 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.1897, allocations: 274.8 kB / 0.658 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1897, allocations: 0 / 0.658 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007957/0.1905, allocations: 493.5 kB / 0.6584 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.1906, allocations: 91.31 kB / 0.6585 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1906, allocations: 0 / 0.6585 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1906, allocations: 4 kB / 0.6585 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1908, allocations: 28.11 kB / 0.6585 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1908, allocations: 0 / 0.6585 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.1913, allocations: 63.83 kB / 0.6586 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.1914, allocations: 59.98 kB / 0.6587 GB, free: 10.82 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.0002373/0.1917, allocations: 192 kB / 0.6588 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.1917, allocations: 47.66 kB / 0.6589 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.082e-05/0.1918, allocations: 47.67 kB / 0.6589 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1918, allocations: 0 / 0.6589 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1918, allocations: 0 / 0.6589 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1918, allocations: 7.938 kB / 0.6589 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.194, allocations: 0.7404 MB / 0.6597 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.194, allocations: 0 / 0.6597 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.194, allocations: 11.98 kB / 0.6597 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.194, allocations: 3.984 kB / 0.6597 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.1941, allocations: 15.98 kB / 0.6597 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1941, allocations: 4 kB / 0.6597 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1941, allocations: 3.984 kB / 0.6597 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.1958, allocations: 477.8 kB / 0.6602 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.1961, allocations: 200.7 kB / 0.6604 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.1962, allocations: 11.98 kB / 0.6604 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.1966, allocations: 31.97 kB / 0.6604 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.1967, allocations: 11.98 kB / 0.6604 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.1967, allocations: 59.97 kB / 0.6605 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000289/0.197, allocations: 291.1 kB / 0.6607 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.197, allocations: 4 kB / 0.6607 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003781/0.1974, allocations: 60 kB / 0.6608 GB, free: 8.527 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.001986/0.1994, allocations: 1.032 MB / 0.6618 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.2007, allocations: 438.5 kB / 0.6622 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2007, allocations: 0 / 0.6622 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.2014, allocations: 122.4 kB / 0.6623 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2018, allocations: 29.92 kB / 0.6624 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.206, allocations: 2.792 MB / 0.6651 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2063, allocations: 0.7747 MB / 0.6659 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.2064, allocations: 17.08 kB / 0.6659 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.2065, allocations: 23.42 kB / 0.6659 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.2065, allocations: 4 kB / 0.6659 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2297, allocations: 6.092 MB / 0.6718 GB, free: 13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.889, allocations: 16.81 kB / 0.6719 GB, free: 12.98 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)