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.0009354/0.0009354, allocations: 92.22 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.0009305/0.0009305, 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.9995/0.9995, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6177/0.6177, allocations: 115 MB / 375.7 MB, free: 7.621 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.823e-06/1.823e-06, allocations: 0 / 481.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.031e-05, allocations: 8.172 kB / 481.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003423/0.003453, allocations: 1.769 MB / 483.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.005091, allocations: 0.6277 MB / 484 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.005218, allocations: 1.844 kB / 484 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.005348, allocations: 7.875 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.005529, allocations: 39.75 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.006604, allocations: 372.1 kB / 484.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.007453, allocations: 0.5996 MB / 485 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.007577, allocations: 18.61 kB / 485 MB, free: 9.801 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007059/0.008283, allocations: 422.6 kB / 485.4 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.008688, allocations: 135.9 kB / 485.5 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.008851, allocations: 40.22 kB / 485.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.008949, allocations: 40.88 kB / 485.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.009088, allocations: 132.1 kB / 485.7 MB, free: 9.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.009277, allocations: 151.7 kB / 485.9 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.009864, allocations: 436.5 kB / 486.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.009868, allocations: 0 / 486.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.009869, allocations: 1.844 kB / 486.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.009885, allocations: 0 / 486.3 MB, free: 9.238 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.001698/0.01158, allocations: 0.9444 MB / 487.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.01164, allocations: 9.906 kB / 487.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.01179, allocations: 69.17 kB / 487.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.01207, allocations: 281.2 kB / 487.6 MB, free: 24.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.01211, allocations: 23.8 kB / 487.6 MB, free: 24.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.01216, allocations: 28.41 kB / 487.7 MB, free: 24.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.01254, allocations: 219.6 kB / 487.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.01255, allocations: 4.453 kB / 487.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.01257, allocations: 1.719 kB / 487.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.01258, allocations: 4.125 kB / 487.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.0127, allocations: 67.42 kB / 488 MB, free: 24.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.01345, allocations: 0.6079 MB / 488.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.01364, allocations: 125.9 kB / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.01373, allocations: 67.8 kB / 488.8 MB, free: 23.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.01375, allocations: 2.562 kB / 488.8 MB, free: 23.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.01395, allocations: 192.5 kB / 488.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.01395, allocations: 5.031 kB / 488.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005698/0.01452, allocations: 376 kB / 489.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.01456, allocations: 60.72 kB / 489.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.01487, allocations: 434.4 kB / 489.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.01491, allocations: 44.03 kB / 489.8 MB, free: 23.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.01499, allocations: 149.5 kB / 490 MB, free: 22.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.01502, allocations: 42.3 kB / 490 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.01516, allocations: 144.8 kB / 490.2 MB, free: 22.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.01527, allocations: 0.4941 MB / 490.7 MB, free: 22.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.01548, allocations: 181.7 kB / 490.8 MB, free: 22.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.01569, allocations: 249.6 kB / 491.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.01594, allocations: 284.2 kB / 491.4 MB, free: 21.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01594, allocations: 5.062 kB / 491.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005989/0.01654, allocations: 0.5729 MB / 491.9 MB, free: 21.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.01659, allocations: 90.78 kB / 492 MB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.0166, allocations: 5.422 kB / 492 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.01662, allocations: 8.719 kB / 492 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.01675, allocations: 39.56 kB / 492.1 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01676, allocations: 2.375 kB / 492.1 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.01696, allocations: 46.09 kB / 492.1 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.01702, allocations: 59.77 kB / 492.2 MB, free: 21.55 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.0001494/0.01717, allocations: 188.8 kB / 492.4 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.01722, allocations: 52.61 kB / 492.4 MB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.01726, allocations: 34.86 kB / 492.5 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01727, allocations: 2.594 kB / 492.5 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01727, allocations: 6.75 kB / 492.5 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01727, allocations: 1.188 kB / 492.5 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.01794, allocations: 0.7043 MB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01794, allocations: 0 / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.01797, allocations: 4.125 kB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01797, allocations: 1.062 kB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.01799, allocations: 22.77 kB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01799, allocations: 1.25 kB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.018, allocations: 3.125 kB / 493.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.01842, allocations: 473.8 kB / 493.7 MB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.01858, allocations: 170 kB / 493.8 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.01863, allocations: 19.83 kB / 493.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.01877, allocations: 21.05 kB / 493.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.01879, allocations: 10.73 kB / 493.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.01884, allocations: 54.81 kB / 493.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.01904, allocations: 281.2 kB / 494.2 MB, free: 20.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01904, allocations: 1.281 kB / 494.2 MB, free: 20.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.01931, allocations: 67.78 kB / 494.3 MB, free: 20.42 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.0001151/0.01943, allocations: 117.6 kB / 494.4 MB, free: 20.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.0199, allocations: 461.2 kB / 494.8 MB, free: 20.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.0199, allocations: 1.375 kB / 494.8 MB, free: 20.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.02002, allocations: 82.41 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.0002795/0.0203, allocations: 59.75 kB / 495 MB, free: 20.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.02095, allocations: 0.4916 MB / 495.5 MB, free: 19.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.795e-05/0.02102, allocations: 91.94 kB / 495.6 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.02108, allocations: 16.55 kB / 495.6 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.02112, allocations: 18.81 kB / 495.6 MB, free: 19.63 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02112, allocations: 0 / 495.6 MB, free: 19.63 MB / 426.7 MB Notification: Performance of Templates: time 0.01074/0.03185, allocations: 7.01 MB / 0.4908 GB, free: 17.98 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.6565150511451066]