Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002458/0.002458, allocations: 191.7 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.91 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8679, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003341/0.8713, allocations: 1.542 MB / 1.276 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.8728, allocations: 0.5422 MB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.8729, allocations: 0 / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.8731, allocations: 7.875 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.8732, allocations: 31.84 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.8743, allocations: 320.1 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000761/0.8751, allocations: 483.4 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.8751, allocations: 4 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.8757, allocations: 275.6 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.876, allocations: 147.4 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.609e-05/0.8761, allocations: 32 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.682e-05/0.8762, allocations: 28 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.8764, allocations: 119.6 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.8766, allocations: 179.1 kB / 1.278 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.8771, allocations: 425.1 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8771, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8771, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.8771, allocations: 3.938 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001645/0.8788, allocations: 0.8821 MB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.8788, allocations: 8.031 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.879, allocations: 52.7 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.8795, allocations: 318.4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.8796, allocations: 16.36 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.8797, allocations: 28.38 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.8807, allocations: 210 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.8807, allocations: 4.188 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.8808, allocations: 3.938 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.8808, allocations: 0 / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007665/0.8815, allocations: 103.9 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.882, allocations: 389.3 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.8831, allocations: 166.5 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/0.8838, allocations: 100.8 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.8838, allocations: 4 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000995/0.8848, allocations: 223.1 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.8848, allocations: 0 / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002694/0.8875, allocations: 489 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.8876, allocations: 71.38 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.888, allocations: 405.9 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.8881, allocations: 49.69 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.8882, allocations: 87.02 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.8883, allocations: 47.62 kB / 1.282 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.8885, allocations: 133.3 kB / 1.282 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8886, allocations: 322.8 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.8889, allocations: 115.9 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.8892, allocations: 173.9 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.8896, allocations: 275.3 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8896, allocations: 4 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008814/0.8905, allocations: 0.4889 MB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.8906, allocations: 88.88 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8906, allocations: 7.938 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.8906, allocations: 0 / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.8908, allocations: 23.98 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.8908, allocations: 4 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.8913, allocations: 63.97 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/0.8914, allocations: 59.97 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002377/0.8916, allocations: 190.2 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.8917, allocations: 47.64 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.8918, allocations: 43.72 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.8918, allocations: 8 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8918, allocations: 4 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8918, allocations: 0 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.8942, allocations: 0.7426 MB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8942, allocations: 4 kB / 1.284 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.8942, allocations: 7.984 kB / 1.284 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.8942, allocations: 4 kB / 1.284 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.8943, allocations: 19.98 kB / 1.284 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8943, allocations: 3.938 kB / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8943, allocations: 0 / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.8961, allocations: 475.4 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.8965, allocations: 200.7 kB / 1.285 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.8965, allocations: 15.98 kB / 1.285 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.897, allocations: 27.97 kB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.8971, allocations: 15.98 kB / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.8972, allocations: 55.98 kB / 1.285 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003185/0.8975, allocations: 295.1 kB / 1.285 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8975, allocations: 0 / 1.285 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003609/0.8978, allocations: 63.98 kB / 1.285 GB, free: 8.527 MB / 0.9825 GB 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001807/0.898, allocations: 123.7 kB / 1.285 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.8994, allocations: 408.2 kB / 1.286 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8994, allocations: 0 / 1.286 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.9002, allocations: 111.8 kB / 1.286 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.9006, allocations: 33.8 kB / 1.286 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.9022, allocations: 0.555 MB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.9027, allocations: 0.7747 MB / 1.287 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.716e-05/0.9027, allocations: 13.02 kB / 1.287 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.9028, allocations: 19.44 kB / 1.287 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.9028, allocations: 0 / 1.287 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.0118/0.9146, allocations: 4.993 MB / 1.292 GB, free: 1.316 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.27166130207479]