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.001029/0.001029, allocations: 92.2 kB / 20.43 MB, free: 4.137 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.001036/0.001036, allocations: 165 kB / 23.79 MB, free: 0.7734 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.9738/0.9738, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6053/0.6053, allocations: 114.9 MB / 375.7 MB, free: 7.617 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 1.393e-06/1.393e-06, allocations: 0 / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.414e-05, allocations: 7.234 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.005504/0.005529, allocations: 1.757 MB / 483.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.006798, allocations: 0.6212 MB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.006897, allocations: 1.125 kB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.00702, allocations: 14.91 kB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.01018, allocations: 32.23 kB / 484 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007762/0.01096, allocations: 380.4 kB / 484.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005065/0.01147, allocations: 0.6029 MB / 485 MB, free: 9.738 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.01156, allocations: 20.03 kB / 485 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004333/0.012, allocations: 420.9 kB / 485.4 MB, free: 9.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.01226, allocations: 141.1 kB / 485.5 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.01236, allocations: 41.62 kB / 485.6 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.01244, allocations: 41.03 kB / 485.6 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.01256, allocations: 131.2 kB / 485.8 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.01272, allocations: 148.4 kB / 485.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.01617, allocations: 435.7 kB / 486.3 MB, free: 9.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01617, allocations: 0 / 486.3 MB, free: 9.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01617, allocations: 2 kB / 486.3 MB, free: 9.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.01618, allocations: 1.438 kB / 486.3 MB, free: 9.168 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.0009515/0.01713, allocations: 0.9442 MB / 487.3 MB, free: 8.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.01717, allocations: 9.562 kB / 487.3 MB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.0173, allocations: 66.22 kB / 487.3 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.01761, allocations: 283.4 kB / 487.6 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.01765, allocations: 23.83 kB / 487.6 MB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.01772, allocations: 30.44 kB / 487.7 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.01818, allocations: 217.8 kB / 487.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.01819, allocations: 0.875 kB / 487.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.01822, allocations: 6.344 kB / 487.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.01823, allocations: 2.375 kB / 487.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.0184, allocations: 66.8 kB / 488 MB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.02241, allocations: 0.5999 MB / 488.6 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.02267, allocations: 129.1 kB / 488.7 MB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.0228, allocations: 67.61 kB / 488.8 MB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.02282, allocations: 4.531 kB / 488.8 MB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.02307, allocations: 192.2 kB / 488.9 MB, free: 7.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.02307, allocations: 0.75 kB / 488.9 MB, free: 7.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006787/0.02375, allocations: 373 kB / 489.3 MB, free: 7.418 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.02378, allocations: 68.69 kB / 489.4 MB, free: 7.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.02429, allocations: 430.3 kB / 489.8 MB, free: 23.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.02434, allocations: 46.03 kB / 489.8 MB, free: 23.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.02443, allocations: 152.4 kB / 490 MB, free: 22.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.02446, allocations: 37.47 kB / 490 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.02467, allocations: 141.9 kB / 490.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.0248, allocations: 0.4973 MB / 490.7 MB, free: 22.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/0.02838, allocations: 177.6 kB / 490.8 MB, free: 22.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.02863, allocations: 251 kB / 491.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.02892, allocations: 288.6 kB / 491.4 MB, free: 21.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02892, allocations: 2.688 kB / 491.4 MB, free: 21.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007248/0.02964, allocations: 0.5754 MB / 491.9 MB, free: 21.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.0297, allocations: 91.03 kB / 492 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.0297, allocations: 1.469 kB / 492 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.02972, allocations: 3.094 kB / 492 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.02989, allocations: 33.95 kB / 492.1 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.0299, allocations: 10.7 kB / 492.1 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.03019, allocations: 51.05 kB / 492.1 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/0.03029, allocations: 60.66 kB / 492.2 MB, free: 21.48 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.0001613/0.03045, allocations: 188 kB / 492.4 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.03053, allocations: 57.62 kB / 492.4 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.03059, allocations: 29.97 kB / 492.5 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.03059, allocations: 3.062 kB / 492.5 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.0306, allocations: 0 / 492.5 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.0306, allocations: 9.266 kB / 492.5 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.03158, allocations: 0.6995 MB / 493.2 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03158, allocations: 0 / 493.2 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.03162, allocations: 4.594 kB / 493.2 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.03162, allocations: 3.938 kB / 493.2 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.03166, allocations: 27.58 kB / 493.2 MB, free: 20.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.03166, allocations: 0 / 493.2 MB, free: 20.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03167, allocations: 1.469 kB / 493.2 MB, free: 20.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006663/0.03833, allocations: 469.1 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.0386, allocations: 166 kB / 493.8 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.03872, allocations: 17.91 kB / 493.8 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.03906, allocations: 24.16 kB / 493.9 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.0391, allocations: 5.906 kB / 493.9 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.03917, allocations: 61.98 kB / 493.9 MB, free: 20.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.03941, allocations: 277.8 kB / 494.2 MB, free: 20.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03941, allocations: 0.875 kB / 494.2 MB, free: 20.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.03982, allocations: 68.53 kB / 494.3 MB, free: 20.36 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.0001831/0.04001, allocations: 130.4 kB / 494.4 MB, free: 20.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.04082, allocations: 457.3 kB / 494.8 MB, free: 19.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.04082, allocations: 1.531 kB / 494.8 MB, free: 19.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.04099, allocations: 84.03 kB / 494.9 MB, free: 19.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.04141, allocations: 66 kB / 495 MB, free: 19.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/0.04224, allocations: 497.2 kB / 495.5 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.9e-05/0.0423, allocations: 91.14 kB / 495.6 MB, free: 19.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.04236, allocations: 16.98 kB / 495.6 MB, free: 19.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.0424, allocations: 19.39 kB / 495.6 MB, free: 19.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/0.0424, allocations: 0 / 495.6 MB, free: 19.56 MB / 426.7 MB Notification: Performance of Templates: time 0.01066/0.05306, allocations: 6.387 MB / 0.4902 GB, free: 18.36 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.7770295892842114]