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.001104/0.001104, allocations: 108.6 kB / 16.41 MB, free: 6.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.001165/0.001165, allocations: 189.2 kB / 17.34 MB, free: 5.758 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8248/0.8248, allocations: 122.8 MB / 414 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 66.58 kB / 0.5679 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 77.92 MB / 0.644 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002583/0.1607, allocations: 1.51 MB / 0.6455 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1621, allocations: 0.5462 MB / 0.646 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.1622, allocations: 0 / 0.646 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1623, allocations: 7.875 kB / 0.646 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1624, allocations: 27.84 kB / 0.6461 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000899/0.1633, allocations: 306 kB / 0.6464 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.1639, allocations: 0.511 MB / 0.6469 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.164, allocations: 8 kB / 0.6469 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.1644, allocations: 279.6 kB / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1647, allocations: 144 kB / 0.6473 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.1648, allocations: 24 kB / 0.6473 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.1649, allocations: 28 kB / 0.6473 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.165, allocations: 123.5 kB / 0.6474 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1652, allocations: 187.1 kB / 0.6476 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.1656, allocations: 418.7 kB / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1656, allocations: 0 / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1656, allocations: 0 / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1656, allocations: 7.938 kB / 0.648 GB, free: 5.484 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.001319/0.1669, allocations: 0.8781 MB / 0.6489 GB, free: 4.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.167, allocations: 12.62 kB / 0.6489 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.1671, allocations: 38.73 kB / 0.6489 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1672, allocations: 52.7 kB / 0.649 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.1676, allocations: 310.6 kB / 0.6493 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.1677, allocations: 20.36 kB / 0.6493 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-05/0.1678, allocations: 28.31 kB / 0.6493 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1688, allocations: 214 kB / 0.6495 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1688, allocations: 3.938 kB / 0.6495 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.1688, allocations: 4 kB / 0.6495 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1689, allocations: 0 / 0.6495 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.1697, allocations: 103.9 kB / 0.6496 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1701, allocations: 393.2 kB / 0.65 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1712, allocations: 178.6 kB / 0.6502 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.1721, allocations: 112.7 kB / 0.6503 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1721, allocations: 4 kB / 0.6503 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.1731, allocations: 225.9 kB / 0.6505 GB, free: 2.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.1731, allocations: 0 / 0.6505 GB, free: 2.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002667/0.1758, allocations: 485.1 kB / 0.651 GB, free: 2.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1759, allocations: 63.38 kB / 0.651 GB, free: 2.172 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.1763, allocations: 417.8 kB / 0.6514 GB, free: 1.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.1764, allocations: 41.69 kB / 0.6515 GB, free: 1.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.1765, allocations: 98.52 kB / 0.6516 GB, free: 1.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.1765, allocations: 43.62 kB / 0.6516 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.1767, allocations: 125.5 kB / 0.6517 GB, free: 1.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1768, allocations: 322.8 kB / 0.652 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.1771, allocations: 119.9 kB / 0.6521 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1774, allocations: 170.8 kB / 0.6523 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.1778, allocations: 275.3 kB / 0.6526 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1778, allocations: 0 / 0.6526 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007866/0.1786, allocations: 484.7 kB / 0.653 GB, free: 12 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.1787, allocations: 99.3 kB / 0.6531 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1787, allocations: 4.188 kB / 0.6531 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1787, allocations: 4 kB / 0.6531 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.1789, allocations: 19.92 kB / 0.6532 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1789, allocations: 4 kB / 0.6532 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.1794, allocations: 59.84 kB / 0.6532 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.1795, allocations: 63.95 kB / 0.6533 GB, free: 15.75 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.0002093/0.1797, allocations: 199.9 kB / 0.6535 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.1798, allocations: 47.66 kB / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.1799, allocations: 39.73 kB / 0.6536 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1799, allocations: 3.984 kB / 0.6536 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1799, allocations: 0 / 0.6536 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1799, allocations: 0 / 0.6536 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.1822, allocations: 0.7482 MB / 0.6543 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1823, allocations: 0 / 0.6543 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.1823, allocations: 4 kB / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1823, allocations: 3.984 kB / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.1824, allocations: 19.98 kB / 0.6543 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1824, allocations: 0 / 0.6543 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1824, allocations: 0 / 0.6543 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.1842, allocations: 485.9 kB / 0.6548 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.1845, allocations: 196.7 kB / 0.655 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.1846, allocations: 19.98 kB / 0.655 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.1851, allocations: 31.97 kB / 0.655 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1851, allocations: 7.984 kB / 0.655 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.1852, allocations: 55.98 kB / 0.6551 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000288/0.1855, allocations: 295.1 kB / 0.6554 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1855, allocations: 0 / 0.6554 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003675/0.1859, allocations: 67.98 kB / 0.6554 GB, free: 13.46 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.002139/0.188, allocations: 1.034 MB / 0.6564 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.1893, allocations: 437.1 kB / 0.6568 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1893, allocations: 0 / 0.6568 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.1902, allocations: 124.2 kB / 0.657 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1905, allocations: 31.42 kB / 0.657 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.1947, allocations: 2.79 MB / 0.6597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1951, allocations: 0.7708 MB / 0.6605 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.639e-05/0.1951, allocations: 17.08 kB / 0.6605 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.1952, allocations: 19.42 kB / 0.6605 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1952, allocations: 0 / 0.6605 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.2201, allocations: 6.11 MB / 0.6665 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.869, allocations: 17.17 kB / 0.6665 GB, free: 1.91 MB / 0.4981 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)