Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001/0.001, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001183/0.001183, allocations: 171.6 kB / 25.05 MB, free: 8.73 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.9514/0.9514, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.938/1.938, allocations: 389.6 MB / 0.6363 GB, free: 12.32 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.6562 kB / 0.7762 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.675e-05, allocations: 2.812 kB / 0.7762 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003489/0.003515, allocations: 1.829 MB / 0.778 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.00521, allocations: 0.6161 MB / 0.7786 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.005297, allocations: 3.938 kB / 0.7786 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.005419, allocations: 13.12 kB / 0.7786 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.005568, allocations: 31.69 kB / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.006537, allocations: 378.2 kB / 0.779 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000711/0.007248, allocations: 0.6015 MB / 0.7796 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.007351, allocations: 21.94 kB / 0.7796 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.007964, allocations: 432.3 kB / 0.78 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.008263, allocations: 143.2 kB / 0.7801 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.008327, allocations: 42.75 kB / 0.7802 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.008385, allocations: 40 kB / 0.7802 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.008478, allocations: 127.6 kB / 0.7803 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.008585, allocations: 155.7 kB / 0.7805 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.008907, allocations: 430.8 kB / 0.7809 GB, free: 488 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.00891, allocations: 0 / 0.7809 GB, free: 488 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.273e-06/0.008912, allocations: 4 kB / 0.7809 GB, free: 484 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.008917, allocations: 6.719 kB / 0.7809 GB, free: 480 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.0009699/0.009887, allocations: 0.7779 MB / 0.7817 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.009919, allocations: 8.75 kB / 0.7817 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.01, allocations: 56.88 kB / 0.7817 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.01023, allocations: 236 kB / 0.782 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.01027, allocations: 22.11 kB / 0.782 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.01032, allocations: 32.36 kB / 0.782 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.01064, allocations: 195.4 kB / 0.7822 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.01065, allocations: 4.188 kB / 0.7822 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.01066, allocations: 4.375 kB / 0.7822 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.01067, allocations: 384 / 0.7822 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.01075, allocations: 55.3 kB / 0.7823 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.01131, allocations: 326.2 kB / 0.7826 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.01147, allocations: 93.59 kB / 0.7827 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.01155, allocations: 45.77 kB / 0.7827 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.01156, allocations: 4 kB / 0.7827 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.01173, allocations: 164.4 kB / 0.7829 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.01173, allocations: 0 / 0.7829 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003282/0.01206, allocations: 207.4 kB / 0.7831 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.01209, allocations: 60.06 kB / 0.7831 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.01229, allocations: 343.4 kB / 0.7834 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.01232, allocations: 46.31 kB / 0.7835 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.01237, allocations: 105.3 kB / 0.7836 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.0124, allocations: 41.64 kB / 0.7836 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.01251, allocations: 125.4 kB / 0.7838 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.01258, allocations: 318.8 kB / 0.7841 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.01273, allocations: 167.3 kB / 0.7842 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.01289, allocations: 222.3 kB / 0.7844 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.01307, allocations: 253 kB / 0.7847 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01307, allocations: 0 / 0.7847 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003475/0.01342, allocations: 458.8 kB / 0.7851 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.01347, allocations: 91.36 kB / 0.7852 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01348, allocations: 4 kB / 0.7852 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.01349, allocations: 4 kB / 0.7852 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.0136, allocations: 36.84 kB / 0.7852 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.0136, allocations: 4 kB / 0.7852 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.01377, allocations: 52.64 kB / 0.7853 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.01382, allocations: 51.98 kB / 0.7853 GB, free: 11.69 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.0001215/0.01394, allocations: 144.9 kB / 0.7855 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.01398, allocations: 27.91 kB / 0.7855 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.01403, allocations: 40.31 kB / 0.7855 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01403, allocations: 4 kB / 0.7855 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01403, allocations: 1.125 kB / 0.7855 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01403, allocations: 0 / 0.7855 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.01444, allocations: 395.9 kB / 0.7859 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01444, allocations: 4 kB / 0.7859 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.01447, allocations: 5.875 kB / 0.7859 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01447, allocations: 0 / 0.7859 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.01449, allocations: 11.97 kB / 0.7859 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01449, allocations: 0 / 0.7859 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01449, allocations: 0 / 0.7859 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.0147, allocations: 248 kB / 0.7862 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.01484, allocations: 132.5 kB / 0.7863 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.01489, allocations: 16 kB / 0.7863 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.01506, allocations: 41.09 kB / 0.7864 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.01509, allocations: 13.08 kB / 0.7864 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.01513, allocations: 47.97 kB / 0.7864 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.855e-05/0.01523, allocations: 140.7 kB / 0.7866 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01523, allocations: 0.5625 kB / 0.7866 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000204/0.01543, allocations: 76.67 kB / 0.7866 GB, free: 10.34 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.0001223/0.01555, allocations: 105.2 kB / 0.7867 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.01597, allocations: 422 kB / 0.7871 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.01597, allocations: 4 kB / 0.7871 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.01606, allocations: 57.67 kB / 0.7872 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.01627, allocations: 51.48 kB / 0.7872 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.01679, allocations: 497.7 kB / 0.7877 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.01684, allocations: 83.81 kB / 0.7878 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.01688, allocations: 14.98 kB / 0.7878 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.01719, allocations: 127.7 kB / 0.7879 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/0.01719, allocations: 0 / 0.7879 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.007041/0.02424, allocations: 5.883 MB / 0.7937 GB, free: 3.066 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.981021947227418]