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.637/1.637, allocations: 288.3 MB / 303.2 MB, free: 8.133 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.001375/0.001375, allocations: 171.5 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.623/1.623, allocations: 205.4 MB / 0.6306 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.0009184/0.0009189, allocations: 106.8 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.000411, allocations: 25.81 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002053/0.2611, allocations: 1.351 MB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000932/0.262, allocations: 447.1 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.2622, allocations: 3.938 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.834e-05/0.2622, allocations: 3.938 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2624, allocations: 31.89 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.2632, allocations: 209.1 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.2635, allocations: 179.7 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2637, allocations: 29.41 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.264, allocations: 171.6 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2642, allocations: 131.7 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.2643, allocations: 8 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.2643, allocations: 12 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.2644, allocations: 83.72 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.2645, allocations: 77.58 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.2648, allocations: 315.5 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2648, allocations: 0 / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.527e-06/0.2648, allocations: 0 / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.2648, allocations: 0 / 0.9824 GB, free: 24.66 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.001147/0.266, allocations: 0.6381 MB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.266, allocations: 15.95 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2661, allocations: 39.58 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.2665, allocations: 271.1 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.2666, allocations: 15.98 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.2667, allocations: 20 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.267, allocations: 170.1 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.267, allocations: 0 / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.2671, allocations: 4 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2671, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.2672, allocations: 67.84 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2684, allocations: 0.555 MB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.2686, allocations: 142.6 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.2687, allocations: 4 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004428/0.2691, allocations: 222.2 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.006e-06/0.2692, allocations: 0 / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005402/0.2697, allocations: 286.6 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2697, allocations: 67.34 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.27, allocations: 312.5 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2701, allocations: 37.7 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.2701, allocations: 97.03 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.2702, allocations: 55.38 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.2702, allocations: 8 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.2703, allocations: 326.8 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.2705, allocations: 108.2 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2708, allocations: 162.3 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.271, allocations: 166.6 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.271, allocations: 0 / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006363/0.2716, allocations: 435.1 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/0.2717, allocations: 79.38 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2717, allocations: 0 / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2718, allocations: 8.188 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.2719, allocations: 27.92 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.272, allocations: 11.94 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.2725, allocations: 67.8 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.2726, allocations: 59.98 kB / 0.9867 GB, free: 19.95 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.0001873/0.2728, allocations: 185.7 kB / 0.9869 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.2728, allocations: 31.61 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.2729, allocations: 30.36 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2729, allocations: 4 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2729, allocations: 0 / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2729, allocations: 7.953 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.2736, allocations: 0.5891 MB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2736, allocations: 4 kB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.2736, allocations: 7.984 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2737, allocations: 3.938 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.2737, allocations: 15.98 kB / 0.9876 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2737, allocations: 3.953 kB / 0.9876 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2737, allocations: 3.938 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.2741, allocations: 332.4 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.2742, allocations: 180.7 kB / 0.988 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.2743, allocations: 12 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.2745, allocations: 13.86 kB / 0.9881 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.2746, allocations: 19.92 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.2746, allocations: 31.98 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001632/0.2748, allocations: 223 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2748, allocations: 0 / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000318/0.2751, allocations: 59.92 kB / 0.9884 GB, free: 18.12 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.0001596/0.2753, allocations: 136.9 kB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004944/0.2758, allocations: 362.7 kB / 0.9889 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2758, allocations: 0 / 0.9889 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.276, allocations: 73 kB / 0.9889 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2763, allocations: 25.02 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.277, allocations: 499.6 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2773, allocations: 0.7622 MB / 0.9902 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.2774, allocations: 45.36 kB / 0.9902 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2775, allocations: 31.42 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.2775, allocations: 0 / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.00703/0.2846, allocations: 4.296 MB / 0.9945 GB, free: 11.89 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)