Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0009544/0.0009544, allocations: 88.22 kB / 20.42 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.0009578/0.0009578, allocations: 169 kB / 23.8 MB, free: 0.7617 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.9557/0.9557, allocations: 177.1 MB / 204.2 MB, free: 5.215 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.5831/0.5831, allocations: 115 MB / 375.7 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.075e-06/3.075e-06, allocations: 3.938 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.871e-05, allocations: 6.297 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002266/0.002295, allocations: 1.767 MB / 483.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.003238, allocations: 0.6128 MB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.0033, allocations: 1.125 kB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.754e-05/0.003398, allocations: 12.5 kB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.003519, allocations: 39.86 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.004158, allocations: 379 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.004604, allocations: 0.6007 MB / 485 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.004692, allocations: 16.72 kB / 485 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.005048, allocations: 419.9 kB / 485.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.005252, allocations: 144.8 kB / 485.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.005319, allocations: 40.03 kB / 485.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.005388, allocations: 40.59 kB / 485.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.005486, allocations: 131.8 kB / 485.7 MB, free: 9.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.005603, allocations: 152.7 kB / 485.9 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.005917, allocations: 433.4 kB / 486.3 MB, free: 9.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005919, allocations: 0 / 486.3 MB, free: 9.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.00592, allocations: 1.844 kB / 486.3 MB, free: 9.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.005926, allocations: 0 / 486.3 MB, free: 9.219 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.0007978/0.006724, allocations: 0.9531 MB / 487.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.006758, allocations: 9 kB / 487.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.006867, allocations: 64.94 kB / 487.3 MB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.007108, allocations: 275.5 kB / 487.6 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.007143, allocations: 25.14 kB / 487.6 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.007195, allocations: 33 kB / 487.7 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.007553, allocations: 218.5 kB / 487.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.007559, allocations: 192 / 487.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.007581, allocations: 3.438 kB / 487.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.007588, allocations: 6.812 kB / 487.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.007697, allocations: 64.92 kB / 487.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.008505, allocations: 0.6066 MB / 488.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.008695, allocations: 124.3 kB / 488.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.008789, allocations: 70.31 kB / 488.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.008805, allocations: 2.781 kB / 488.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.008992, allocations: 196.7 kB / 488.9 MB, free: 23.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.008993, allocations: 0.9688 kB / 488.9 MB, free: 23.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005256/0.009519, allocations: 369.8 kB / 489.3 MB, free: 23.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.009545, allocations: 64.59 kB / 489.4 MB, free: 23.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.009798, allocations: 433.6 kB / 489.8 MB, free: 23.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.009832, allocations: 43.94 kB / 489.8 MB, free: 23.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.009897, allocations: 153 kB / 490 MB, free: 22.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.009923, allocations: 40.53 kB / 490 MB, free: 22.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.01004, allocations: 146.1 kB / 490.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.01013, allocations: 0.4952 MB / 490.7 MB, free: 22.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.01034, allocations: 178.8 kB / 490.8 MB, free: 22.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.01053, allocations: 250.6 kB / 491.1 MB, free: 22.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.01076, allocations: 291.1 kB / 491.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01076, allocations: 1.219 kB / 491.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005546/0.01131, allocations: 0.5697 MB / 491.9 MB, free: 21.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.01136, allocations: 89.75 kB / 492 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01137, allocations: 2.188 kB / 492 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01138, allocations: 4 kB / 492 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.0115, allocations: 35.14 kB / 492.1 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01151, allocations: 3.188 kB / 492.1 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.01168, allocations: 45.89 kB / 492.1 MB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.01174, allocations: 64.7 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.0001189/0.01186, allocations: 192.5 kB / 492.4 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.01191, allocations: 53.31 kB / 492.4 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.01195, allocations: 34.36 kB / 492.4 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01196, allocations: 2.562 kB / 492.4 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01196, allocations: 0 / 492.4 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01196, allocations: 7 kB / 492.5 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.01262, allocations: 0.7025 MB / 493.2 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01263, allocations: 4 kB / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.01265, allocations: 6.766 kB / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01265, allocations: 4.219 kB / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.01268, allocations: 23.28 kB / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01268, allocations: 0.7812 kB / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01268, allocations: 0 / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.01309, allocations: 468.3 kB / 493.7 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.01325, allocations: 167.6 kB / 493.8 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.0133, allocations: 18.55 kB / 493.8 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01345, allocations: 25.03 kB / 493.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.01348, allocations: 6.469 kB / 493.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.01353, allocations: 61.34 kB / 493.9 MB, free: 20.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.01369, allocations: 278.7 kB / 494.2 MB, free: 20.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01369, allocations: 0 / 494.2 MB, free: 20.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.01393, allocations: 68.02 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 9.994e-05/0.01403, allocations: 125.6 kB / 494.4 MB, free: 20.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.01447, allocations: 456.7 kB / 494.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01447, allocations: 1.219 kB / 494.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.01458, allocations: 82.62 kB / 494.9 MB, free: 20.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.01484, allocations: 60.53 kB / 495 MB, free: 20.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.0154, allocations: 497.4 kB / 495.5 MB, free: 19.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.617e-05/0.01545, allocations: 92.67 kB / 495.5 MB, free: 19.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.01549, allocations: 14.17 kB / 495.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.01552, allocations: 20.86 kB / 495.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01552, allocations: 3.938 kB / 495.6 MB, free: 19.61 MB / 426.7 MB Notification: Performance of Templates: time 0.008743/0.02427, allocations: 7.011 MB / 0.4908 GB, free: 18.01 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.361347591970116]