Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001445/0.001445, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001613/0.001613, allocations: 211.8 kB / 22.99 MB, free: 4.957 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.237/3.237, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002025/0.002025, allocations: 74.88 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3717, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002991/0.3746, allocations: 1.517 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.376, allocations: 0.5325 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.376, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.3761, allocations: 7.875 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3762, allocations: 23.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.3771, allocations: 317.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000573/0.3777, allocations: 495.4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.3777, allocations: 4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.3781, allocations: 279.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.3784, allocations: 155.6 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.474e-05/0.3785, allocations: 28 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.3786, allocations: 28 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.3788, allocations: 115.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.3789, allocations: 155.2 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.3794, allocations: 438.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3794, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3794, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3794, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 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.001369/0.3808, allocations: 0.795 MB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3808, allocations: 8.031 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.3809, allocations: 56.69 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.3815, allocations: 252.7 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.3815, allocations: 16.36 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/0.3816, allocations: 32.36 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3828, allocations: 213.9 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3828, allocations: 4.172 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.3828, allocations: 7.922 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.3828, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.3837, allocations: 91.92 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3841, allocations: 285.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3853, allocations: 170.5 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.3861, allocations: 96.78 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3861, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.3872, allocations: 223.1 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3872, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002838/0.39, allocations: 491.3 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.3901, allocations: 67.39 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.3906, allocations: 405.9 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.3907, allocations: 41.69 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.3908, allocations: 93.45 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.3908, allocations: 51.61 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.3911, allocations: 125.5 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3912, allocations: 330.8 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.3916, allocations: 191.3 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.3919, allocations: 245.2 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.3924, allocations: 270.5 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3924, allocations: 0 / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001007/0.3934, allocations: 0.5564 MB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.3935, allocations: 79.38 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3935, allocations: 0 / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3936, allocations: 7.938 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3937, allocations: 23.86 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3938, allocations: 7.984 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.3943, allocations: 64.03 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/0.3944, allocations: 59.98 kB / 1.336 GB, free: 7.352 MB / 1.029 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.0002485/0.3946, allocations: 190.2 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.3947, allocations: 43.72 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.3948, allocations: 47.61 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3948, allocations: 3.938 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3948, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3948, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.3973, allocations: 0.6777 MB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3973, allocations: 7.922 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.3974, allocations: 4 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3974, allocations: 0 / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.3974, allocations: 19.97 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3974, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3974, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.3994, allocations: 489.3 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.3998, allocations: 133.9 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.3999, allocations: 15.98 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.4004, allocations: 31.97 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4005, allocations: 15.92 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-05/0.4006, allocations: 59.97 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004001/0.401, allocations: 295.1 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.401, allocations: 0 / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004324/0.4014, allocations: 64 kB / 1.338 GB, free: 5.219 MB / 1.029 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.0001657/0.4016, allocations: 117 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.403, allocations: 477.8 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.403, allocations: 4 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009413/0.404, allocations: 107.9 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4043, allocations: 27.83 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.406, allocations: 0.5591 MB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.4062, allocations: 159 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.508e-05/0.4062, allocations: 13.08 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.4063, allocations: 19.42 kB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.4063, allocations: 7.938 kB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of Templates: time 0.01139/0.4177, allocations: 6.17 MB / 1.346 GB, free: 13.41 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.86758124899643]