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.002273/0.002273, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.00273/0.00273, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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 1.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.038/1.038, allocations: 115 MB / 375.3 MB, free: 7.578 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.573e-06/1.573e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.44e-05, allocations: 3.375 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002242/0.002266, allocations: 1.745 MB / 482.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003335, allocations: 0.6161 MB / 483.2 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.003386, allocations: 3.219 kB / 483.2 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.003474, allocations: 13.88 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.00358, allocations: 28.78 kB / 483.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.004221, allocations: 376.8 kB / 483.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.004694, allocations: 0.597 MB / 484.2 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.004781, allocations: 31.92 kB / 484.2 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.005212, allocations: 418.7 kB / 484.6 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.005467, allocations: 133.3 kB / 484.8 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.005598, allocations: 40.59 kB / 484.8 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.005737, allocations: 41.47 kB / 484.9 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.005848, allocations: 128.2 kB / 485 MB, free: 9.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.006006, allocations: 155.3 kB / 485.1 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.006498, allocations: 0.6445 MB / 485.8 MB, free: 9.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.0065, allocations: 3.469 kB / 485.8 MB, free: 9.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006501, allocations: 1.25 kB / 485.8 MB, free: 9.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.006507, allocations: 0 / 485.8 MB, free: 9.188 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.001079/0.007586, allocations: 0.9743 MB / 486.8 MB, free: 8.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.007624, allocations: 9.469 kB / 486.8 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.007764, allocations: 63.97 kB / 486.8 MB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.008158, allocations: 282.7 kB / 487.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.008199, allocations: 20.42 kB / 487.1 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.008276, allocations: 36.3 kB / 487.2 MB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.008857, allocations: 221.3 kB / 487.4 MB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.008867, allocations: 2.188 kB / 487.4 MB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.008897, allocations: 8.859 kB / 487.4 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.008901, allocations: 3.75 kB / 487.4 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.009296, allocations: 93.5 kB / 487.5 MB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01054, allocations: 0.6704 MB / 488.1 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.01111, allocations: 152 kB / 488.3 MB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.01147, allocations: 104.2 kB / 488.4 MB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.01149, allocations: 2.594 kB / 488.4 MB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005059/0.012, allocations: 226.8 kB / 488.6 MB, free: 7.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.012, allocations: 0 / 488.6 MB, free: 7.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001442/0.01344, allocations: 447.1 kB / 489.1 MB, free: 7.309 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01347, allocations: 64.08 kB / 489.1 MB, free: 7.242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.0139, allocations: 0.5134 MB / 489.6 MB, free: 6.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.01394, allocations: 40.84 kB / 489.7 MB, free: 6.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.01414, allocations: 160 kB / 489.8 MB, free: 22.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.01418, allocations: 44.88 kB / 489.9 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.01437, allocations: 155.7 kB / 490 MB, free: 22.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005392/0.01491, allocations: 0.5003 MB / 490.5 MB, free: 22.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.01523, allocations: 239.9 kB / 490.8 MB, free: 22.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.01557, allocations: 320.5 kB / 491.1 MB, free: 21.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.0159, allocations: 341.9 kB / 491.4 MB, free: 21.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01591, allocations: 1.156 kB / 491.4 MB, free: 21.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008956/0.0168, allocations: 0.6645 MB / 492.1 MB, free: 21.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.794e-05/0.01688, allocations: 90.64 kB / 492.2 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01689, allocations: 4.562 kB / 492.2 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.0169, allocations: 2.75 kB / 492.2 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.01709, allocations: 34.8 kB / 492.2 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.01709, allocations: 3.625 kB / 492.2 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.01744, allocations: 41.11 kB / 492.2 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/0.01753, allocations: 63.98 kB / 492.3 MB, free: 21.17 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.0002053/0.01773, allocations: 203.5 kB / 492.5 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.01781, allocations: 53.66 kB / 492.6 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.01786, allocations: 34.58 kB / 492.6 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01787, allocations: 5.75 kB / 492.6 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01787, allocations: 0 / 492.6 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01788, allocations: 5.281 kB / 492.6 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.01942, allocations: 0.8159 MB / 493.4 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01942, allocations: 1.281 kB / 493.4 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.01945, allocations: 3.375 kB / 493.4 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01946, allocations: 1.156 kB / 493.4 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.01949, allocations: 20.19 kB / 493.4 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.0195, allocations: 1.312 kB / 493.4 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0195, allocations: 0 / 493.4 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.02053, allocations: 0.5078 MB / 494 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.02082, allocations: 179.9 kB / 494.1 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.0209, allocations: 14.78 kB / 494.1 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.02117, allocations: 24.05 kB / 494.2 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.02121, allocations: 7.422 kB / 494.2 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.02127, allocations: 59.64 kB / 494.2 MB, free: 20.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003166/0.02159, allocations: 312.5 kB / 494.5 MB, free: 19.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02159, allocations: 0 / 494.5 MB, free: 19.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.02195, allocations: 70.3 kB / 494.6 MB, free: 19.95 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.0001705/0.02212, allocations: 121.1 kB / 494.7 MB, free: 19.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.02316, allocations: 0.6375 MB / 495.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02317, allocations: 2.156 kB / 495.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.02356, allocations: 117 kB / 495.5 MB, free: 19.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.02397, allocations: 70.94 kB / 495.5 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.02495, allocations: 0.5179 MB / 496.1 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.0251, allocations: 176.5 kB / 496.2 MB, free: 19.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.02516, allocations: 15.62 kB / 496.3 MB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.0252, allocations: 15.31 kB / 496.3 MB, free: 19.05 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0252, allocations: 1.156 kB / 496.3 MB, free: 19.05 MB / 426.7 MB Notification: Performance of Templates: time 0.0103/0.0355, allocations: 6.385 MB / 0.4909 GB, free: 17.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: 5.642203773022629]