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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 288.4 MB / 303.4 MB, free: 8.121 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.001257/0.001257, allocations: 176.5 kB / 372 MB, free: 10.26 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.849/1.849, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0009935/0.0009935, allocations: 82.92 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005013, allocations: 16.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2597, 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.CalendarTimeMonthsMinus): time 0.00211/0.2618, allocations: 1.358 MB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2629, allocations: 461.8 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2631, allocations: 0 / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2632, allocations: 7.922 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.2633, allocations: 23.84 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.2641, allocations: 217.2 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.2645, allocations: 299.5 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2646, allocations: 33.42 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.265, allocations: 227.5 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2653, allocations: 143.7 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.2654, allocations: 8 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.378e-05/0.2654, allocations: 12 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.188e-05/0.2655, allocations: 79.77 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.2656, allocations: 77.58 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.2659, allocations: 315.5 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2659, allocations: 3.938 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2659, allocations: 4 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.2659, allocations: 3.938 kB / 0.9828 GB, free: 24.36 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.001187/0.2671, allocations: 0.6374 MB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2672, allocations: 12.02 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.2673, allocations: 39.58 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.2677, allocations: 271.1 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.2678, allocations: 19.98 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.2678, allocations: 20 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.2682, allocations: 174.2 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2682, allocations: 0 / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.2682, allocations: 4 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2682, allocations: 0 / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.2684, allocations: 62.03 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2695, allocations: 0.5666 MB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.2698, allocations: 132.8 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.27, allocations: 56.83 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.27, allocations: 8 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.2704, allocations: 224.4 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.2705, allocations: 4 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005548/0.271, allocations: 286.6 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2711, allocations: 67.34 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.2713, allocations: 312.5 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.2714, allocations: 41.7 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.2715, allocations: 101 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.2715, allocations: 43.44 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.2716, allocations: 8 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.2716, allocations: 326.8 kB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.2718, allocations: 108.2 kB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2721, allocations: 158.4 kB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2723, allocations: 160.1 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2723, allocations: 0 / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006413/0.2729, allocations: 446.2 kB / 0.9869 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.273, allocations: 79.39 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.273, allocations: 0 / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2731, allocations: 4 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2733, allocations: 31.91 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2733, allocations: 8.141 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.2738, allocations: 75.73 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.2739, allocations: 51.98 kB / 0.9871 GB, free: 19.59 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.0002231/0.2742, allocations: 199.2 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.2742, allocations: 27.62 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.2743, allocations: 38.3 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2743, allocations: 0 / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2743, allocations: 4 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.2743, allocations: 3.953 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.275, allocations: 0.5893 MB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.275, allocations: 0 / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.275, allocations: 16 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2751, allocations: 0 / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.2751, allocations: 15.92 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2751, allocations: 4 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2751, allocations: 0 / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.2755, allocations: 324.2 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.2757, allocations: 180.7 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.2757, allocations: 19.94 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.276, allocations: 15.94 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.276, allocations: 23.97 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.2761, allocations: 23.98 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001894/0.2763, allocations: 227 kB / 0.9888 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2763, allocations: 3.938 kB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003091/0.2766, allocations: 55.94 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.000183/0.2768, allocations: 129 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.2773, allocations: 367.8 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2773, allocations: 0 / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2774, allocations: 75.91 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.0003726/0.2778, allocations: 35.67 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.2786, allocations: 496.5 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.2788, allocations: 0.7556 MB / 0.9906 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.2789, allocations: 37.42 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.279, allocations: 39.41 kB / 0.9907 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.279, allocations: 0 / 0.9907 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.006705/0.2857, allocations: 4.283 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.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)