Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.927/1.927, allocations: 288.4 MB / 303.4 MB, free: 8.125 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.001542/0.001542, allocations: 184.5 kB / 372 MB, free: 10.21 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.682/1.682, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.000851/0.0008511, allocations: 99.52 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004413, allocations: 12 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2654, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001773/0.2672, allocations: 1.354 MB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00079/0.268, allocations: 467.9 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.2681, allocations: 0 / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.162e-05/0.2682, allocations: 7.922 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2683, allocations: 23.84 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.2689, allocations: 213.6 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.2691, allocations: 307.5 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2692, allocations: 25.44 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.2695, allocations: 227.5 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.2697, allocations: 139.7 kB / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.2697, allocations: 8 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.619e-05/0.2698, allocations: 12 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.2699, allocations: 79.78 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.27, allocations: 73.58 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.2702, allocations: 319.5 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2702, allocations: 3.938 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2702, allocations: 4 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2702, allocations: 0 / 0.9828 GB, free: 24.37 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.001006/0.2713, allocations: 0.6335 MB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2713, allocations: 12.02 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.2714, allocations: 47.56 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.2717, allocations: 275.1 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.2717, allocations: 16 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.2718, allocations: 23.97 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.2721, allocations: 174.1 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.2721, allocations: 0 / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.2721, allocations: 7.984 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2722, allocations: 0 / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.2723, allocations: 59.97 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009896/0.2733, allocations: 0.5627 MB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.2736, allocations: 132.8 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2737, allocations: 68.83 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2737, allocations: 0 / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.2741, allocations: 224.4 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.2742, allocations: 4 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000522/0.2747, allocations: 283.6 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2747, allocations: 75.27 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.275, allocations: 308.5 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.275, allocations: 37.7 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.2751, allocations: 101 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.2752, allocations: 47.44 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.2752, allocations: 8 kB / 0.9857 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.2753, allocations: 326.8 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.2755, allocations: 104.2 kB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2757, allocations: 158.4 kB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.2759, allocations: 165.6 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2759, allocations: 4 kB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005835/0.2765, allocations: 438 kB / 0.9869 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.2766, allocations: 79.38 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2766, allocations: 0 / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2766, allocations: 4 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2768, allocations: 27.92 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2768, allocations: 16.12 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.2773, allocations: 67.8 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.688e-05/0.2774, allocations: 51.98 kB / 0.9871 GB, free: 19.6 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.0001626/0.2776, allocations: 198.5 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.2776, allocations: 31.61 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.2777, allocations: 34.36 kB / 0.9874 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2777, allocations: 4 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2777, allocations: 0 / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2777, allocations: 3.953 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.2783, allocations: 0.5898 MB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2783, allocations: 4 kB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.2784, allocations: 11.98 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2784, allocations: 0 / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.2784, allocations: 19.94 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2784, allocations: 0 / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2784, allocations: 0 / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.2788, allocations: 327 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.279, allocations: 176.7 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.279, allocations: 15.94 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.2793, allocations: 23.94 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.2793, allocations: 15.97 kB / 0.9885 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.2794, allocations: 31.98 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001597/0.2795, allocations: 227 kB / 0.9888 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2795, allocations: 0 / 0.9888 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002777/0.2798, allocations: 59.92 kB / 0.9888 GB, free: 17.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.0001545/0.28, allocations: 125 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004697/0.2805, allocations: 371.8 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2805, allocations: 4 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.2806, allocations: 73.94 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.281, allocations: 30.25 kB / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.2816, allocations: 499.9 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2818, allocations: 0.7517 MB / 0.9906 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.2819, allocations: 41.42 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.2821, allocations: 35.42 kB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2821, allocations: 0 / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.007507/0.2896, allocations: 4.288 MB / 0.9949 GB, free: 11.53 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)