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.001334/0.001334, allocations: 106.1 kB / 16.36 MB, free: 6.008 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.001122/0.001122, allocations: 193.9 kB / 17.3 MB, free: 5.613 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001462/0.001462, allocations: 67.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2283, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002646/0.231, allocations: 1.48 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.2319, allocations: 431.2 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.2319, allocations: 0 / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.477e-05/0.232, allocations: 7.922 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.2322, allocations: 28.17 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.2328, allocations: 246.5 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.2333, allocations: 331.5 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.2333, allocations: 8 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.2336, allocations: 195.7 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2338, allocations: 116 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-05/0.2339, allocations: 20 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.234, allocations: 24 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2341, allocations: 75.78 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2343, allocations: 127.4 kB / 0.7878 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3521/0.5864, allocations: 290.2 kB / 0.788 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5864, allocations: 0 / 0.788 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5864, allocations: 0 / 0.788 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5865, allocations: 0 / 0.788 GB, free: 47.14 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.0008664/0.5873, allocations: 0.7416 MB / 0.7888 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.5874, allocations: 11.53 kB / 0.7888 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.5875, allocations: 30.47 kB / 0.7888 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.5877, allocations: 262.1 kB / 0.7891 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.5878, allocations: 19.86 kB / 0.7891 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.5878, allocations: 17.06 kB / 0.7891 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009079/0.5887, allocations: 204.7 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5888, allocations: 3.125 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.5888, allocations: 4.5 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5888, allocations: 2.625 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.5895, allocations: 97.25 kB / 0.7894 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.5898, allocations: 313.1 kB / 0.7897 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.5907, allocations: 171 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.5914, allocations: 110.5 kB / 0.79 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.5915, allocations: 3.688 kB / 0.79 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008398/0.5923, allocations: 214.5 kB / 0.7902 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/0.5923, allocations: 1.172 kB / 0.7902 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002309/0.5946, allocations: 444.7 kB / 0.7906 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.5947, allocations: 63.42 kB / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.5949, allocations: 298.1 kB / 0.7909 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.5949, allocations: 34.89 kB / 0.791 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.595, allocations: 94.27 kB / 0.7911 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.595, allocations: 39.58 kB / 0.7911 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.5952, allocations: 99.56 kB / 0.7912 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.5952, allocations: 325.5 kB / 0.7915 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.5954, allocations: 79.09 kB / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.5956, allocations: 135.5 kB / 0.7917 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.5958, allocations: 242.4 kB / 0.7919 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5958, allocations: 2.875 kB / 0.7919 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005168/0.5963, allocations: 392.8 kB / 0.7923 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.5964, allocations: 71.03 kB / 0.7924 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5964, allocations: 4.328 kB / 0.7924 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5964, allocations: 3.469 kB / 0.7924 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.5966, allocations: 21.69 kB / 0.7924 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5966, allocations: 9.938 kB / 0.7924 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.5971, allocations: 55.67 kB / 0.7925 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.5971, allocations: 42.48 kB / 0.7925 GB, free: 44.95 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.0001415/0.5973, allocations: 167.9 kB / 0.7927 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.5973, allocations: 30.75 kB / 0.7927 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.5974, allocations: 27.33 kB / 0.7927 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5974, allocations: 9.219 kB / 0.7927 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5974, allocations: 0 / 0.7927 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5974, allocations: 0 / 0.7927 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.5993, allocations: 0.6917 MB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5993, allocations: 0 / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.5994, allocations: 6.672 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5994, allocations: 6.094 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.5994, allocations: 12.27 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5994, allocations: 3.391 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5994, allocations: 0.7969 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.601, allocations: 463.3 kB / 0.7939 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.6011, allocations: 158.3 kB / 0.794 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.6012, allocations: 7.594 kB / 0.794 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.6017, allocations: 34.38 kB / 0.7941 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.6017, allocations: 11.75 kB / 0.7941 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.6017, allocations: 43.09 kB / 0.7941 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001343/0.6019, allocations: 207.4 kB / 0.7943 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6019, allocations: 0 / 0.7943 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003037/0.6022, allocations: 51.5 kB / 0.7944 GB, free: 44.17 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.0001057/0.6023, allocations: 118.7 kB / 0.7945 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.6034, allocations: 379.4 kB / 0.7948 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6034, allocations: 3.062 kB / 0.7948 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007189/0.6041, allocations: 120.5 kB / 0.795 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.6044, allocations: 26.58 kB / 0.795 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.6056, allocations: 423.6 kB / 0.7954 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.6057, allocations: 0.7361 MB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.35e-05/0.6058, allocations: 14.91 kB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.6058, allocations: 17.22 kB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.6058, allocations: 3.406 kB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.006651/0.6125, allocations: 3.63 MB / 0.7997 GB, free: 42.8 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)