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.001238/0.001238, allocations: 93.34 kB / 16.02 MB, free: 84 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.001939/0.001939, allocations: 177.8 kB / 16.92 MB, free: 6.684 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.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7108/0.7108, allocations: 115.5 MB / 407.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003266, allocations: 9.375 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001766/0.1551, allocations: 1.225 MB / 0.5612 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1566, allocations: 0.5809 MB / 0.5618 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.1566, allocations: 4 kB / 0.5618 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.236e-05/0.1567, allocations: 7.938 kB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1569, allocations: 31.84 kB / 0.5618 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007542/0.1576, allocations: 276.4 kB / 0.5621 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.1582, allocations: 455.3 kB / 0.5625 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.1583, allocations: 4 kB / 0.5625 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005633/0.1588, allocations: 307 kB / 0.5628 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.1592, allocations: 167.4 kB / 0.563 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1593, allocations: 15.98 kB / 0.563 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.956e-05/0.1594, allocations: 16 kB / 0.563 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.1596, allocations: 111.5 kB / 0.5631 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.1598, allocations: 204.7 kB / 0.5633 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1603, allocations: 410.7 kB / 0.5637 GB, free: 5.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1603, allocations: 0 / 0.5637 GB, free: 5.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1603, allocations: 0 / 0.5637 GB, free: 5.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1603, allocations: 0 / 0.5637 GB, free: 5.18 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.001248/0.1615, allocations: 0.7576 MB / 0.5645 GB, free: 4.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1616, allocations: 12.03 kB / 0.5645 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.1617, allocations: 38.75 kB / 0.5645 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1618, allocations: 56.45 kB / 0.5646 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.1622, allocations: 314.2 kB / 0.5649 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.1623, allocations: 12.38 kB / 0.5649 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/0.1624, allocations: 32.36 kB / 0.5649 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.1634, allocations: 222 kB / 0.5651 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1634, allocations: 7.922 kB / 0.5651 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1634, allocations: 4 kB / 0.5651 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1634, allocations: 0 / 0.5651 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.1643, allocations: 111.9 kB / 0.5652 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.1647, allocations: 385.2 kB / 0.5656 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.1658, allocations: 198.4 kB / 0.5658 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008071/0.1667, allocations: 124.7 kB / 0.5659 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1667, allocations: 4 kB / 0.5659 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009655/0.1677, allocations: 241.6 kB / 0.5661 GB, free: 2.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.1677, allocations: 0 / 0.5661 GB, free: 2.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002653/0.1703, allocations: 0.5008 MB / 0.5666 GB, free: 1.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1704, allocations: 67.38 kB / 0.5667 GB, free: 1.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.1708, allocations: 409.9 kB / 0.5671 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.1709, allocations: 45.69 kB / 0.5671 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.171, allocations: 89.45 kB / 0.5672 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.171, allocations: 39.52 kB / 0.5673 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.1711, allocations: 45.62 kB / 0.5673 GB, free: 1.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1712, allocations: 326.8 kB / 0.5676 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1715, allocations: 115.9 kB / 0.5677 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.1718, allocations: 163.5 kB / 0.5679 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.1721, allocations: 279.3 kB / 0.5681 GB, free: 344 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1721, allocations: 4 kB / 0.5681 GB, free: 340 kB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008175/0.173, allocations: 488.7 kB / 0.5686 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.1731, allocations: 91.31 kB / 0.5687 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1731, allocations: 4 kB / 0.5687 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1731, allocations: 4 kB / 0.5687 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1733, allocations: 19.92 kB / 0.5687 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1733, allocations: 7.984 kB / 0.5687 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/0.1738, allocations: 71.97 kB / 0.5688 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.1739, allocations: 63.98 kB / 0.5689 GB, free: 15.57 MB / 446.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.0002276/0.1742, allocations: 188 kB / 0.569 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.1742, allocations: 43.45 kB / 0.5691 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.1743, allocations: 47.75 kB / 0.5691 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1743, allocations: 0 / 0.5691 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1743, allocations: 0 / 0.5691 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1743, allocations: 0 / 0.5691 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.1765, allocations: 0.7773 MB / 0.5699 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1766, allocations: 0 / 0.5699 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.1766, allocations: 4 kB / 0.5699 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1766, allocations: 3.984 kB / 0.5699 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.1766, allocations: 23.97 kB / 0.5699 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1767, allocations: 3.984 kB / 0.5699 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1767, allocations: 0 / 0.5699 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.1785, allocations: 0.4909 MB / 0.5704 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.1787, allocations: 200.4 kB / 0.5706 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.1788, allocations: 16 kB / 0.5706 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.1793, allocations: 39.97 kB / 0.5706 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1794, allocations: 11.92 kB / 0.5707 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.1794, allocations: 55.97 kB / 0.5707 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.1797, allocations: 295.1 kB / 0.571 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1797, allocations: 0 / 0.571 GB, free: 13.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.1801, allocations: 71.98 kB / 0.5711 GB, free: 13.21 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.00217/0.1823, allocations: 1.033 MB / 0.5721 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1836, allocations: 455.6 kB / 0.5725 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1836, allocations: 0 / 0.5725 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.1844, allocations: 132.2 kB / 0.5726 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1848, allocations: 23.23 kB / 0.5727 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.1892, allocations: 2.907 MB / 0.5755 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1895, allocations: 0.7709 MB / 0.5762 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.037e-05/0.1896, allocations: 13.08 kB / 0.5763 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.1897, allocations: 27.42 kB / 0.5763 GB, free: 7.664 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1897, allocations: 0 / 0.5763 GB, free: 7.664 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.2069, allocations: 5.906 MB / 0.5821 GB, free: 1.812 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.2071, allocations: 196.8 kB / 0.5822 GB, free: 1.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.065, allocations: 0 / 0.5822 GB, free: 1.559 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)