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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.4 MB / 303.4 MB, free: 8.004 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.001158/0.001158, allocations: 176.4 kB / 372 MB, free: 10.28 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.716/1.716, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0009709/0.000971, allocations: 93.09 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 13.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2534, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001858/0.2553, allocations: 1.354 MB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.2562, allocations: 457.9 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.2563, allocations: 4 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2565, allocations: 15.86 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.2566, allocations: 19.92 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.2572, allocations: 211.9 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.2575, allocations: 303.5 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2576, allocations: 25.42 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.2579, allocations: 243.5 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.2581, allocations: 131.7 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.2582, allocations: 15.94 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.2583, allocations: 8 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.2584, allocations: 79.77 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.2585, allocations: 85.52 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.2587, allocations: 315.5 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2587, allocations: 0 / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2587, allocations: 0 / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2587, allocations: 0 / 0.9828 GB, free: 24.41 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.0009981/0.2597, allocations: 0.6452 MB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2598, allocations: 12.02 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.2599, allocations: 39.58 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.2602, allocations: 267.2 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.2602, allocations: 15.98 kB / 0.9837 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.2603, allocations: 23.94 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.2606, allocations: 173.5 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2606, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.2607, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2607, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.2608, allocations: 55.97 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.2618, allocations: 0.5627 MB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.2621, allocations: 130.7 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2622, allocations: 64.83 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2622, allocations: 7.984 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.2627, allocations: 225.9 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.2627, allocations: 0 / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005118/0.2632, allocations: 294.4 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.2632, allocations: 59.41 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.2635, allocations: 316.5 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.2635, allocations: 41.7 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.2636, allocations: 97.03 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.2636, allocations: 47.44 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.2637, allocations: 8 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.2637, allocations: 322.8 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2639, allocations: 108.2 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.2642, allocations: 158.4 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.2644, allocations: 164.1 kB / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2644, allocations: 3.938 kB / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005864/0.265, allocations: 441.9 kB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.265, allocations: 75.39 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.265, allocations: 4 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2651, allocations: 0 / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2652, allocations: 35.84 kB / 0.987 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2653, allocations: 3.953 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.2658, allocations: 75.98 kB / 0.9871 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.2659, allocations: 51.98 kB / 0.9871 GB, free: 19.64 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.0001829/0.266, allocations: 195.2 kB / 0.9873 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2661, allocations: 31.62 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.2661, allocations: 34.36 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2662, allocations: 0 / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2662, allocations: 0 / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2662, allocations: 3.953 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.2668, allocations: 0.5971 MB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2668, allocations: 0 / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.2669, allocations: 4 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2669, allocations: 4 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.2669, allocations: 19.92 kB / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2669, allocations: 0 / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.267, allocations: 4 kB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.2673, allocations: 328.3 kB / 0.9883 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.2675, allocations: 180.7 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.2675, allocations: 15.98 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2678, allocations: 15.94 kB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.2678, allocations: 19.98 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.2679, allocations: 31.97 kB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001544/0.268, allocations: 227 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.268, allocations: 3.938 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002754/0.2683, allocations: 51.94 kB / 0.9888 GB, free: 17.8 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.000149/0.2685, allocations: 125 kB / 0.9889 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.269, allocations: 372.2 kB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.269, allocations: 0 / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2691, allocations: 75.89 kB / 0.9894 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.2695, allocations: 36.62 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.2701, allocations: 491.8 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.2704, allocations: 0.7556 MB / 0.9906 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.2705, allocations: 37.42 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2706, allocations: 39.41 kB / 0.9907 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2706, allocations: 0 / 0.9907 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.006345/0.277, allocations: 4.285 MB / 0.9949 GB, free: 11.57 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)