Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002593/0.002593, allocations: 286.6 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.507 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 102.2 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.17, allocations: 89.16 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002687/0.1728, allocations: 1.571 MB / 0.6945 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1739, allocations: 0.5368 MB / 0.695 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.174, allocations: 0 / 0.695 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.088e-05/0.1741, allocations: 13.64 kB / 0.6951 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.1742, allocations: 23.84 kB / 0.6951 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.1749, allocations: 285 kB / 0.6953 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.1755, allocations: 0.5042 MB / 0.6958 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.1755, allocations: 11.98 kB / 0.6958 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.176, allocations: 339 kB / 0.6962 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1763, allocations: 167.2 kB / 0.6963 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.517e-05/0.1764, allocations: 28 kB / 0.6964 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.1764, allocations: 28 kB / 0.6964 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1766, allocations: 123.5 kB / 0.6965 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.1768, allocations: 194.8 kB / 0.6967 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.1773, allocations: 434.7 kB / 0.6971 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1773, allocations: 0 / 0.6971 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1773, allocations: 0 / 0.6971 GB, free: 496 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1773, allocations: 0 / 0.6971 GB, free: 496 kB / 494.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.001414/0.1788, allocations: 0.8703 MB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1788, allocations: 8.031 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.179, allocations: 48.47 kB / 0.698 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1794, allocations: 314.2 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.1794, allocations: 16.36 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.1795, allocations: 28.36 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1806, allocations: 218 kB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1806, allocations: 192 / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.1806, allocations: 11.92 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1806, allocations: 3.984 kB / 0.6986 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.1814, allocations: 99.92 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.1819, allocations: 393.2 kB / 0.699 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.183, allocations: 174.4 kB / 0.6992 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.1838, allocations: 116.7 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1838, allocations: 4 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009936/0.1848, allocations: 219.1 kB / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1848, allocations: 0 / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002693/0.1875, allocations: 490.3 kB / 0.7 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.1876, allocations: 63.34 kB / 0.7001 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.1881, allocations: 413.9 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.1882, allocations: 37.7 kB / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1883, allocations: 105.3 kB / 0.7006 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1883, allocations: 27.61 kB / 0.7006 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.1886, allocations: 129.3 kB / 0.7007 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1887, allocations: 322.8 kB / 0.7011 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.189, allocations: 119.9 kB / 0.7012 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.1894, allocations: 170.6 kB / 0.7013 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.1898, allocations: 283.5 kB / 0.7016 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1898, allocations: 0 / 0.7016 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008956/0.1907, allocations: 496.6 kB / 0.7021 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/0.1908, allocations: 91.31 kB / 0.7022 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1908, allocations: 0 / 0.7022 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1909, allocations: 4.188 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1911, allocations: 23.92 kB / 0.7022 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1911, allocations: 4 kB / 0.7022 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.1916, allocations: 67.67 kB / 0.7023 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/0.1917, allocations: 63.97 kB / 0.7023 GB, free: 10.81 MB / 0.4981 GB 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.000251/0.192, allocations: 196 kB / 0.7025 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.192, allocations: 39.47 kB / 0.7025 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.1921, allocations: 43.73 kB / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1921, allocations: 0 / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1921, allocations: 0 / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1921, allocations: 4 kB / 0.7026 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.1945, allocations: 0.7491 MB / 0.7033 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1945, allocations: 0 / 0.7033 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.1946, allocations: 7.984 kB / 0.7033 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1946, allocations: 0 / 0.7033 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.1946, allocations: 15.98 kB / 0.7033 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.1946, allocations: 7.984 kB / 0.7033 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1946, allocations: 3.984 kB / 0.7034 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.1965, allocations: 475.4 kB / 0.7038 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.1967, allocations: 204.4 kB / 0.704 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.1968, allocations: 15.98 kB / 0.704 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.1973, allocations: 31.97 kB / 0.704 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1974, allocations: 11.98 kB / 0.7041 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/0.1975, allocations: 59.97 kB / 0.7041 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000374/0.1978, allocations: 291.1 kB / 0.7044 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1979, allocations: 3.938 kB / 0.7044 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003838/0.1982, allocations: 68 kB / 0.7045 GB, free: 8.512 MB / 0.4981 GB 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.0001647/0.1984, allocations: 120.1 kB / 0.7046 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.1998, allocations: 448.7 kB / 0.705 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.1998, allocations: 4 kB / 0.705 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.2006, allocations: 120.3 kB / 0.7051 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.201, allocations: 25.48 kB / 0.7051 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2028, allocations: 0.6725 MB / 0.7058 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.2032, allocations: 0.7669 MB / 0.7066 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.2033, allocations: 13.03 kB / 0.7066 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.2034, allocations: 19.42 kB / 0.7066 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2034, allocations: 0 / 0.7066 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.009854/0.2132, allocations: 5.143 MB / 0.7116 GB, free: 1.027 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)