Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.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.001822/0.001822, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002283/0.002283, allocations: 213.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476 MB / 0.7707 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 73.06 kB / 1.118 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 169.9 MB / 1.284 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002934/0.3699, allocations: 1.53 MB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3712, allocations: 0.5226 MB / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.3713, allocations: 0 / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.989e-05/0.3714, allocations: 11.86 kB / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3715, allocations: 23.86 kB / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.3723, allocations: 326.6 kB / 1.286 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.3728, allocations: 483.5 kB / 1.287 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.3728, allocations: 4 kB / 1.287 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.3732, allocations: 283.6 kB / 1.287 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3735, allocations: 131.6 kB / 1.287 GB, free: 448 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-05/0.3736, allocations: 28 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.3737, allocations: 28 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3738, allocations: 115.7 kB / 1.287 GB, free: 276 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.374, allocations: 155.3 kB / 1.287 GB, free: 120 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.3745, allocations: 430.6 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3745, allocations: 4 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3745, allocations: 0 / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3745, allocations: 4 kB / 1.288 GB, free: 15.68 MB / 0.9981 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.00127/0.3758, allocations: 0.7911 MB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3758, allocations: 8.031 kB / 1.288 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.3759, allocations: 56.66 kB / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.3764, allocations: 260.7 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.3764, allocations: 16.36 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.3765, allocations: 28.36 kB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.3775, allocations: 214 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3775, allocations: 192 / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3775, allocations: 11.92 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3775, allocations: 4 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.3783, allocations: 99.86 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.3787, allocations: 281.1 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3797, allocations: 166.5 kB / 1.29 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.3805, allocations: 100.8 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3805, allocations: 7.938 kB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009568/0.3814, allocations: 219.2 kB / 1.29 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.3814, allocations: 4 kB / 1.29 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002585/0.384, allocations: 489 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3841, allocations: 63.39 kB / 1.29 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.3846, allocations: 413.9 kB / 1.291 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.3846, allocations: 41.69 kB / 1.291 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.3847, allocations: 93.44 kB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.3848, allocations: 39.69 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.385, allocations: 133.3 kB / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3852, allocations: 330.8 kB / 1.291 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.3855, allocations: 191.3 kB / 1.292 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.3859, allocations: 242.6 kB / 1.292 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.3863, allocations: 275 kB / 1.292 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3863, allocations: 0 / 1.292 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000953/0.3873, allocations: 0.549 MB / 1.293 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/0.3874, allocations: 83.38 kB / 1.293 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3874, allocations: 3.938 kB / 1.293 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3874, allocations: 7.938 kB / 1.293 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3876, allocations: 23.97 kB / 1.293 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3876, allocations: 0 / 1.293 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.388, allocations: 67.97 kB / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/0.3881, allocations: 55.98 kB / 1.293 GB, free: 10.07 MB / 0.9981 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002457/0.3884, allocations: 193.8 kB / 1.293 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.3884, allocations: 39.75 kB / 1.293 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.3885, allocations: 39.62 kB / 1.293 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3885, allocations: 7.922 kB / 1.293 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3885, allocations: 4 kB / 1.293 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3885, allocations: 0 / 1.293 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.3908, allocations: 0.6832 MB / 1.294 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3908, allocations: 3.938 kB / 1.294 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.3908, allocations: 4 kB / 1.294 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3908, allocations: 0 / 1.294 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.3908, allocations: 23.97 kB / 1.294 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3908, allocations: 3.938 kB / 1.294 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3908, allocations: 4 kB / 1.294 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3926, allocations: 483.4 kB / 1.294 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.3929, allocations: 129.5 kB / 1.294 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.738e-05/0.393, allocations: 15.98 kB / 1.294 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.3934, allocations: 35.97 kB / 1.294 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3935, allocations: 7.984 kB / 1.294 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.3936, allocations: 59.97 kB / 1.295 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003196/0.3939, allocations: 299 kB / 1.295 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3939, allocations: 0 / 1.295 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003522/0.3942, allocations: 64 kB / 1.295 GB, free: 7.941 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001682/0.3944, allocations: 117.5 kB / 1.295 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.3957, allocations: 480.5 kB / 1.295 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3957, allocations: 0 / 1.295 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007444/0.3965, allocations: 107.9 kB / 1.296 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3969, allocations: 29.95 kB / 1.296 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3984, allocations: 0.5959 MB / 1.296 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3986, allocations: 163 kB / 1.296 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.3987, allocations: 15.44 kB / 1.296 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/0.3987, allocations: 0 / 1.296 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of Templates: time 0.006605/0.4053, allocations: 3.755 MB / 1.3 GB, free: 2.539 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 12.801446383818984]