Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 182.4 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 101.5 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001054, allocations: 55.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2732, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003878/0.2771, allocations: 1.728 MB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2784, allocations: 0.4953 MB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2786, allocations: 0 / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.2787, allocations: 11.92 kB / 0.9844 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.2789, allocations: 24.23 kB / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.2798, allocations: 251.6 kB / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.2802, allocations: 359.7 kB / 0.985 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2803, allocations: 29.44 kB / 0.9851 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.2808, allocations: 230.3 kB / 0.9853 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.2811, allocations: 127.5 kB / 0.9854 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.121e-05/0.2812, allocations: 12 kB / 0.9854 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.2812, allocations: 12 kB / 0.9854 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.2814, allocations: 79.66 kB / 0.9855 GB, free: 7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.2816, allocations: 135.3 kB / 0.9856 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.282, allocations: 407 kB / 0.986 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2821, allocations: 0 / 0.986 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2821, allocations: 4 kB / 0.986 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.2821, allocations: 0 / 0.986 GB, free: 6.465 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001435/0.2835, allocations: 0.7347 MB / 0.9867 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2836, allocations: 8.031 kB / 0.9867 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.2837, allocations: 31.72 kB / 0.9868 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.2841, allocations: 290.7 kB / 0.9871 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.2842, allocations: 11.98 kB / 0.9871 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/0.2843, allocations: 24 kB / 0.9871 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.2846, allocations: 175.7 kB / 0.9873 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2846, allocations: 4 kB / 0.9873 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2847, allocations: 4 kB / 0.9873 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2847, allocations: 0 / 0.9873 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2848, allocations: 59.97 kB / 0.9873 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.286, allocations: 0.5588 MB / 0.9879 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.2864, allocations: 130.7 kB / 0.988 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2865, allocations: 68.77 kB / 0.9881 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.2866, allocations: 7.938 kB / 0.9881 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.2871, allocations: 226 kB / 0.9883 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.2871, allocations: 0 / 0.9883 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.000622/0.2877, allocations: 291.8 kB / 0.9886 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.2878, allocations: 59.41 kB / 0.9886 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.2881, allocations: 316.4 kB / 0.9889 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.2882, allocations: 41.7 kB / 0.989 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.2883, allocations: 105 kB / 0.9891 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.2883, allocations: 39.45 kB / 0.9891 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.2885, allocations: 117.7 kB / 0.9892 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2887, allocations: 322.8 kB / 0.9895 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.2889, allocations: 108.2 kB / 0.9896 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2892, allocations: 170.4 kB / 0.9898 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.2896, allocations: 271.9 kB / 0.99 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2896, allocations: 0 / 0.99 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007458/0.2904, allocations: 432.6 kB / 0.9905 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.2905, allocations: 79.38 kB / 0.9905 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.2905, allocations: 4 kB / 0.9905 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2905, allocations: 4.188 kB / 0.9905 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.2907, allocations: 27.92 kB / 0.9906 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2907, allocations: 0 / 0.9906 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.2913, allocations: 63.78 kB / 0.9906 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.2914, allocations: 59.97 kB / 0.9907 GB, free: 1.363 MB / 0.7136 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * 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.0002487/0.2916, allocations: 193.7 kB / 0.9909 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.2917, allocations: 27.62 kB / 0.9909 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.279e-05/0.2918, allocations: 30.36 kB / 0.9909 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.2918, allocations: 7.984 kB / 0.9909 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.2918, allocations: 0 / 0.9909 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2918, allocations: 0 / 0.9909 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009269/0.2927, allocations: 0.5958 MB / 0.9915 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2928, allocations: 0 / 0.9915 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.2928, allocations: 7.984 kB / 0.9915 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2928, allocations: 8 kB / 0.9915 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2929, allocations: 11.92 kB / 0.9915 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2929, allocations: 0 / 0.9915 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2929, allocations: 7.938 kB / 0.9915 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.2937, allocations: 0.9518 MB / 0.9925 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.294, allocations: 188.5 kB / 0.9927 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.294, allocations: 15.98 kB / 0.9927 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.2943, allocations: 15.98 kB / 0.9927 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.2943, allocations: 15.92 kB / 0.9927 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.2944, allocations: 31.98 kB / 0.9927 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000223/0.2946, allocations: 227 kB / 0.9929 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2946, allocations: 0 / 0.9929 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004399/0.2951, allocations: 59.91 kB / 0.993 GB, free: 14.84 MB / 0.7292 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0001804/0.2953, allocations: 121 kB / 0.9931 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005844/0.2958, allocations: 366.6 kB / 0.9935 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2959, allocations: 0 / 0.9935 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.296, allocations: 71.91 kB / 0.9935 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.2964, allocations: 44.55 kB / 0.9936 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.2973, allocations: 0.6657 MB / 0.9942 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.2977, allocations: 0.7595 MB / 0.995 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.2978, allocations: 41.42 kB / 0.995 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.298, allocations: 31.42 kB / 0.995 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.298, allocations: 0 / 0.995 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.008814/0.3068, allocations: 4.545 MB / 0.9995 GB, free: 8.137 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)