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.001042/0.001042, allocations: 98.89 kB / 16.02 MB, free: 80 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.001217/0.001217, allocations: 179.1 kB / 16.92 MB, free: 6.918 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.524/1.524, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003348, allocations: 9.312 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 77.52 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001971/0.1509, allocations: 1.225 MB / 0.5612 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1528, allocations: 0.585 MB / 0.5618 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.1529, allocations: 4 kB / 0.5618 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.153, allocations: 3.938 kB / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1532, allocations: 27.91 kB / 0.5618 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.154, allocations: 285 kB / 0.5621 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.1545, allocations: 451.3 kB / 0.5625 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.1546, allocations: 8 kB / 0.5625 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.1551, allocations: 311 kB / 0.5628 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.1554, allocations: 159.3 kB / 0.563 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.981e-05/0.1555, allocations: 16 kB / 0.563 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.1556, allocations: 12 kB / 0.563 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1557, allocations: 115.5 kB / 0.5631 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.156, allocations: 204.7 kB / 0.5633 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.1564, allocations: 414.6 kB / 0.5637 GB, free: 5.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1564, allocations: 4 kB / 0.5637 GB, free: 5.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1564, allocations: 0 / 0.5637 GB, free: 5.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1565, allocations: 4 kB / 0.5637 GB, free: 5.152 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.001114/0.1576, allocations: 0.7498 MB / 0.5645 GB, free: 4.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1576, allocations: 8.031 kB / 0.5645 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.1577, allocations: 38.75 kB / 0.5645 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1578, allocations: 52.45 kB / 0.5646 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1582, allocations: 310.2 kB / 0.5649 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.1583, allocations: 16.38 kB / 0.5649 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.801e-05/0.1584, allocations: 28.36 kB / 0.5649 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.1594, allocations: 233.9 kB / 0.5651 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1594, allocations: 3.938 kB / 0.5651 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.1595, allocations: 0 / 0.5651 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1595, allocations: 4 kB / 0.5651 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.1603, allocations: 107.9 kB / 0.5652 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.1608, allocations: 389.2 kB / 0.5656 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1619, allocations: 198.4 kB / 0.5658 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/0.1628, allocations: 128.2 kB / 0.5659 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.1628, allocations: 7.922 kB / 0.5659 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.1639, allocations: 239 kB / 0.5662 GB, free: 2.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.1639, allocations: 3.938 kB / 0.5662 GB, free: 2.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002822/0.1667, allocations: 0.5009 MB / 0.5666 GB, free: 1.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1668, allocations: 63.39 kB / 0.5667 GB, free: 1.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.1672, allocations: 413.9 kB / 0.5671 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.1673, allocations: 41.69 kB / 0.5671 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.1674, allocations: 93.39 kB / 0.5672 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.1674, allocations: 39.52 kB / 0.5673 GB, free: 1.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.1675, allocations: 37.69 kB / 0.5673 GB, free: 1.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1677, allocations: 326.8 kB / 0.5676 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.1679, allocations: 119.9 kB / 0.5677 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.1682, allocations: 175.5 kB / 0.5679 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1686, allocations: 275.3 kB / 0.5682 GB, free: 316 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1686, allocations: 0 / 0.5682 GB, free: 316 kB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008486/0.1695, allocations: 496 kB / 0.5686 GB, free: 15.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1696, allocations: 91.31 kB / 0.5687 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1696, allocations: 0 / 0.5687 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1696, allocations: 4 kB / 0.5687 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1698, allocations: 27.91 kB / 0.5687 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1698, allocations: 0 / 0.5687 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.1704, allocations: 71.98 kB / 0.5688 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.1705, allocations: 59.98 kB / 0.5689 GB, free: 15.55 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.0002702/0.1707, allocations: 196 kB / 0.5691 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.1708, allocations: 43.45 kB / 0.5691 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.1709, allocations: 39.75 kB / 0.5691 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1709, allocations: 0 / 0.5691 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1709, allocations: 4 kB / 0.5691 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1709, allocations: 0 / 0.5691 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.1732, allocations: 0.7675 MB / 0.5699 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1732, allocations: 7.938 kB / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.1733, allocations: 4 kB / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1733, allocations: 0 / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.1733, allocations: 19.97 kB / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1733, allocations: 4 kB / 0.5699 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1733, allocations: 0 / 0.5699 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.1752, allocations: 0.4898 MB / 0.5704 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.1755, allocations: 204.4 kB / 0.5706 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.1756, allocations: 11.94 kB / 0.5706 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.1761, allocations: 35.95 kB / 0.5706 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1761, allocations: 8 kB / 0.5707 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.1762, allocations: 63.97 kB / 0.5707 GB, free: 13.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000309/0.1765, allocations: 299.1 kB / 0.571 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1765, allocations: 3.938 kB / 0.571 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1769, allocations: 63.98 kB / 0.5711 GB, free: 13.2 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.002198/0.1791, allocations: 1.04 MB / 0.5721 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.1805, allocations: 452 kB / 0.5725 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1805, allocations: 384 / 0.5725 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000829/0.1813, allocations: 131.9 kB / 0.5726 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1817, allocations: 25.55 kB / 0.5727 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.1862, allocations: 2.903 MB / 0.5755 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1866, allocations: 0.7709 MB / 0.5762 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.732e-05/0.1867, allocations: 17.08 kB / 0.5763 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.1868, allocations: 27.42 kB / 0.5763 GB, free: 7.645 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1868, allocations: 0 / 0.5763 GB, free: 7.645 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.2047, allocations: 5.906 MB / 0.5821 GB, free: 1.789 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.205, allocations: 204.8 kB / 0.5823 GB, free: 1.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.13, allocations: 0 / 0.5823 GB, free: 1.535 MB / 446.1 MB (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)