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.001507/0.001507, allocations: 107.4 kB / 16.41 MB, free: 6.492 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.001798/0.001798, allocations: 191.2 kB / 17.34 MB, free: 5.766 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7935/0.7935, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 69.81 kB / 0.5679 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1614, allocations: 77.94 MB / 0.644 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.003144/0.1645, allocations: 1.506 MB / 0.6455 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.166, allocations: 0.5345 MB / 0.646 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.1661, allocations: 4 kB / 0.646 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.1663, allocations: 11.88 kB / 0.646 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1664, allocations: 31.84 kB / 0.6461 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009062/0.1673, allocations: 309.2 kB / 0.6464 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.1679, allocations: 0.4994 MB / 0.6468 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.1679, allocations: 11.98 kB / 0.6469 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.1684, allocations: 275.6 kB / 0.6471 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.1687, allocations: 145.1 kB / 0.6473 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.1688, allocations: 28 kB / 0.6473 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.169, allocations: 24 kB / 0.6473 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.1691, allocations: 119.6 kB / 0.6474 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.1694, allocations: 187 kB / 0.6476 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.17, allocations: 422.7 kB / 0.648 GB, free: 5.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.17, allocations: 0 / 0.648 GB, free: 5.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.17, allocations: 0 / 0.648 GB, free: 5.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.17, allocations: 0 / 0.648 GB, free: 5.605 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.002024/0.1721, allocations: 0.8916 MB / 0.6489 GB, free: 4.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.1722, allocations: 8.625 kB / 0.6489 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.1723, allocations: 38.73 kB / 0.6489 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.1725, allocations: 52.7 kB / 0.649 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.1731, allocations: 310.6 kB / 0.6493 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.1731, allocations: 16.38 kB / 0.6493 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1732, allocations: 24.36 kB / 0.6493 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1744, allocations: 224 kB / 0.6495 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1744, allocations: 3.938 kB / 0.6495 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1745, allocations: 4 kB / 0.6495 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1745, allocations: 0 / 0.6495 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.1753, allocations: 95.92 kB / 0.6496 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1757, allocations: 389.2 kB / 0.65 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1768, allocations: 186.6 kB / 0.6502 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.1777, allocations: 116.7 kB / 0.6503 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1777, allocations: 0 / 0.6503 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.1788, allocations: 233.8 kB / 0.6505 GB, free: 2.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1788, allocations: 0 / 0.6505 GB, free: 2.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002661/0.1815, allocations: 481.1 kB / 0.651 GB, free: 2.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.1815, allocations: 67.34 kB / 0.651 GB, free: 2.281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.182, allocations: 413.9 kB / 0.6514 GB, free: 1.863 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/0.1821, allocations: 45.62 kB / 0.6515 GB, free: 1.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.1822, allocations: 93.45 kB / 0.6516 GB, free: 1.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.1823, allocations: 43.62 kB / 0.6516 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.1826, allocations: 129.5 kB / 0.6517 GB, free: 1.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1827, allocations: 322.8 kB / 0.652 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.183, allocations: 115.9 kB / 0.6521 GB, free: 1.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.1833, allocations: 174.8 kB / 0.6523 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.1837, allocations: 273.2 kB / 0.6526 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1837, allocations: 0 / 0.6526 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007738/0.1845, allocations: 485.6 kB / 0.653 GB, free: 124 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.1846, allocations: 91.31 kB / 0.6531 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1846, allocations: 4 kB / 0.6531 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1847, allocations: 3.984 kB / 0.6531 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1848, allocations: 28.11 kB / 0.6531 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1849, allocations: 4 kB / 0.6532 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.1854, allocations: 55.84 kB / 0.6532 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.1855, allocations: 59.98 kB / 0.6533 GB, free: 15.87 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.0002229/0.1857, allocations: 199.9 kB / 0.6535 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.1858, allocations: 47.66 kB / 0.6535 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.1858, allocations: 39.75 kB / 0.6535 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1858, allocations: 4 kB / 0.6535 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1858, allocations: 3.938 kB / 0.6535 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1859, allocations: 3.984 kB / 0.6535 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.1882, allocations: 0.7404 MB / 0.6543 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1882, allocations: 4 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.1882, allocations: 4 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1882, allocations: 4 kB / 0.6543 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.1883, allocations: 19.97 kB / 0.6543 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1883, allocations: 0 / 0.6543 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1883, allocations: 0 / 0.6543 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.1901, allocations: 483.4 kB / 0.6548 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.1903, allocations: 200.7 kB / 0.655 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.1904, allocations: 12 kB / 0.655 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.1909, allocations: 35.95 kB / 0.655 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.191, allocations: 11.98 kB / 0.655 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.191, allocations: 51.98 kB / 0.6551 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002942/0.1913, allocations: 295.1 kB / 0.6553 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.1913, allocations: 0 / 0.6553 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003697/0.1917, allocations: 63.98 kB / 0.6554 GB, free: 13.58 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.002195/0.1939, allocations: 1.036 MB / 0.6564 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.1953, allocations: 436.8 kB / 0.6568 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1953, allocations: 0 / 0.6568 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/0.1962, allocations: 115.9 kB / 0.6569 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.1966, allocations: 36.14 kB / 0.657 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.2008, allocations: 2.79 MB / 0.6597 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.2011, allocations: 0.7708 MB / 0.6605 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.198e-05/0.2012, allocations: 21.08 kB / 0.6605 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.2013, allocations: 27.38 kB / 0.6605 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2013, allocations: 0 / 0.6605 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2249, allocations: 6.095 MB / 0.6665 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/7.929, allocations: 0 / 0.6665 GB, free: 2.043 MB / 0.4981 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)