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.001205/0.001205, allocations: 104.5 kB / 16.4 MB, free: 6.461 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.001211/0.001211, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7292/0.7292, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 62.8 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1574, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.0031/0.1606, allocations: 1.506 MB / 0.633 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.162, allocations: 0.5345 MB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.1621, allocations: 0 / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1622, allocations: 15.86 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1624, allocations: 19.88 kB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009655/0.1634, allocations: 321.3 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.164, allocations: 0.4955 MB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.1641, allocations: 15.98 kB / 0.6344 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.1646, allocations: 275.6 kB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.165, allocations: 148.9 kB / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.1651, allocations: 28 kB / 0.6348 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.1652, allocations: 24 kB / 0.6348 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1654, allocations: 115.6 kB / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1656, allocations: 191 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1661, allocations: 426.3 kB / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1662, allocations: 0 / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1662, allocations: 0 / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.1662, allocations: 4 kB / 0.6356 GB, free: 0.8086 MB / 478.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.001376/0.1676, allocations: 0.8703 MB / 0.6364 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1676, allocations: 8.031 kB / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.1677, allocations: 38.73 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.1678, allocations: 48.47 kB / 0.6365 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.1682, allocations: 310.3 kB / 0.6368 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.1683, allocations: 16.36 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.1683, allocations: 28.36 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1694, allocations: 213.9 kB / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1695, allocations: 3.938 kB / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.1695, allocations: 4 kB / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1695, allocations: 4 kB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.1703, allocations: 99.91 kB / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1708, allocations: 385.2 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1718, allocations: 178.5 kB / 0.6377 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.1726, allocations: 108.8 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1726, allocations: 4.375 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/0.1736, allocations: 236.7 kB / 0.638 GB, free: 14.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.1736, allocations: 0 / 0.638 GB, free: 14.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002568/0.1762, allocations: 480.9 kB / 0.6385 GB, free: 13.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1763, allocations: 59.39 kB / 0.6385 GB, free: 13.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.1767, allocations: 413.9 kB / 0.6389 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.1767, allocations: 41.69 kB / 0.639 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1769, allocations: 97.34 kB / 0.6391 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.1769, allocations: 39.55 kB / 0.6391 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.1771, allocations: 129.2 kB / 0.6392 GB, free: 12.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1772, allocations: 326.8 kB / 0.6395 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.1775, allocations: 115.9 kB / 0.6396 GB, free: 12.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.1778, allocations: 177.9 kB / 0.6398 GB, free: 12.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.1782, allocations: 275.2 kB / 0.6401 GB, free: 11.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1782, allocations: 4 kB / 0.6401 GB, free: 11.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007989/0.179, allocations: 492.5 kB / 0.6405 GB, free: 11.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.1791, allocations: 93.19 kB / 0.6406 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1791, allocations: 3.984 kB / 0.6406 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1791, allocations: 4 kB / 0.6406 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.1793, allocations: 23.92 kB / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1793, allocations: 4.188 kB / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.1798, allocations: 59.84 kB / 0.6407 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.1799, allocations: 63.92 kB / 0.6408 GB, free: 11.09 MB / 494.1 MB 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.0002234/0.1802, allocations: 199.9 kB / 0.641 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.1802, allocations: 43.47 kB / 0.641 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.1803, allocations: 47.73 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1803, allocations: 0 / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1803, allocations: 4 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1803, allocations: 0 / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.1826, allocations: 0.751 MB / 0.6418 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1826, allocations: 0 / 0.6418 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.1826, allocations: 7.984 kB / 0.6418 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1826, allocations: 0 / 0.6418 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1827, allocations: 19.98 kB / 0.6418 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1827, allocations: 7.984 kB / 0.6418 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1827, allocations: 0 / 0.6418 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.1844, allocations: 467.3 kB / 0.6423 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.1847, allocations: 204.4 kB / 0.6425 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.1848, allocations: 11.98 kB / 0.6425 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.1853, allocations: 31.97 kB / 0.6425 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1853, allocations: 11.98 kB / 0.6425 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.1854, allocations: 63.91 kB / 0.6426 GB, free: 9.145 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002838/0.1857, allocations: 295.1 kB / 0.6429 GB, free: 8.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1857, allocations: 0 / 0.6429 GB, free: 8.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1861, allocations: 60 kB / 0.6429 GB, free: 8.801 MB / 494.1 MB 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.002135/0.1882, allocations: 1.016 MB / 0.6439 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.1896, allocations: 449.1 kB / 0.6443 GB, free: 7.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1896, allocations: 0 / 0.6443 GB, free: 7.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.1904, allocations: 119.8 kB / 0.6445 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1908, allocations: 29.86 kB / 0.6445 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.1949, allocations: 2.781 MB / 0.6472 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1953, allocations: 0.7708 MB / 0.648 GB, free: 3.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.119e-05/0.1954, allocations: 17.08 kB / 0.648 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.1954, allocations: 27.42 kB / 0.648 GB, free: 3.395 MB / 494.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1954, allocations: 0 / 0.648 GB, free: 3.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.2213, allocations: 6.228 MB / 0.6541 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/7.914, allocations: 3.984 kB / 0.6541 GB, free: 13.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)