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.001456/0.001456, allocations: 102.2 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.001703/0.001703, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7778/0.7778, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.34 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002823/0.1577, allocations: 1.501 MB / 0.633 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.159, allocations: 0.5422 MB / 0.6335 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.1591, allocations: 4 kB / 0.6336 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.273e-05/0.1592, allocations: 7.875 kB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1594, allocations: 27.84 kB / 0.6336 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.1602, allocations: 309.8 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.1608, allocations: 0.5071 MB / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.1608, allocations: 12 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.1612, allocations: 267.6 kB / 0.6346 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.1616, allocations: 147.4 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.937e-05/0.1617, allocations: 28 kB / 0.6348 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.1618, allocations: 24 kB / 0.6348 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1619, allocations: 119.6 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1621, allocations: 191.1 kB / 0.6351 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.1625, allocations: 414.4 kB / 0.6355 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1625, allocations: 7.938 kB / 0.6355 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1625, allocations: 0 / 0.6355 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1625, allocations: 0 / 0.6355 GB, free: 0.8477 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.001194/0.1637, allocations: 0.8703 MB / 0.6364 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1638, allocations: 8.031 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.1638, allocations: 46.72 kB / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1639, allocations: 52.47 kB / 0.6365 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1643, allocations: 306.3 kB / 0.6368 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.1643, allocations: 16.36 kB / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.1644, allocations: 28.38 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009797/0.1654, allocations: 217.2 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1654, allocations: 3.938 kB / 0.637 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.1655, allocations: 0 / 0.637 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1655, allocations: 8 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.1662, allocations: 99.92 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1667, allocations: 381.2 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1677, allocations: 178.5 kB / 0.6377 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000759/0.1685, allocations: 112.8 kB / 0.6378 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1685, allocations: 384 / 0.6378 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000969/0.1695, allocations: 235 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1695, allocations: 0 / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00258/0.1721, allocations: 483.1 kB / 0.6385 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1722, allocations: 67.38 kB / 0.6385 GB, free: 13.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.1725, allocations: 405.9 kB / 0.6389 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.1726, allocations: 41.69 kB / 0.639 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.1727, allocations: 93.36 kB / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1727, allocations: 43.55 kB / 0.6391 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.1729, allocations: 133.2 kB / 0.6392 GB, free: 12.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1731, allocations: 322.8 kB / 0.6395 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.1733, allocations: 115.9 kB / 0.6396 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1736, allocations: 175 kB / 0.6398 GB, free: 12.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.174, allocations: 271.5 kB / 0.6401 GB, free: 11.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.174, allocations: 4 kB / 0.6401 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008053/0.1748, allocations: 0.4966 MB / 0.6405 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.1749, allocations: 91.31 kB / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1749, allocations: 4 kB / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1749, allocations: 0 / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1751, allocations: 27.92 kB / 0.6407 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1751, allocations: 4 kB / 0.6407 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.1756, allocations: 52.05 kB / 0.6407 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/0.1757, allocations: 63.97 kB / 0.6408 GB, free: 11.12 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.000229/0.1759, allocations: 195.9 kB / 0.641 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.176, allocations: 39.47 kB / 0.641 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.1761, allocations: 39.75 kB / 0.641 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1761, allocations: 11.97 kB / 0.641 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1761, allocations: 0 / 0.641 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1761, allocations: 4 kB / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.1784, allocations: 0.7443 MB / 0.6418 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1784, allocations: 3.938 kB / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.1784, allocations: 11.98 kB / 0.6418 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1785, allocations: 4 kB / 0.6418 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.1785, allocations: 15.98 kB / 0.6418 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1785, allocations: 0 / 0.6418 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1785, allocations: 0 / 0.6418 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.1803, allocations: 473.9 kB / 0.6423 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.1806, allocations: 204.4 kB / 0.6425 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.1807, allocations: 15.98 kB / 0.6425 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.1812, allocations: 27.97 kB / 0.6425 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.1812, allocations: 11.98 kB / 0.6425 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/0.1813, allocations: 51.98 kB / 0.6426 GB, free: 9.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002845/0.1816, allocations: 303.1 kB / 0.6429 GB, free: 8.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1816, allocations: 3.938 kB / 0.6429 GB, free: 8.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.182, allocations: 63.98 kB / 0.6429 GB, free: 8.832 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.002119/0.1841, allocations: 1.017 MB / 0.6439 GB, free: 7.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.1854, allocations: 438.7 kB / 0.6443 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1854, allocations: 8.062 kB / 0.6443 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000781/0.1862, allocations: 119.8 kB / 0.6445 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1865, allocations: 26.89 kB / 0.6445 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.1906, allocations: 2.777 MB / 0.6472 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1909, allocations: 0.7747 MB / 0.6479 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.842e-05/0.191, allocations: 13.08 kB / 0.648 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.191, allocations: 27.42 kB / 0.648 GB, free: 3.434 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.191, allocations: 4 kB / 0.648 GB, free: 3.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.2139, allocations: 6.224 MB / 0.6541 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.797, allocations: 11.16 kB / 0.6541 GB, free: 13.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)