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.001355/0.001355, allocations: 110.5 kB / 16.41 MB, free: 6.039 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.001246/0.001247, allocations: 192 kB / 17.34 MB, free: 5.629 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8824/0.8824, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 64.84 kB / 0.5735 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1671, allocations: 78.85 MB / 0.6505 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002706/0.1698, allocations: 1.518 MB / 0.652 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1712, allocations: 0.5495 MB / 0.6525 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.1712, allocations: 0 / 0.6525 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1713, allocations: 7.922 kB / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.1715, allocations: 35.56 kB / 0.6526 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.1723, allocations: 314.5 kB / 0.6529 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.1729, allocations: 0.5033 MB / 0.6534 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.1729, allocations: 11.98 kB / 0.6534 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.1733, allocations: 271.6 kB / 0.6536 GB, free: 456 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.1736, allocations: 139.7 kB / 0.6538 GB, free: 316 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.631e-05/0.1737, allocations: 28 kB / 0.6538 GB, free: 288 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.1738, allocations: 28 kB / 0.6538 GB, free: 260 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1739, allocations: 123.6 kB / 0.6539 GB, free: 136 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1741, allocations: 175.2 kB / 0.6541 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.1746, allocations: 430.6 kB / 0.6545 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1746, allocations: 0 / 0.6545 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1746, allocations: 0 / 0.6545 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1746, allocations: 0 / 0.6545 GB, free: 15.54 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.001268/0.1759, allocations: 0.8819 MB / 0.6554 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.176, allocations: 8.031 kB / 0.6554 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.485e-05/0.176, allocations: 38.75 kB / 0.6554 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1761, allocations: 56.69 kB / 0.6555 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.1765, allocations: 314.5 kB / 0.6558 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.1766, allocations: 20.36 kB / 0.6558 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.1767, allocations: 28.36 kB / 0.6558 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.1776, allocations: 206 kB / 0.656 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1776, allocations: 3.938 kB / 0.656 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.1777, allocations: 7.984 kB / 0.656 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1777, allocations: 4 kB / 0.656 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.1785, allocations: 99.92 kB / 0.6561 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1789, allocations: 385.2 kB / 0.6565 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.18, allocations: 186.5 kB / 0.6567 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/0.1808, allocations: 112.8 kB / 0.6568 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1808, allocations: 0 / 0.6568 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009981/0.1818, allocations: 223.1 kB / 0.657 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.1819, allocations: 0 / 0.657 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002574/0.1844, allocations: 491.8 kB / 0.6575 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.1845, allocations: 59.41 kB / 0.6575 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.185, allocations: 413.9 kB / 0.6579 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.185, allocations: 41.7 kB / 0.658 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.1851, allocations: 97.44 kB / 0.6581 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.1852, allocations: 47.61 kB / 0.6581 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.1854, allocations: 129.5 kB / 0.6582 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1856, allocations: 318.8 kB / 0.6585 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.1858, allocations: 119.9 kB / 0.6586 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.1861, allocations: 165.9 kB / 0.6588 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.1866, allocations: 283 kB / 0.6591 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1866, allocations: 0 / 0.6591 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008138/0.1874, allocations: 484.7 kB / 0.6595 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/0.1875, allocations: 93.03 kB / 0.6596 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1875, allocations: 4 kB / 0.6596 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1875, allocations: 0 / 0.6596 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1877, allocations: 31.91 kB / 0.6597 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1878, allocations: 4 kB / 0.6597 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.1882, allocations: 60.03 kB / 0.6597 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.1883, allocations: 55.98 kB / 0.6598 GB, free: 9.812 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.0002455/0.1886, allocations: 196 kB / 0.66 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.1886, allocations: 47.64 kB / 0.66 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.594e-05/0.1887, allocations: 43.69 kB / 0.66 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1887, allocations: 4 kB / 0.66 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1887, allocations: 4 kB / 0.6601 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1887, allocations: 0 / 0.6601 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.1909, allocations: 0.7405 MB / 0.6608 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1909, allocations: 4 kB / 0.6608 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.191, allocations: 11.94 kB / 0.6608 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.191, allocations: 4 kB / 0.6608 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.191, allocations: 19.97 kB / 0.6608 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.191, allocations: 0 / 0.6608 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1911, allocations: 0 / 0.6608 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.1928, allocations: 491.3 kB / 0.6613 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.1931, allocations: 192.7 kB / 0.6615 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.1932, allocations: 12 kB / 0.6615 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.1936, allocations: 31.97 kB / 0.6615 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1937, allocations: 7.984 kB / 0.6615 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.1938, allocations: 59.97 kB / 0.6616 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003059/0.1941, allocations: 299.1 kB / 0.6619 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1941, allocations: 0 / 0.6619 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004117/0.1945, allocations: 63.98 kB / 0.6619 GB, free: 7.512 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.002125/0.1966, allocations: 1.029 MB / 0.6629 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.198, allocations: 442.7 kB / 0.6633 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.198, allocations: 0 / 0.6633 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.1988, allocations: 115.9 kB / 0.6635 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1992, allocations: 27.61 kB / 0.6635 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.2036, allocations: 2.79 MB / 0.6662 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.204, allocations: 0.7744 MB / 0.667 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.2041, allocations: 9.094 kB / 0.667 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.2042, allocations: 27.42 kB / 0.667 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.2042, allocations: 4 kB / 0.667 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.2323, allocations: 6.11 MB / 0.673 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.396, allocations: 9.203 kB / 0.673 GB, free: 11.98 MB / 0.5137 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)