Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001409/0.001409, allocations: 114.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.001482/0.001482, allocations: 192.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.52/1.52, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.949/2.949, allocations: 476.7 MB / 0.7645 GB, free: 10.11 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.73 kB / 1.109 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 168.7 MB / 1.274 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002901/0.3845, allocations: 1.54 MB / 1.276 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3858, allocations: 0.5384 MB / 1.276 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.3858, allocations: 0 / 1.276 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3859, allocations: 7.875 kB / 1.276 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.386, allocations: 27.84 kB / 1.276 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.3868, allocations: 314.7 kB / 1.276 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005571/0.3874, allocations: 491.4 kB / 1.277 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.3874, allocations: 0 / 1.277 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.3878, allocations: 279.6 kB / 1.277 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.3881, allocations: 143.5 kB / 1.277 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.3882, allocations: 32 kB / 1.277 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.3883, allocations: 24 kB / 1.277 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.3884, allocations: 123.6 kB / 1.277 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.3886, allocations: 187 kB / 1.278 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.3891, allocations: 418.4 kB / 1.278 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3891, allocations: 0 / 1.278 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.185e-06/0.3891, allocations: 4 kB / 1.278 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3891, allocations: 0 / 1.278 GB, free: 7.168 MB / 0.9825 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.001341/0.3904, allocations: 0.8781 MB / 1.279 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3904, allocations: 12.03 kB / 1.279 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3906, allocations: 48.7 kB / 1.279 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.391, allocations: 322.5 kB / 1.279 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.3911, allocations: 20.36 kB / 1.279 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.3912, allocations: 24.36 kB / 1.279 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3922, allocations: 210 kB / 1.279 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3922, allocations: 4.125 kB / 1.279 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.3922, allocations: 15.94 kB / 1.279 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3922, allocations: 0 / 1.279 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.393, allocations: 103.8 kB / 1.28 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.3936, allocations: 389.3 kB / 1.28 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3946, allocations: 162.5 kB / 1.28 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.3954, allocations: 96.78 kB / 1.28 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3955, allocations: 4 kB / 1.28 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.3965, allocations: 223.2 kB / 1.28 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.3965, allocations: 0 / 1.28 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002722/0.3992, allocations: 492.9 kB / 1.281 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.3993, allocations: 67.33 kB / 1.281 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.3997, allocations: 405.9 kB / 1.281 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.3998, allocations: 41.69 kB / 1.281 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3999, allocations: 106.6 kB / 1.281 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.4, allocations: 39.69 kB / 1.282 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.4002, allocations: 125.5 kB / 1.282 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4003, allocations: 326.8 kB / 1.282 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.4006, allocations: 115.9 kB / 1.282 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.4009, allocations: 177.9 kB / 1.282 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.4013, allocations: 279.9 kB / 1.283 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4013, allocations: 4 kB / 1.283 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009287/0.4023, allocations: 488.7 kB / 1.283 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.4024, allocations: 91.31 kB / 1.283 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4024, allocations: 0 / 1.283 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4024, allocations: 7.938 kB / 1.283 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4026, allocations: 15.98 kB / 1.283 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4026, allocations: 4 kB / 1.283 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.4031, allocations: 71.95 kB / 1.283 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/0.4032, allocations: 63.92 kB / 1.283 GB, free: 1.488 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.0002489/0.4034, allocations: 184 kB / 1.283 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.4035, allocations: 47.69 kB / 1.283 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.4036, allocations: 43.73 kB / 1.283 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4036, allocations: 4 kB / 1.283 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4036, allocations: 0 / 1.283 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4036, allocations: 0 / 1.283 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.406, allocations: 0.7458 MB / 1.284 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.406, allocations: 4 kB / 1.284 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.4061, allocations: 11.98 kB / 1.284 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4061, allocations: 0 / 1.284 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.4061, allocations: 19.97 kB / 1.284 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4061, allocations: 3.938 kB / 1.284 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4061, allocations: 7.938 kB / 1.284 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.4079, allocations: 473.5 kB / 1.285 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.4083, allocations: 208.7 kB / 1.285 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.4084, allocations: 8 kB / 1.285 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.4088, allocations: 27.97 kB / 1.285 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4089, allocations: 11.98 kB / 1.285 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.4089, allocations: 63.97 kB / 1.285 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003113/0.4093, allocations: 291.1 kB / 1.285 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4093, allocations: 0 / 1.285 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003822/0.4096, allocations: 68 kB / 1.285 GB, free: 15.2 MB / 0.9981 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.0001837/0.4098, allocations: 121.8 kB / 1.285 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.4112, allocations: 410.5 kB / 1.286 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4112, allocations: 0 / 1.286 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.412, allocations: 115.8 kB / 1.286 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.4124, allocations: 33.47 kB / 1.286 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.414, allocations: 0.5621 MB / 1.287 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.4145, allocations: 0.7669 MB / 1.287 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.469e-05/0.4145, allocations: 13.08 kB / 1.287 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4146, allocations: 27.42 kB / 1.287 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.4146, allocations: 0 / 1.287 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.01002/0.4246, allocations: 4.989 MB / 1.292 GB, free: 7.988 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.197814378887415]