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.001311/0.001311, allocations: 99.28 kB / 16.27 MB, free: 6 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.001338/0.001338, allocations: 187 kB / 17.2 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.432/1.432, 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.818/1.818, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001724/0.001724, allocations: 63.91 kB / 0.6721 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2637, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003294/0.267, allocations: 1.492 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2682, allocations: 423.3 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.2683, allocations: 0 / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.2684, allocations: 3.938 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2685, allocations: 28.17 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.2694, allocations: 254.6 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2698, allocations: 319.5 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.2699, allocations: 4 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.2703, allocations: 203.6 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.2706, allocations: 108.1 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.2706, allocations: 20 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.2707, allocations: 20 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.2709, allocations: 79.77 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.2711, allocations: 135.3 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.2714, allocations: 287.4 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2715, allocations: 0 / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2715, allocations: 0 / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.2715, allocations: 0 / 0.7873 GB, free: 0.5352 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.4275/0.699, allocations: 0.7401 MB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.6991, allocations: 9.312 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.6992, allocations: 36.08 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.6996, allocations: 267.2 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.6996, allocations: 13.66 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.6997, allocations: 16.14 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.7006, allocations: 200.4 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.7007, allocations: 1.312 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.7007, allocations: 7.875 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7007, allocations: 3.906 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/0.7014, allocations: 98.55 kB / 0.7886 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.7017, allocations: 315.5 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.7027, allocations: 174.2 kB / 0.7891 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000682/0.7034, allocations: 106.4 kB / 0.7892 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.7035, allocations: 1.547 kB / 0.7892 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009033/0.7044, allocations: 214.7 kB / 0.7894 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 3.136e-06/0.7044, allocations: 4.891 kB / 0.7894 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002439/0.7068, allocations: 447 kB / 0.7898 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.7069, allocations: 64.08 kB / 0.7899 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.7072, allocations: 295.6 kB / 0.7902 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.7072, allocations: 38.52 kB / 0.7902 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.7073, allocations: 91.19 kB / 0.7903 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.7073, allocations: 39.44 kB / 0.7903 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.7075, allocations: 103.9 kB / 0.7904 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.7075, allocations: 322.8 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.7077, allocations: 84.88 kB / 0.7908 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.7079, allocations: 135.1 kB / 0.791 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.7082, allocations: 237.3 kB / 0.7912 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7082, allocations: 0 / 0.7912 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005659/0.7088, allocations: 401.1 kB / 0.7916 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.7089, allocations: 75.97 kB / 0.7916 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.7089, allocations: 2.625 kB / 0.7916 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.7089, allocations: 2.469 kB / 0.7916 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.7091, allocations: 28.08 kB / 0.7917 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7091, allocations: 3.438 kB / 0.7917 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.7096, allocations: 65.17 kB / 0.7917 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.7096, allocations: 39.5 kB / 0.7918 GB, free: 47.19 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.0001594/0.7098, allocations: 168.6 kB / 0.7919 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.7098, allocations: 29.44 kB / 0.792 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.7099, allocations: 31.14 kB / 0.792 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7099, allocations: 4.719 kB / 0.792 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7099, allocations: 0 / 0.792 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7099, allocations: 0 / 0.792 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.7119, allocations: 0.6913 MB / 0.7927 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7119, allocations: 3.75 kB / 0.7927 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.7119, allocations: 2.625 kB / 0.7927 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.712, allocations: 2.625 kB / 0.7927 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.712, allocations: 19.55 kB / 0.7927 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.712, allocations: 3.469 kB / 0.7927 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.712, allocations: 1.312 kB / 0.7927 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.7136, allocations: 453.1 kB / 0.7931 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.7138, allocations: 159.1 kB / 0.7933 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.7139, allocations: 15.7 kB / 0.7933 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.7143, allocations: 31.03 kB / 0.7933 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.7144, allocations: 9.672 kB / 0.7933 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.7144, allocations: 41.27 kB / 0.7934 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001644/0.7146, allocations: 214.6 kB / 0.7936 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7146, allocations: 0 / 0.7936 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003803/0.715, allocations: 48.59 kB / 0.7936 GB, free: 46.41 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.0001342/0.7151, allocations: 114.4 kB / 0.7937 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.7163, allocations: 391.8 kB / 0.7941 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7163, allocations: 0 / 0.7941 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/0.717, allocations: 115.1 kB / 0.7942 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.7174, allocations: 39.52 kB / 0.7943 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.7186, allocations: 462.4 kB / 0.7947 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.7188, allocations: 0.7385 MB / 0.7954 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.7189, allocations: 20.86 kB / 0.7954 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.7189, allocations: 1.094 kB / 0.7954 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.005221/0.7241, allocations: 2.836 MB / 0.7982 GB, free: 45.07 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)