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.001014/0.001014, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001105/0.001105, allocations: 169.3 kB / 24.25 MB, free: 308 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.9988/0.9988, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 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.6154/0.6154, allocations: 115 MB / 376 MB, free: 7.648 MB / 346.7 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 3.656e-06/3.656e-06, allocations: 3.188 kB / 481.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.431e-05, allocations: 5.75 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002254/0.002288, allocations: 1.761 MB / 483.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.003271, allocations: 0.6207 MB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.003347, allocations: 2.688 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.003457, allocations: 11.88 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.00358, allocations: 37.16 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.004187, allocations: 373 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.004637, allocations: 0.5979 MB / 485 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004741, allocations: 16.12 kB / 485 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.005119, allocations: 420.9 kB / 485.4 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.005329, allocations: 137 kB / 485.5 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.005393, allocations: 41.75 kB / 485.6 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.00546, allocations: 39.94 kB / 485.6 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.005574, allocations: 133.8 kB / 485.7 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.0057, allocations: 150.8 kB / 485.9 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.006031, allocations: 434.5 kB / 486.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.006034, allocations: 2.188 kB / 486.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006036, allocations: 3.141 kB / 486.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.006042, allocations: 0.6875 kB / 486.3 MB, free: 9.227 MB / 410.7 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.000852/0.006894, allocations: 0.9486 MB / 487.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.006929, allocations: 9.906 kB / 487.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.007042, allocations: 62.69 kB / 487.3 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.007295, allocations: 283.8 kB / 487.6 MB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.007333, allocations: 18.56 kB / 487.6 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.007385, allocations: 32.62 kB / 487.7 MB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.00776, allocations: 219.5 kB / 487.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.007769, allocations: 192 / 487.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.00779, allocations: 4.906 kB / 487.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.007799, allocations: 2.594 kB / 487.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.007915, allocations: 69.59 kB / 488 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.008781, allocations: 0.6004 MB / 488.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.008986, allocations: 128.1 kB / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.009089, allocations: 77.78 kB / 488.8 MB, free: 23.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.009106, allocations: 3 kB / 488.8 MB, free: 23.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.009308, allocations: 191.5 kB / 488.9 MB, free: 23.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.009309, allocations: 0 / 488.9 MB, free: 23.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.000554/0.009863, allocations: 372.1 kB / 489.3 MB, free: 23.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.009895, allocations: 71.25 kB / 489.4 MB, free: 23.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.01018, allocations: 437.6 kB / 489.8 MB, free: 23.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.01021, allocations: 41.55 kB / 489.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.01028, allocations: 148.1 kB / 490 MB, free: 22.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.01031, allocations: 41.67 kB / 490 MB, free: 22.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.01045, allocations: 141.5 kB / 490.2 MB, free: 22.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01056, allocations: 0.4944 MB / 490.7 MB, free: 22.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.01076, allocations: 183.7 kB / 490.8 MB, free: 22.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.01096, allocations: 247 kB / 491.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.01118, allocations: 287.8 kB / 491.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01118, allocations: 1.469 kB / 491.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005655/0.01175, allocations: 0.5721 MB / 491.9 MB, free: 21.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.0118, allocations: 86.97 kB / 492 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01181, allocations: 3.094 kB / 492 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01183, allocations: 10.64 kB / 492 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01196, allocations: 35.06 kB / 492.1 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.01196, allocations: 6.578 kB / 492.1 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.01215, allocations: 45.38 kB / 492.1 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.01221, allocations: 67.89 kB / 492.2 MB, free: 21.54 MB / 426.7 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.0001277/0.01234, allocations: 184 kB / 492.4 MB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.01239, allocations: 56.7 kB / 492.4 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.01244, allocations: 38.52 kB / 492.5 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01244, allocations: 2.906 kB / 492.5 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01244, allocations: 0 / 492.5 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01245, allocations: 1.375 kB / 492.5 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006476/0.01309, allocations: 0.7 MB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0131, allocations: 0 / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.01312, allocations: 5.094 kB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01312, allocations: 1 kB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.01315, allocations: 23.45 kB / 493.2 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01315, allocations: 2.156 kB / 493.2 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01315, allocations: 3.938 kB / 493.2 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.01356, allocations: 475.4 kB / 493.7 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.01372, allocations: 164.8 kB / 493.8 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.01378, allocations: 23.25 kB / 493.8 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.01393, allocations: 20.81 kB / 493.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.01396, allocations: 11.19 kB / 493.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.01401, allocations: 60.86 kB / 493.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.01417, allocations: 276.2 kB / 494.2 MB, free: 20.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01417, allocations: 0 / 494.2 MB, free: 20.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.01441, allocations: 73.62 kB / 494.3 MB, free: 20.41 MB / 426.7 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.0001126/0.01452, allocations: 120.8 kB / 494.4 MB, free: 20.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004611/0.01498, allocations: 451.6 kB / 494.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01499, allocations: 1.844 kB / 494.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.0151, allocations: 83.94 kB / 494.9 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.01538, allocations: 62.38 kB / 495 MB, free: 20.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.01596, allocations: 497.7 kB / 495.5 MB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.01601, allocations: 94.48 kB / 495.6 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.2e-05/0.01605, allocations: 14.75 kB / 495.6 MB, free: 19.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.01608, allocations: 21.81 kB / 495.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01608, allocations: 0 / 495.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of Templates: time 0.008554/0.02464, allocations: 6.393 MB / 0.4902 GB, free: 18.42 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.731126049067825]