Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.76/1.76, allocations: 287.5 MB / 302.6 MB, free: 8.344 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.001261/0.001261, allocations: 184.4 kB / 371.2 MB, free: 10.81 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.665/1.665, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000975/0.000975, allocations: 96.8 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006758/0.0006761, allocations: 12.89 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2927, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002159/0.2949, allocations: 1.358 MB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2961, allocations: 456.9 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2963, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2965, allocations: 7.922 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.2966, allocations: 23.84 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.2976, allocations: 221.6 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.298, allocations: 311.5 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2982, allocations: 21.45 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.2986, allocations: 227.5 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.2989, allocations: 135.7 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-05/0.299, allocations: 12 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.458e-05/0.299, allocations: 12 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2991, allocations: 83.77 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.2992, allocations: 73.58 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.2996, allocations: 323.5 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.2996, allocations: 0 / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2996, allocations: 0 / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.2996, allocations: 0 / 0.9819 GB, free: 24.9 MB / 0.6198 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.00128/0.3009, allocations: 0.6337 MB / 0.9825 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.301, allocations: 12.03 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3011, allocations: 36.56 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.3015, allocations: 292 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.3016, allocations: 16.56 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.3016, allocations: 20.38 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.302, allocations: 170 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.302, allocations: 3.938 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.302, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.302, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.3022, allocations: 67.89 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.3033, allocations: 0.5472 MB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3036, allocations: 147.5 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3037, allocations: 56.84 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.3038, allocations: 4.234 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.3042, allocations: 236 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.3042, allocations: 0 / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005505/0.3048, allocations: 275.1 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3049, allocations: 67.3 kB / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3051, allocations: 308.5 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.3052, allocations: 41.69 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.3053, allocations: 105.9 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3053, allocations: 47.44 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.3053, allocations: 11.98 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.3054, allocations: 326.8 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.3056, allocations: 104.2 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.3059, allocations: 170.3 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3062, allocations: 246.2 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3062, allocations: 4 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006542/0.3068, allocations: 447.7 kB / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.3069, allocations: 79.39 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3069, allocations: 4 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.307, allocations: 3.938 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3071, allocations: 27.97 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3072, allocations: 3.938 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.3077, allocations: 75.98 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.3078, allocations: 51.98 kB / 0.9863 GB, free: 20 MB / 0.6198 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.308, allocations: 197.7 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.308, allocations: 23.72 kB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.3081, allocations: 34.36 kB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3081, allocations: 0 / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3081, allocations: 0 / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3082, allocations: 3.984 kB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.3089, allocations: 0.5957 MB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3089, allocations: 0 / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.309, allocations: 7.938 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.309, allocations: 8 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.309, allocations: 15.97 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.309, allocations: 0 / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.309, allocations: 7.938 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3094, allocations: 321.6 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.3096, allocations: 188.5 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.3097, allocations: 15.94 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3099, allocations: 15.98 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.3099, allocations: 23.91 kB / 0.9877 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.31, allocations: 27.98 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001838/0.3102, allocations: 227 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3102, allocations: 3.938 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003151/0.3105, allocations: 48 kB / 0.988 GB, free: 18.16 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.3107, allocations: 125 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.3112, allocations: 366.5 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.3112, allocations: 0 / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3114, allocations: 74.47 kB / 0.9886 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3118, allocations: 33.33 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.3125, allocations: 497.6 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3129, allocations: 0.7595 MB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.313, allocations: 37.42 kB / 0.9898 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3132, allocations: 39.41 kB / 0.9899 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3132, allocations: 0 / 0.9899 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.008522/0.3217, allocations: 4.284 MB / 0.9941 GB, free: 11.92 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)