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.001652/0.001652, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.302/1.302, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6702/0.6702, allocations: 115.3 MB / 405.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 62.91 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1403, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002699/0.143, allocations: 1.575 MB / 0.5574 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1443, allocations: 0.5889 MB / 0.558 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1444, allocations: 0 / 0.558 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1445, allocations: 7.922 kB / 0.558 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1446, allocations: 23.86 kB / 0.558 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.1454, allocations: 279.6 kB / 0.5582 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.1459, allocations: 451.4 kB / 0.5587 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.146, allocations: 8 kB / 0.5587 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005274/0.1465, allocations: 311 kB / 0.559 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1468, allocations: 159.4 kB / 0.5591 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1469, allocations: 16 kB / 0.5592 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.147, allocations: 16 kB / 0.5592 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1472, allocations: 115.5 kB / 0.5593 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1474, allocations: 175 kB / 0.5594 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1478, allocations: 426.7 kB / 0.5598 GB, free: 6.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1478, allocations: 0 / 0.5598 GB, free: 6.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1478, allocations: 0 / 0.5598 GB, free: 6.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1478, allocations: 0 / 0.5598 GB, free: 6.621 MB / 430.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.001127/0.149, allocations: 0.8626 MB / 0.5607 GB, free: 5.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.149, allocations: 16.03 kB / 0.5607 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.1491, allocations: 34.75 kB / 0.5607 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.1492, allocations: 56.45 kB / 0.5608 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.1495, allocations: 318.2 kB / 0.5611 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.1496, allocations: 12.38 kB / 0.5611 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.1497, allocations: 32.36 kB / 0.5611 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1507, allocations: 213.2 kB / 0.5613 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1507, allocations: 7.938 kB / 0.5614 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.1508, allocations: 7.984 kB / 0.5614 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1508, allocations: 0 / 0.5614 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.1516, allocations: 95.92 kB / 0.5615 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.152, allocations: 393.2 kB / 0.5618 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.153, allocations: 182.4 kB / 0.562 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/0.1538, allocations: 104.8 kB / 0.5621 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1539, allocations: 11.94 kB / 0.5621 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009599/0.1548, allocations: 224.2 kB / 0.5623 GB, free: 3.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.1548, allocations: 0 / 0.5623 GB, free: 3.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002628/0.1575, allocations: 486.5 kB / 0.5628 GB, free: 3.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1575, allocations: 63.39 kB / 0.5628 GB, free: 3.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.1579, allocations: 413.9 kB / 0.5632 GB, free: 2.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.158, allocations: 45.69 kB / 0.5633 GB, free: 2.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.158, allocations: 93.36 kB / 0.5634 GB, free: 2.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.1581, allocations: 39.53 kB / 0.5634 GB, free: 2.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.1583, allocations: 129.3 kB / 0.5635 GB, free: 2.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1584, allocations: 322.8 kB / 0.5638 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.1587, allocations: 119.9 kB / 0.564 GB, free: 2.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.159, allocations: 171.5 kB / 0.5641 GB, free: 1.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.1594, allocations: 279.6 kB / 0.5644 GB, free: 1.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1594, allocations: 0 / 0.5644 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008136/0.1602, allocations: 488.7 kB / 0.5649 GB, free: 1.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.1603, allocations: 93.03 kB / 0.5649 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1603, allocations: 0 / 0.5649 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1604, allocations: 4 kB / 0.5649 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1605, allocations: 23.92 kB / 0.565 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1606, allocations: 0 / 0.565 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.1611, allocations: 67.97 kB / 0.565 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.1612, allocations: 59.98 kB / 0.5651 GB, free: 0.9102 MB / 430.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.0002196/0.1614, allocations: 192 kB / 0.5653 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.1615, allocations: 43.45 kB / 0.5653 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.1616, allocations: 43.75 kB / 0.5654 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1616, allocations: 4 kB / 0.5654 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1616, allocations: 0 / 0.5654 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1616, allocations: 0 / 0.5654 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.1639, allocations: 0.7518 MB / 0.5661 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.1639, allocations: 4 kB / 0.5661 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.1639, allocations: 0 / 0.5661 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1639, allocations: 4 kB / 0.5661 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.164, allocations: 19.97 kB / 0.5661 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.164, allocations: 0 / 0.5661 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.164, allocations: 7.984 kB / 0.5661 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.1658, allocations: 484.3 kB / 0.5666 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.166, allocations: 200.4 kB / 0.5668 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.1661, allocations: 12 kB / 0.5668 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.1666, allocations: 31.97 kB / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1667, allocations: 11.98 kB / 0.5668 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.1667, allocations: 59.91 kB / 0.5669 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.167, allocations: 295.1 kB / 0.5672 GB, free: 14.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.167, allocations: 0 / 0.5672 GB, free: 14.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003417/0.1674, allocations: 63.98 kB / 0.5672 GB, free: 14.61 MB / 446.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.002045/0.1694, allocations: 1.018 MB / 0.5682 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.1707, allocations: 442.5 kB / 0.5687 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1707, allocations: 0 / 0.5687 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008051/0.1716, allocations: 115.9 kB / 0.5688 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1719, allocations: 25.55 kB / 0.5688 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.176, allocations: 2.905 MB / 0.5716 GB, free: 9.941 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1763, allocations: 0.7712 MB / 0.5724 GB, free: 9.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.1764, allocations: 13.08 kB / 0.5724 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.1765, allocations: 27.42 kB / 0.5724 GB, free: 9.105 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1765, allocations: 0 / 0.5724 GB, free: 9.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2361/0.4126, allocations: 5.989 MB / 0.5783 GB, free: 3.117 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.4128, allocations: 206.5 kB / 0.5785 GB, free: 2.859 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.707, allocations: 0 / 0.5785 GB, free: 2.859 MB / 446.1 MB (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)