Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.0009351/0.0009351, allocations: 84.8 kB / 21.62 MB, free: 2.844 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.00117/0.00117, allocations: 169.6 kB / 25.05 MB, free: 9.203 MB / 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.9807/0.9807, allocations: 177.1 MB / 205.5 MB, free: 5.477 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.952/1.952, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.31e-06, allocations: 0 / 0.7762 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.583e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002152/0.002178, allocations: 1.828 MB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003207, allocations: 0.6225 MB / 0.7786 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.003269, allocations: 0 / 0.7786 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.793e-05/0.003367, allocations: 15.86 kB / 0.7786 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.003479, allocations: 38.62 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.004099, allocations: 370 kB / 0.779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.004553, allocations: 0.6028 MB / 0.7796 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.612e-05/0.004629, allocations: 25.94 kB / 0.7796 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.005148, allocations: 429.6 kB / 0.78 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.005367, allocations: 142.3 kB / 0.7801 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.005427, allocations: 40 kB / 0.7802 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.452e-05/0.005482, allocations: 40.72 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.005568, allocations: 131.6 kB / 0.7803 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.005667, allocations: 152.7 kB / 0.7805 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.005968, allocations: 434.8 kB / 0.7809 GB, free: 432 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005971, allocations: 0.5938 kB / 0.7809 GB, free: 432 kB / 0.7292 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005971, allocations: 0 / 0.7809 GB, free: 432 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.005976, allocations: 0.8125 kB / 0.7809 GB, free: 432 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.0007583/0.006734, allocations: 0.7796 MB / 0.7817 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.006767, allocations: 8.75 kB / 0.7817 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.006843, allocations: 56.88 kB / 0.7817 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.007071, allocations: 239.9 kB / 0.782 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.007104, allocations: 25.02 kB / 0.782 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.007153, allocations: 37.05 kB / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.007459, allocations: 187.5 kB / 0.7822 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.007466, allocations: 192 / 0.7822 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.007483, allocations: 6.125 kB / 0.7822 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.007489, allocations: 4.375 kB / 0.7822 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.007565, allocations: 54.09 kB / 0.7823 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.008071, allocations: 329.5 kB / 0.7826 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.008223, allocations: 93.88 kB / 0.7827 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.008295, allocations: 56.33 kB / 0.7827 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.00831, allocations: 0 / 0.7827 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.008463, allocations: 147.1 kB / 0.7829 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.008464, allocations: 0 / 0.7829 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003075/0.008772, allocations: 204.1 kB / 0.7831 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.008805, allocations: 67.34 kB / 0.7831 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.008994, allocations: 347.4 kB / 0.7834 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.009029, allocations: 42.56 kB / 0.7835 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.009077, allocations: 101.4 kB / 0.7836 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.009107, allocations: 47.61 kB / 0.7836 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.009215, allocations: 122.4 kB / 0.7837 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.009285, allocations: 322.8 kB / 0.7841 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.009433, allocations: 164.1 kB / 0.7842 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.00958, allocations: 217.3 kB / 0.7844 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.00976, allocations: 255.8 kB / 0.7847 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009762, allocations: 0 / 0.7847 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003533/0.01012, allocations: 463.9 kB / 0.7851 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.01017, allocations: 97.95 kB / 0.7852 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01018, allocations: 1.062 kB / 0.7852 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.01019, allocations: 4 kB / 0.7852 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01029, allocations: 35.97 kB / 0.7852 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.0103, allocations: 9.125 kB / 0.7852 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.01045, allocations: 47.86 kB / 0.7853 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.0105, allocations: 48.92 kB / 0.7853 GB, free: 11.64 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.0001084/0.01061, allocations: 140.4 kB / 0.7855 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.01065, allocations: 31.91 kB / 0.7855 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.01069, allocations: 35.72 kB / 0.7855 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.01069, allocations: 4.625 kB / 0.7855 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01069, allocations: 1.969 kB / 0.7855 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01069, allocations: 3.938 kB / 0.7855 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.01109, allocations: 401.6 kB / 0.7859 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01109, allocations: 0 / 0.7859 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.01112, allocations: 5.094 kB / 0.7859 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01112, allocations: 3.938 kB / 0.7859 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01114, allocations: 15.97 kB / 0.786 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01114, allocations: 0.9375 kB / 0.786 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01114, allocations: 0 / 0.786 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.01134, allocations: 236.9 kB / 0.7862 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.01148, allocations: 140.5 kB / 0.7863 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.01153, allocations: 12 kB / 0.7863 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.01169, allocations: 33.62 kB / 0.7864 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.01172, allocations: 11.98 kB / 0.7864 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.01176, allocations: 44.5 kB / 0.7864 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.577e-05/0.01185, allocations: 149.8 kB / 0.7866 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01185, allocations: 0 / 0.7866 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000204/0.01206, allocations: 71.95 kB / 0.7866 GB, free: 10.29 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.0002582/0.01231, allocations: 110.1 kB / 0.7867 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.0127, allocations: 413.9 kB / 0.7871 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.01271, allocations: 4 kB / 0.7871 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.0128, allocations: 63.33 kB / 0.7872 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01301, allocations: 58.11 kB / 0.7872 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.01351, allocations: 485.8 kB / 0.7877 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.01356, allocations: 89.09 kB / 0.7878 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.0136, allocations: 15.45 kB / 0.7878 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.01377, allocations: 122.8 kB / 0.7879 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.01377, allocations: 0 / 0.7879 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.006884/0.02065, allocations: 5.882 MB / 0.7937 GB, free: 3.027 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.946066749282181]