Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001539/0.001539, allocations: 74.98 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001557/0.001557, allocations: 169.9 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.373/1.373, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9048/0.9048, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.278e-05, allocations: 7.969 kB / 0.5547 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002673/0.002696, allocations: 1.709 MB / 0.5564 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003982, allocations: 0.6122 MB / 0.557 GB, free: 300 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.004036, allocations: 0 / 0.557 GB, free: 300 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 9.352e-05/0.004129, allocations: 15.8 kB / 0.557 GB, free: 284 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.00425, allocations: 39.78 kB / 0.5571 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.005083, allocations: 370.8 kB / 0.5574 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.00572, allocations: 0.6009 MB / 0.558 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.005815, allocations: 25.06 kB / 0.558 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005442/0.00636, allocations: 423.5 kB / 0.5584 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.006641, allocations: 135.7 kB / 0.5586 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.006748, allocations: 40 kB / 0.5586 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.006851, allocations: 44 kB / 0.5586 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.006998, allocations: 131.6 kB / 0.5588 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.00719, allocations: 151.7 kB / 0.5589 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006567/0.007847, allocations: 0.6351 MB / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.007853, allocations: 4 kB / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007854, allocations: 0 / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.007864, allocations: 0 / 0.5595 GB, free: 13.71 MB / 478.1 MB 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.0013/0.009164, allocations: 0.8378 MB / 0.5603 GB, free: 12.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.009195, allocations: 12.56 kB / 0.5604 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.00932, allocations: 56.66 kB / 0.5604 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.009732, allocations: 283.8 kB / 0.5607 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.009775, allocations: 24.36 kB / 0.5607 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.009859, allocations: 28.36 kB / 0.5607 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.01092, allocations: 250 kB / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.01093, allocations: 4.188 kB / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.01097, allocations: 4.375 kB / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.01097, allocations: 4.375 kB / 0.561 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.01182, allocations: 135.8 kB / 0.5611 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.01305, allocations: 0.543 MB / 0.5616 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.01417, allocations: 186.4 kB / 0.5618 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.01499, allocations: 124.7 kB / 0.5619 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.01501, allocations: 0 / 0.5619 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009865/0.01599, allocations: 247.2 kB / 0.5622 GB, free: 10.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 3.557e-06/0.016, allocations: 3.984 kB / 0.5622 GB, free: 10.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.002802/0.0188, allocations: 0.5433 MB / 0.5627 GB, free: 10.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.01885, allocations: 59.34 kB / 0.5628 GB, free: 10.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.01932, allocations: 437.9 kB / 0.5632 GB, free: 9.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.01939, allocations: 45.69 kB / 0.5632 GB, free: 9.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.01949, allocations: 105.4 kB / 0.5633 GB, free: 9.629 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.01953, allocations: 39.67 kB / 0.5634 GB, free: 9.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.01975, allocations: 145.4 kB / 0.5635 GB, free: 9.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01989, allocations: 322.8 kB / 0.5638 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.02025, allocations: 219.3 kB / 0.564 GB, free: 8.891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.02067, allocations: 278.3 kB / 0.5643 GB, free: 8.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.02108, allocations: 291 kB / 0.5646 GB, free: 8.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02109, allocations: 4 kB / 0.5646 GB, free: 8.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009781/0.02206, allocations: 0.6093 MB / 0.5652 GB, free: 7.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.02215, allocations: 87.38 kB / 0.5652 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.02216, allocations: 3.984 kB / 0.5652 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.02218, allocations: 4 kB / 0.5653 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.02235, allocations: 27.92 kB / 0.5653 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.02235, allocations: 0 / 0.5653 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.02286, allocations: 64.09 kB / 0.5653 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.02296, allocations: 59.98 kB / 0.5654 GB, free: 7.371 MB / 478.1 MB 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.000266/0.02322, allocations: 224.2 kB / 0.5656 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.02329, allocations: 43.7 kB / 0.5657 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.02336, allocations: 39.73 kB / 0.5657 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.02336, allocations: 4 kB / 0.5657 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.02337, allocations: 7.984 kB / 0.5657 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.02338, allocations: 4 kB / 0.5657 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.0257, allocations: 0.7439 MB / 0.5664 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.0257, allocations: 0 / 0.5664 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.02574, allocations: 11.98 kB / 0.5664 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.02574, allocations: 0 / 0.5664 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.02578, allocations: 27.97 kB / 0.5665 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02578, allocations: 0 / 0.5665 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02578, allocations: 0 / 0.5665 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.02768, allocations: 0.514 MB / 0.567 GB, free: 5.688 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.028, allocations: 177.4 kB / 0.5671 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.02808, allocations: 24 kB / 0.5672 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.02858, allocations: 35.97 kB / 0.5672 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.02862, allocations: 7.984 kB / 0.5672 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.0287, allocations: 63.95 kB / 0.5673 GB, free: 5.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.02904, allocations: 319.1 kB / 0.5676 GB, free: 5.078 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02904, allocations: 0 / 0.5676 GB, free: 5.078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.02942, allocations: 71.94 kB / 0.5676 GB, free: 5.008 MB / 478.1 MB 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.0001751/0.0296, allocations: 123.2 kB / 0.5678 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.03103, allocations: 0.5213 MB / 0.5683 GB, free: 4.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03103, allocations: 0 / 0.5683 GB, free: 4.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.03186, allocations: 140.2 kB / 0.5684 GB, free: 4.184 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.03228, allocations: 38.77 kB / 0.5684 GB, free: 4.148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.03389, allocations: 0.6087 MB / 0.569 GB, free: 3.516 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.03408, allocations: 178.8 kB / 0.5692 GB, free: 3.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.03414, allocations: 17.48 kB / 0.5692 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.03419, allocations: 16.5 kB / 0.5692 GB, free: 3.285 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.03419, allocations: 0 / 0.5692 GB, free: 3.285 MB / 478.1 MB Notification: Performance of Templates: time 0.01069/0.04488, allocations: 6.376 MB / 0.5755 GB, free: 12.93 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1264056749641895] Failed to read output from testmodel.py, exit status != 0: 0.05303389951586723 0.06742078700000001 0.056508079 Calling exit ...