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 2.936/2.936, allocations: 287.5 MB / 302.4 MB, free: 8.375 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.001525/0.001525, allocations: 180.5 kB / 371 MB, free: 10.88 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.287/2.287, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009464/0.0009464, allocations: 81.67 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 16.53 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002199/0.2442, allocations: 1.362 MB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2455, allocations: 456 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.2456, allocations: 0 / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.2458, allocations: 15.86 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2459, allocations: 19.91 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.2469, allocations: 214.5 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.2474, allocations: 303.5 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2475, allocations: 33.42 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.248, allocations: 231.5 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.2483, allocations: 139.7 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.2484, allocations: 8 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2486, allocations: 12 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.2487, allocations: 79.78 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.2488, allocations: 73.58 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.2492, allocations: 323.4 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2492, allocations: 0 / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2492, allocations: 0 / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2492, allocations: 0 / 0.9815 GB, free: 25.1 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.001437/0.2507, allocations: 0.6375 MB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2507, allocations: 12.02 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.2509, allocations: 43.56 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.2514, allocations: 275.1 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.2514, allocations: 12 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2516, allocations: 19.98 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.252, allocations: 170.4 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2521, allocations: 4 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.2521, allocations: 11.98 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2521, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.2524, allocations: 59.97 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.254, allocations: 0.5627 MB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.2545, allocations: 134.6 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.2547, allocations: 60.83 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.2548, allocations: 4 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007004/0.2555, allocations: 224.4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.045e-06/0.2555, allocations: 4 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009377/0.2564, allocations: 283.6 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2565, allocations: 75.27 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.2569, allocations: 308.5 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.66e-05/0.257, allocations: 41.7 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.2571, allocations: 101 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.2572, allocations: 47.44 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.2573, allocations: 8 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.2574, allocations: 322.8 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.2577, allocations: 104.2 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.2581, allocations: 162.4 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.2585, allocations: 163.1 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2585, allocations: 0 / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001167/0.2597, allocations: 443 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.2598, allocations: 79.38 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2598, allocations: 0 / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.2599, allocations: 7.953 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.2602, allocations: 27.92 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.2602, allocations: 7.984 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.2611, allocations: 75.92 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2612, allocations: 51.98 kB / 0.9859 GB, free: 20.32 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.0003273/0.2616, allocations: 189.7 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.2617, allocations: 31.61 kB / 0.9861 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.954e-05/0.2617, allocations: 34.36 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2618, allocations: 4 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2618, allocations: 3.953 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2618, allocations: 0 / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2628, allocations: 0.5881 MB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-06/0.2629, allocations: 0 / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.263, allocations: 11.98 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.263, allocations: 3.953 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.263, allocations: 15.98 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.263, allocations: 4 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2631, allocations: 4 kB / 0.9868 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.2637, allocations: 332.2 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.264, allocations: 176.7 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.2641, allocations: 19.89 kB / 0.9873 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.2644, allocations: 17.23 kB / 0.9873 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.2645, allocations: 15.97 kB / 0.9873 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.2646, allocations: 35.98 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002794/0.2649, allocations: 227 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2649, allocations: 0 / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005059/0.2654, allocations: 59.92 kB / 0.9876 GB, free: 18.48 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.0002024/0.2656, allocations: 121 kB / 0.9877 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008303/0.2665, allocations: 369.6 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2665, allocations: 4.062 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.2667, allocations: 79.91 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.2679, allocations: 31.27 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2695, allocations: 491.5 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.2698, allocations: 0.7556 MB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002625/0.2701, allocations: 37.42 kB / 0.9894 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.2703, allocations: 43.42 kB / 0.9895 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.323e-06/0.2703, allocations: 0 / 0.9895 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.012/0.2823, allocations: 4.285 MB / 0.9937 GB, free: 12.23 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)