Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001137/0.001137, allocations: 102 kB / 16.29 MB, free: 6.43 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.001184/0.001184, allocations: 185.1 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 292.3 MB / 0.5495 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1884, allocations: 114.5 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002411/0.1908, allocations: 1.495 MB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000815/0.1916, allocations: 419.3 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.1917, allocations: 3.938 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.733e-05/0.1918, allocations: 3.938 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1919, allocations: 28.17 kB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.1925, allocations: 254.6 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.1928, allocations: 315.6 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.1928, allocations: 15.92 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.1931, allocations: 203.7 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1933, allocations: 112 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.1934, allocations: 20 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.1934, allocations: 20 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.276e-05/0.1935, allocations: 83.7 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1937, allocations: 123.4 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.194, allocations: 295.3 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.194, allocations: 4 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.194, allocations: 0 / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.194, allocations: 0 / 0.7873 GB, free: 0.4922 MB / 0.6544 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.3041/0.4981, allocations: 0.737 MB / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.4982, allocations: 9.938 kB / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.4982, allocations: 35.06 kB / 0.7881 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4985, allocations: 260.9 kB / 0.7884 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.4985, allocations: 16.3 kB / 0.7884 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.4986, allocations: 15.72 kB / 0.7884 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.4994, allocations: 210.3 kB / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4994, allocations: 0 / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.4994, allocations: 7.172 kB / 0.7886 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4994, allocations: 3 kB / 0.7886 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.5, allocations: 89.94 kB / 0.7887 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.5002, allocations: 317.9 kB / 0.789 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.501, allocations: 169.5 kB / 0.7891 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.5016, allocations: 112.1 kB / 0.7892 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5016, allocations: 3.625 kB / 0.7893 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/0.5024, allocations: 206.8 kB / 0.7895 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.5024, allocations: 0.5938 kB / 0.7895 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.001895/0.5043, allocations: 455.8 kB / 0.7899 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.5043, allocations: 61.94 kB / 0.7899 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.5045, allocations: 289 kB / 0.7902 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.5046, allocations: 44.14 kB / 0.7903 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.5046, allocations: 87.25 kB / 0.7903 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.5046, allocations: 38.73 kB / 0.7904 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.5047, allocations: 107 kB / 0.7905 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.88e-05/0.5048, allocations: 321.1 kB / 0.7908 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.5049, allocations: 81.25 kB / 0.7909 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.5051, allocations: 133.6 kB / 0.791 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.5053, allocations: 236.6 kB / 0.7912 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5053, allocations: 0.6875 kB / 0.7912 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004664/0.5058, allocations: 390.4 kB / 0.7916 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.5059, allocations: 82.09 kB / 0.7917 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5059, allocations: 4.047 kB / 0.7917 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5059, allocations: 2.219 kB / 0.7917 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.5061, allocations: 25.61 kB / 0.7917 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5061, allocations: 1.406 kB / 0.7917 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.5064, allocations: 58.14 kB / 0.7918 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.5065, allocations: 42.72 kB / 0.7918 GB, free: 47.3 MB / 0.6544 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.0001155/0.5066, allocations: 167.3 kB / 0.792 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.5067, allocations: 33.41 kB / 0.792 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.5067, allocations: 27.94 kB / 0.792 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5067, allocations: 0.625 kB / 0.792 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5067, allocations: 4.094 kB / 0.792 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5067, allocations: 3.953 kB / 0.792 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.5083, allocations: 0.6924 MB / 0.7927 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5083, allocations: 0 / 0.7927 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.5083, allocations: 10.41 kB / 0.7927 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5083, allocations: 0 / 0.7927 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.5084, allocations: 20.27 kB / 0.7927 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5084, allocations: 0 / 0.7927 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5084, allocations: 0 / 0.7927 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.5097, allocations: 451.6 kB / 0.7932 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5098, allocations: 163.5 kB / 0.7933 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.5098, allocations: 7.156 kB / 0.7933 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.5102, allocations: 35.72 kB / 0.7934 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.5103, allocations: 12.73 kB / 0.7934 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.5103, allocations: 44.44 kB / 0.7934 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001263/0.5104, allocations: 209.1 kB / 0.7936 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5104, allocations: 0 / 0.7936 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002741/0.5107, allocations: 48.59 kB / 0.7937 GB, free: 46.52 MB / 0.6544 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.0001032/0.5108, allocations: 117.2 kB / 0.7938 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.5117, allocations: 383.8 kB / 0.7941 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5117, allocations: 0 / 0.7941 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.5123, allocations: 119.8 kB / 0.7943 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.5126, allocations: 29.22 kB / 0.7943 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/0.5135, allocations: 424.3 kB / 0.7947 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.5137, allocations: 0.7396 MB / 0.7954 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.5137, allocations: 10.19 kB / 0.7954 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.5138, allocations: 25.2 kB / 0.7954 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.5138, allocations: 0 / 0.7954 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.005834/0.5196, allocations: 3.623 MB / 0.799 GB, free: 45.17 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)