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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.038/3.038, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001632/0.001632, allocations: 182.7 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.787/2.787, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001612/0.001612, allocations: 98.62 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 18.28 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 115.3 MB / 0.9782 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002641/0.2821, allocations: 1.349 MB / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2835, allocations: 447.1 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2837, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.2838, allocations: 7.922 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.284, allocations: 27.89 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2851, allocations: 221.2 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.2855, allocations: 179.7 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2857, allocations: 21.44 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.2862, allocations: 179.6 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.2865, allocations: 127.7 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.2866, allocations: 8 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.2868, allocations: 8 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.2869, allocations: 79.78 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.2871, allocations: 85.52 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.2876, allocations: 307.6 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2876, allocations: 0 / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.474e-06/0.2876, allocations: 4 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.577e-06/0.2876, allocations: 0 / 0.9812 GB, free: 25.29 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.001825/0.2895, allocations: 0.6393 MB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/0.2896, allocations: 16.02 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.2898, allocations: 47.5 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.2904, allocations: 263.2 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.2906, allocations: 19.98 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.2907, allocations: 23.98 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.2913, allocations: 165.5 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.2914, allocations: 0 / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.2914, allocations: 0 / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2915, allocations: 7.922 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.2918, allocations: 71.91 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.2941, allocations: 0.5549 MB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.2947, allocations: 142.6 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.2947, allocations: 4 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009189/0.2957, allocations: 226.3 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.707e-06/0.2957, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001212/0.2969, allocations: 289.2 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.297, allocations: 55.41 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.2976, allocations: 312.5 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.2977, allocations: 41.7 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2979, allocations: 101 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.298, allocations: 43.45 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.2981, allocations: 15.94 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2982, allocations: 322.8 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.2987, allocations: 104.2 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.2992, allocations: 162.3 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.2997, allocations: 168.1 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2997, allocations: 0 / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001438/0.3011, allocations: 436.4 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.3013, allocations: 77.27 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.3013, allocations: 0 / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.3013, allocations: 12.12 kB / 0.9853 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.3017, allocations: 31.92 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.3017, allocations: 7.938 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.3028, allocations: 63.86 kB / 0.9854 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.303, allocations: 59.97 kB / 0.9855 GB, free: 20.58 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.0003933/0.3034, allocations: 189.7 kB / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3035, allocations: 31.62 kB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.3036, allocations: 26.36 kB / 0.9857 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.649e-06/0.3037, allocations: 4 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.3037, allocations: 7.891 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3037, allocations: 0 / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.3052, allocations: 0.592 MB / 0.9863 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3053, allocations: 0 / 0.9863 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.3054, allocations: 11.94 kB / 0.9863 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.3054, allocations: 0 / 0.9863 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.3055, allocations: 23.88 kB / 0.9863 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3055, allocations: 0 / 0.9863 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3055, allocations: 3.984 kB / 0.9863 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/0.3064, allocations: 327.9 kB / 0.9866 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.3068, allocations: 184.7 kB / 0.9868 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.307, allocations: 15.98 kB / 0.9868 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.3075, allocations: 19.94 kB / 0.9869 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3076, allocations: 11.98 kB / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.3077, allocations: 35.97 kB / 0.9869 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003916/0.3081, allocations: 223 kB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.52e-07/0.3081, allocations: 0 / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007766/0.3089, allocations: 51.94 kB / 0.9872 GB, free: 18.75 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.0002493/0.3092, allocations: 132.9 kB / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.3102, allocations: 371.9 kB / 0.9876 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3103, allocations: 0 / 0.9876 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.3106, allocations: 75.97 kB / 0.9877 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.3111, allocations: 28.62 kB / 0.9877 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3126, allocations: 498.2 kB / 0.9882 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.313, allocations: 0.7624 MB / 0.989 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003937/0.3134, allocations: 41.36 kB / 0.989 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.3137, allocations: 39.41 kB / 0.989 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.364e-06/0.3137, allocations: 0 / 0.989 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.01486/0.3286, allocations: 4.268 MB / 0.9932 GB, free: 12.5 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)