Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009115/0.0009115, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 165 kB / 24.25 MB, free: 212 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9508/0.9508, allocations: 177.1 MB / 204.7 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.898/1.898, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.263e-05, allocations: 6.438 kB / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002329/0.002352, allocations: 1.812 MB / 0.7772 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.00349, allocations: 0.6174 MB / 0.7778 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.003554, allocations: 0 / 0.7778 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.003657, allocations: 15.36 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.003773, allocations: 43.27 kB / 0.7779 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.004386, allocations: 370.7 kB / 0.7782 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.004825, allocations: 0.6046 MB / 0.7788 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.004911, allocations: 29.92 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.005275, allocations: 415.6 kB / 0.7792 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.005473, allocations: 151.2 kB / 0.7794 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.00553, allocations: 40 kB / 0.7794 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.005586, allocations: 40 kB / 0.7794 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.005681, allocations: 127.6 kB / 0.7796 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.005784, allocations: 155.6 kB / 0.7797 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.006086, allocations: 434.8 kB / 0.7801 GB, free: 488 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.006088, allocations: 0 / 0.7801 GB, free: 488 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006089, allocations: 0 / 0.7801 GB, free: 488 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.006093, allocations: 0 / 0.7801 GB, free: 488 kB / 0.7292 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.0007407/0.006834, allocations: 0.77 MB / 0.7809 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.00687, allocations: 13.34 kB / 0.7809 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.006948, allocations: 48.88 kB / 0.7809 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.007209, allocations: 250.8 kB / 0.7812 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.007251, allocations: 24.36 kB / 0.7812 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.007298, allocations: 28.38 kB / 0.7812 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.007671, allocations: 190.3 kB / 0.7814 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.007679, allocations: 192 / 0.7814 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.007698, allocations: 6.062 kB / 0.7814 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.007706, allocations: 4.359 kB / 0.7814 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.797e-05/0.007784, allocations: 53.92 kB / 0.7815 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.008292, allocations: 321.5 kB / 0.7818 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.008439, allocations: 98.12 kB / 0.7819 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.008509, allocations: 45.94 kB / 0.7819 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.008529, allocations: 5.188 kB / 0.7819 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.008688, allocations: 152.2 kB / 0.7821 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.008689, allocations: 0 / 0.7821 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002929/0.008982, allocations: 202.1 kB / 0.7823 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.009016, allocations: 63.34 kB / 0.7823 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.009209, allocations: 343.4 kB / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.009243, allocations: 41.7 kB / 0.7827 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.009292, allocations: 105.3 kB / 0.7828 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.00932, allocations: 43.72 kB / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.009424, allocations: 113.4 kB / 0.7829 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.009513, allocations: 322.8 kB / 0.7832 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.009661, allocations: 169.9 kB / 0.7834 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.009815, allocations: 213.2 kB / 0.7836 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.009989, allocations: 253.8 kB / 0.7838 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009991, allocations: 0 / 0.7838 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003424/0.01033, allocations: 454.2 kB / 0.7843 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.01039, allocations: 95.3 kB / 0.7844 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01039, allocations: 5.312 kB / 0.7844 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.0104, allocations: 0 / 0.7844 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.0105, allocations: 35.97 kB / 0.7844 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01051, allocations: 17.39 kB / 0.7844 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.01066, allocations: 39.92 kB / 0.7845 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.0107, allocations: 47.98 kB / 0.7845 GB, free: 11.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.01081, allocations: 148.5 kB / 0.7847 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.01084, allocations: 31.89 kB / 0.7847 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.01088, allocations: 40.78 kB / 0.7847 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01088, allocations: 0 / 0.7847 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01088, allocations: 1.031 kB / 0.7847 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01089, allocations: 7.938 kB / 0.7847 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.01127, allocations: 384.6 kB / 0.7851 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01127, allocations: 0 / 0.7851 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.0113, allocations: 4 kB / 0.7851 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.0113, allocations: 4.875 kB / 0.7851 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.01132, allocations: 15.97 kB / 0.7851 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01132, allocations: 0 / 0.7851 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01132, allocations: 1 kB / 0.7851 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.01153, allocations: 240.8 kB / 0.7854 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.01167, allocations: 131.6 kB / 0.7855 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.01172, allocations: 16.94 kB / 0.7855 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.01188, allocations: 29.16 kB / 0.7855 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.0119, allocations: 13.17 kB / 0.7855 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.01193, allocations: 47.97 kB / 0.7856 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.405e-05/0.01203, allocations: 148.7 kB / 0.7857 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01203, allocations: 0 / 0.7857 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001767/0.0122, allocations: 70.17 kB / 0.7858 GB, free: 10.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001235/0.01233, allocations: 108.3 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.01271, allocations: 410.5 kB / 0.7863 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.01271, allocations: 4 kB / 0.7863 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.01279, allocations: 68 kB / 0.7864 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.013, allocations: 59.11 kB / 0.7864 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.01351, allocations: 479.7 kB / 0.7869 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01355, allocations: 89.44 kB / 0.787 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.01359, allocations: 14.7 kB / 0.787 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.01375, allocations: 115.2 kB / 0.7871 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01375, allocations: 0 / 0.7871 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.006301/0.02006, allocations: 5.874 MB / 0.7928 GB, free: 3.16 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1193942502141]