Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.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 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.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_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.00118/0.00118, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001162/0.001162, allocations: 196 kB / 17.34 MB, free: 5.738 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8183/0.8183, allocations: 122.9 MB / 414 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.78 kB / 0.5679 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1458, allocations: 77.94 MB / 0.644 GB, free: 9.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00266/0.1485, allocations: 1.506 MB / 0.6455 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.15, allocations: 0.5423 MB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.1501, allocations: 0 / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1502, allocations: 7.875 kB / 0.646 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1503, allocations: 23.86 kB / 0.6461 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.1512, allocations: 321.5 kB / 0.6464 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.1518, allocations: 0.4955 MB / 0.6469 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.1518, allocations: 15.98 kB / 0.6469 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.1522, allocations: 275.6 kB / 0.6471 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1525, allocations: 141.3 kB / 0.6473 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.1526, allocations: 28 kB / 0.6473 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.1527, allocations: 24 kB / 0.6473 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1528, allocations: 119.6 kB / 0.6474 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.153, allocations: 183.1 kB / 0.6476 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.1534, allocations: 426.7 kB / 0.648 GB, free: 5.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1535, allocations: 0 / 0.648 GB, free: 5.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1535, allocations: 3.938 kB / 0.648 GB, free: 5.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1535, allocations: 0 / 0.648 GB, free: 5.504 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.001276/0.1548, allocations: 0.8742 MB / 0.6489 GB, free: 4.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1548, allocations: 12.62 kB / 0.6489 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.1549, allocations: 38.73 kB / 0.6489 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.155, allocations: 52.7 kB / 0.649 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.1554, allocations: 322.5 kB / 0.6493 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.1555, allocations: 20.36 kB / 0.6493 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.1555, allocations: 24.38 kB / 0.6493 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1566, allocations: 215.9 kB / 0.6495 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1566, allocations: 3.938 kB / 0.6495 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.1566, allocations: 7.984 kB / 0.6495 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1567, allocations: 4 kB / 0.6495 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.1575, allocations: 99.86 kB / 0.6496 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.1579, allocations: 393.2 kB / 0.65 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.1591, allocations: 182.6 kB / 0.6502 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.1599, allocations: 108.8 kB / 0.6503 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.16, allocations: 0 / 0.6503 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.161, allocations: 223.1 kB / 0.6505 GB, free: 2.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.161, allocations: 7.938 kB / 0.6505 GB, free: 2.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002764/0.1638, allocations: 491.8 kB / 0.651 GB, free: 2.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1638, allocations: 59.39 kB / 0.651 GB, free: 2.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.1642, allocations: 413.9 kB / 0.6514 GB, free: 1.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.1643, allocations: 45.62 kB / 0.6515 GB, free: 1.711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.1644, allocations: 90.58 kB / 0.6516 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.1644, allocations: 43.67 kB / 0.6516 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.1646, allocations: 129.5 kB / 0.6517 GB, free: 1.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1647, allocations: 322.8 kB / 0.652 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.165, allocations: 115.9 kB / 0.6521 GB, free: 1.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.1653, allocations: 169.9 kB / 0.6523 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.1657, allocations: 274.1 kB / 0.6526 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1657, allocations: 0 / 0.6526 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007794/0.1665, allocations: 498.6 kB / 0.653 GB, free: 16 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/0.1666, allocations: 91.31 kB / 0.6531 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1666, allocations: 0 / 0.6531 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1666, allocations: 4 kB / 0.6531 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1668, allocations: 23.92 kB / 0.6532 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1668, allocations: 3.984 kB / 0.6532 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.1673, allocations: 64.03 kB / 0.6532 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/0.1674, allocations: 63.91 kB / 0.6533 GB, free: 15.76 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.0002136/0.1676, allocations: 199.5 kB / 0.6535 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.1677, allocations: 43.66 kB / 0.6535 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.1678, allocations: 39.73 kB / 0.6536 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1678, allocations: 0 / 0.6536 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1678, allocations: 4 kB / 0.6536 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1678, allocations: 0 / 0.6536 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.1701, allocations: 0.7443 MB / 0.6543 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1701, allocations: 0 / 0.6543 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.1702, allocations: 7.984 kB / 0.6543 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1702, allocations: 0 / 0.6543 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.1702, allocations: 23.98 kB / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1703, allocations: 4 kB / 0.6543 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1703, allocations: 3.938 kB / 0.6543 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.1722, allocations: 481.9 kB / 0.6548 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.1724, allocations: 196.7 kB / 0.655 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.1725, allocations: 19.98 kB / 0.655 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.173, allocations: 27.97 kB / 0.655 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1731, allocations: 7.984 kB / 0.655 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.1732, allocations: 59.98 kB / 0.6551 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002751/0.1735, allocations: 291.1 kB / 0.6554 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1735, allocations: 8 kB / 0.6554 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000366/0.1738, allocations: 67.92 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.002224/0.1761, allocations: 1.028 MB / 0.6564 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.1774, allocations: 438.5 kB / 0.6569 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1775, allocations: 384 / 0.6569 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008499/0.1783, allocations: 122.7 kB / 0.657 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1787, allocations: 25.55 kB / 0.657 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.1835, allocations: 2.793 MB / 0.6597 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1839, allocations: 0.7747 MB / 0.6605 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.292e-05/0.184, allocations: 13.08 kB / 0.6605 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.184, allocations: 23.42 kB / 0.6605 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of SimCode: time 4.7e-07/0.184, allocations: 0 / 0.6605 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.2092, allocations: 6.107 MB / 0.6665 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.747, allocations: 9.25 kB / 0.6665 GB, free: 1.926 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)