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.001046/0.001046, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001045/0.001045, allocations: 161.4 kB / 24.16 MB, free: 336 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.9568/0.9568, allocations: 177.2 MB / 204.6 MB, free: 5.469 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 2.064/2.064, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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.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 1.593e-06/1.593e-06, allocations: 0 / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.19e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002466/0.002488, allocations: 1.826 MB / 0.777 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.003717, allocations: 0.6173 MB / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.003772, allocations: 0 / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.031e-05/0.003862, allocations: 12.73 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.00398, allocations: 34.36 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.004538, allocations: 378.8 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.004944, allocations: 0.6034 MB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.00502, allocations: 29.92 kB / 0.7787 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.005374, allocations: 416.2 kB / 0.7791 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.005611, allocations: 147.7 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.005667, allocations: 47.94 kB / 0.7793 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.005719, allocations: 43.72 kB / 0.7793 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.005813, allocations: 123.7 kB / 0.7794 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.005921, allocations: 155.7 kB / 0.7796 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.006225, allocations: 434.7 kB / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.006227, allocations: 0 / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006228, allocations: 0 / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.006233, allocations: 0 / 0.78 GB, free: 0.4961 MB / 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.0007504/0.006984, allocations: 0.7828 MB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.007017, allocations: 8.75 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.007092, allocations: 48.88 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.007323, allocations: 257 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.007354, allocations: 16.38 kB / 0.7811 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.007413, allocations: 32.36 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.007728, allocations: 196.4 kB / 0.7813 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.007736, allocations: 192 / 0.7813 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.007754, allocations: 4.375 kB / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.00776, allocations: 1.469 kB / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.007859, allocations: 50.08 kB / 0.7813 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.008402, allocations: 325.8 kB / 0.7816 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.008559, allocations: 90.27 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.008672, allocations: 54.89 kB / 0.7818 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.008687, allocations: 4 kB / 0.7818 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.008851, allocations: 163.5 kB / 0.7819 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.008853, allocations: 0 / 0.7819 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003234/0.009176, allocations: 202.4 kB / 0.7821 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.009204, allocations: 60.14 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.009401, allocations: 339.4 kB / 0.7825 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.009439, allocations: 46.19 kB / 0.7826 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.00957, allocations: 101.4 kB / 0.7827 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.009601, allocations: 48.67 kB / 0.7827 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.009716, allocations: 117.4 kB / 0.7828 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.009793, allocations: 327.7 kB / 0.7831 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.009999, allocations: 163.3 kB / 0.7833 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.01016, allocations: 214.3 kB / 0.7835 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.01035, allocations: 263 kB / 0.7837 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01035, allocations: 0 / 0.7837 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003603/0.01071, allocations: 452.1 kB / 0.7842 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.01076, allocations: 95.36 kB / 0.7843 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01077, allocations: 0 / 0.7843 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01078, allocations: 5 kB / 0.7843 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01089, allocations: 39.91 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.0109, allocations: 7.984 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.01119, allocations: 48.92 kB / 0.7844 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.01124, allocations: 49.02 kB / 0.7844 GB, free: 11.72 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.0001114/0.01135, allocations: 144.2 kB / 0.7845 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.01139, allocations: 31.91 kB / 0.7846 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.01143, allocations: 36.5 kB / 0.7846 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01143, allocations: 4 kB / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01143, allocations: 1 kB / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01143, allocations: 0 / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.01183, allocations: 399 kB / 0.785 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01183, allocations: 0 / 0.785 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.01185, allocations: 4 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01185, allocations: 1.156 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.01187, allocations: 15.97 kB / 0.785 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.01187, allocations: 0 / 0.785 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01187, allocations: 0.6562 kB / 0.785 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.01209, allocations: 253.4 kB / 0.7853 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.01223, allocations: 127.5 kB / 0.7854 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.01228, allocations: 17.91 kB / 0.7854 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.01244, allocations: 31.97 kB / 0.7854 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.01247, allocations: 15.97 kB / 0.7854 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.01251, allocations: 44.88 kB / 0.7855 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001029/0.01261, allocations: 148.7 kB / 0.7856 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 0.8438 kB / 0.7856 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001898/0.0128, allocations: 67.95 kB / 0.7857 GB, free: 10.38 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.0001083/0.01291, allocations: 105.6 kB / 0.7858 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.01331, allocations: 413.5 kB / 0.7862 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.01331, allocations: 5.406 kB / 0.7862 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.0134, allocations: 73.3 kB / 0.7863 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01361, allocations: 54.95 kB / 0.7863 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.01411, allocations: 490.5 kB / 0.7868 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.01416, allocations: 87.81 kB / 0.7869 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.0142, allocations: 14.2 kB / 0.7869 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.01437, allocations: 119 kB / 0.787 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01437, allocations: 0.7188 kB / 0.787 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.00728/0.02165, allocations: 5.876 MB / 0.7927 GB, free: 3.117 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.223984516225755]