Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.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.725/1.725, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001226/0.001226, allocations: 179.2 kB / 371.8 MB, free: 10.29 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.875/1.875, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001176/0.001176, allocations: 109.2 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 10.84 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001568/0.2689, allocations: 1.183 MB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.2696, allocations: 382.3 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.2697, allocations: 3.938 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.2697, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.2699, allocations: 27.89 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.2705, allocations: 211.3 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.2707, allocations: 151.7 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.2708, allocations: 4 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.271, allocations: 167.6 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.2712, allocations: 123.7 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.2712, allocations: 12 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.264e-05/0.2713, allocations: 12 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2714, allocations: 75.78 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.2715, allocations: 69.58 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.2717, allocations: 195.8 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2717, allocations: 0 / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2717, allocations: 0 / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2717, allocations: 0 / 0.9819 GB, free: 25.13 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001238/0.2729, allocations: 0.6219 MB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.273, allocations: 8.031 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2731, allocations: 31.72 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.2735, allocations: 254.5 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.2736, allocations: 15.98 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.2736, allocations: 20 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.2739, allocations: 141.5 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.274, allocations: 0 / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.274, allocations: 4 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.274, allocations: 8 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.2741, allocations: 43.97 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.2745, allocations: 313.3 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.2748, allocations: 130.8 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.2748, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.2753, allocations: 219.3 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.2753, allocations: 3.938 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005598/0.2758, allocations: 270.5 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2759, allocations: 67.39 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.2761, allocations: 298.8 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.2762, allocations: 33.7 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.2762, allocations: 93.14 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.2763, allocations: 35.52 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.2763, allocations: 11.98 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.2764, allocations: 326.8 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2766, allocations: 96.17 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.2768, allocations: 142.4 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.277, allocations: 153.8 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.277, allocations: 0 / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005385/0.2775, allocations: 414.2 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.2776, allocations: 79.38 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2776, allocations: 0 / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.2777, allocations: 4 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2778, allocations: 23.92 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2779, allocations: 7.984 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.2783, allocations: 75.92 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.2784, allocations: 63.95 kB / 0.9858 GB, free: 20.89 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001616/0.2786, allocations: 171.9 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.2787, allocations: 31.62 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.2787, allocations: 30.25 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2787, allocations: 0 / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2787, allocations: 0 / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2787, allocations: 7.984 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.2795, allocations: 0.5616 MB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2795, allocations: 0 / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.2795, allocations: 8 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2795, allocations: 4 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.2796, allocations: 15.97 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2796, allocations: 0 / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2796, allocations: 4 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.2799, allocations: 324.3 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2801, allocations: 156.7 kB / 0.9871 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.2801, allocations: 8 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.2803, allocations: 7.984 kB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.2804, allocations: 27.97 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.2804, allocations: 23.98 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001353/0.2806, allocations: 209.9 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2806, allocations: 7.875 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000326/0.2809, allocations: 48 kB / 0.9874 GB, free: 19.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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001291/0.281, allocations: 115.2 kB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.2815, allocations: 348.2 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2815, allocations: 0 / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.2816, allocations: 71.91 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.2819, allocations: 28.77 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.2825, allocations: 447 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.2827, allocations: 0.7438 MB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.2828, allocations: 41.42 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2829, allocations: 35.42 kB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2829, allocations: 0 / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.006233/0.2892, allocations: 3.9 MB / 0.9929 GB, free: 13.39 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)