Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000869/0.000869, allocations: 185.8 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007319/0.0007316, allocations: 86.22 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 11.34 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001243/0.1575, allocations: 1.218 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000685/0.1581, allocations: 450.7 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.1582, allocations: 0 / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.191e-05/0.1583, allocations: 3.938 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.1584, allocations: 20.28 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1588, allocations: 218.4 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.159, allocations: 291.9 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.1591, allocations: 11.98 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1593, allocations: 214.3 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1594, allocations: 127.6 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.1595, allocations: 8 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.316e-05/0.1596, allocations: 12 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.1596, allocations: 75.78 kB / 0.8987 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.1597, allocations: 123.3 kB / 0.8989 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1599, allocations: 275 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1599, allocations: 0 / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1599, allocations: 4 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.16, allocations: 0 / 0.8991 GB, free: 65.04 MB / 0.6042 GB 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.0007589/0.1607, allocations: 0.6103 MB / 0.8997 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1608, allocations: 8.031 kB / 0.8997 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.1608, allocations: 42.5 kB / 0.8998 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.1609, allocations: 35.62 kB / 0.8998 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1611, allocations: 262.2 kB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1611, allocations: 11.98 kB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.1612, allocations: 16 kB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1614, allocations: 149.5 kB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1614, allocations: 0 / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1614, allocations: 4 kB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1614, allocations: 8 kB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1616, allocations: 43.97 kB / 0.9003 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.1618, allocations: 313.4 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.162, allocations: 130.6 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.1621, allocations: 56.83 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1621, allocations: 4 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.1625, allocations: 225.9 kB / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.1625, allocations: 0 / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004282/0.1629, allocations: 273.2 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1629, allocations: 59.41 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1631, allocations: 290.9 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1632, allocations: 41.69 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.1632, allocations: 89.14 kB / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.1632, allocations: 47.44 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.1633, allocations: 33.7 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.1633, allocations: 330.7 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1635, allocations: 100.2 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.1637, allocations: 146.4 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.1639, allocations: 240.5 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1639, allocations: 3.938 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004938/0.1644, allocations: 412.7 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.1645, allocations: 71.39 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1645, allocations: 3.984 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1645, allocations: 12.12 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1647, allocations: 35.91 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1647, allocations: 4 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.1651, allocations: 67.77 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.1652, allocations: 51.98 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001392/0.1654, allocations: 180 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.1654, allocations: 23.72 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1654, allocations: 30.19 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1655, allocations: 4 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1655, allocations: 3.938 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1655, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.166, allocations: 0.5712 MB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1661, allocations: 4 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.1661, allocations: 7.984 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1661, allocations: 0 / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1661, allocations: 15.98 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1661, allocations: 0 / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1661, allocations: 0 / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1664, allocations: 327 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1666, allocations: 152.7 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.1666, allocations: 8 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1668, allocations: 19.92 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1668, allocations: 11.98 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.1669, allocations: 31.97 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001142/0.167, allocations: 205.9 kB / 0.9047 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.167, allocations: 0 / 0.9047 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000266/0.1673, allocations: 51.98 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0004391/0.1677, allocations: 0.8745 MB / 0.9056 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.1681, allocations: 342.5 kB / 0.906 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1681, allocations: 384 / 0.906 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1682, allocations: 71.91 kB / 0.906 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1685, allocations: 34.66 kB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1706, allocations: 2.449 MB / 0.9085 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.1707, allocations: 0.7438 MB / 0.9092 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.1708, allocations: 41.42 kB / 0.9092 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1709, allocations: 39.42 kB / 0.9093 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1709, allocations: 0 / 0.9093 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.326/0.497, allocations: 5.017 MB / 0.9142 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.4972, allocations: 227.4 kB / 0.9144 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.357, allocations: 1.547 kB / 0.9144 GB, free: 48.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)