Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.316/1.316, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009716/0.0009719, allocations: 174.7 kB / 325.8 MB, free: 2.707 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.476/1.476, allocations: 205 MB / 0.576 GB, free: 21.01 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.000652/0.000652, allocations: 95.3 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 8.75 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001645/0.1678, allocations: 1.222 MB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.1688, allocations: 445 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.761e-05/0.1689, allocations: 0 / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.169, allocations: 3.938 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.1692, allocations: 16.3 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007774/0.1699, allocations: 229.4 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1703, allocations: 291.9 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.1703, allocations: 8 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.1707, allocations: 206.3 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1709, allocations: 123.6 kB / 0.8987 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.171, allocations: 16 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.1711, allocations: 8 kB / 0.8987 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1712, allocations: 71.78 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1713, allocations: 123.3 kB / 0.8989 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1716, allocations: 279 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1716, allocations: 0 / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1716, allocations: 0 / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.1716, allocations: 0 / 0.8991 GB, free: 65.07 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.0009363/0.1726, allocations: 0.6104 MB / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1726, allocations: 8.031 kB / 0.8997 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.1727, allocations: 38.55 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1728, allocations: 35.62 kB / 0.8998 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1731, allocations: 262.2 kB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.1731, allocations: 15.98 kB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.1732, allocations: 20 kB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.1735, allocations: 144.2 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1735, allocations: 0 / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1735, allocations: 15.98 kB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1735, allocations: 0 / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1736, allocations: 51.97 kB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.174, allocations: 305.4 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1742, allocations: 130.6 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1744, allocations: 60.83 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1744, allocations: 4 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003988/0.1748, allocations: 219.4 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.1748, allocations: 11.94 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004939/0.1753, allocations: 267.9 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1754, allocations: 63.39 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1756, allocations: 290.9 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.1756, allocations: 33.7 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.1757, allocations: 97.08 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.1757, allocations: 47.42 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.1758, allocations: 37.7 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.1759, allocations: 326.8 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.176, allocations: 96.17 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.1762, allocations: 142.4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1765, allocations: 238.1 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1765, allocations: 3.938 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005557/0.1771, allocations: 415.3 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.1771, allocations: 71.58 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1771, allocations: 7.984 kB / 0.903 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1772, allocations: 7.938 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1773, allocations: 27.92 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1773, allocations: 4 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.1778, allocations: 71.77 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.1779, allocations: 59.97 kB / 0.9032 GB, free: 60.57 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.000129/0.178, allocations: 164 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1781, allocations: 23.72 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.1781, allocations: 34.19 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1781, allocations: 0 / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1781, allocations: 0 / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1782, allocations: 7.984 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.1787, allocations: 0.5683 MB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1787, allocations: 4 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.1788, allocations: 8 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1788, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1788, allocations: 15.97 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1788, allocations: 4 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1788, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1791, allocations: 325.2 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.1793, allocations: 152.7 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.1793, allocations: 12 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1795, allocations: 11.98 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1796, allocations: 15.97 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.1796, allocations: 31.98 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001202/0.1797, allocations: 209.9 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1798, allocations: 7.938 kB / 0.9047 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002714/0.18, allocations: 44 kB / 0.9048 GB, free: 58.86 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.0004661/0.1805, allocations: 0.876 MB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.1809, allocations: 344.4 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1809, allocations: 4.062 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.181, allocations: 75.89 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1813, allocations: 28.8 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1834, allocations: 2.458 MB / 0.9085 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.1835, allocations: 0.7434 MB / 0.9092 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.1836, allocations: 37.42 kB / 0.9092 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1838, allocations: 43.41 kB / 0.9093 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/0.1838, allocations: 4 kB / 0.9093 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5692/0.753, allocations: 4.994 MB / 0.9141 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.7532, allocations: 226.8 kB / 0.9144 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.556, allocations: 0 / 0.9144 GB, free: 48.95 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)