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.001484/0.001484, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001565/0.001565, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.781 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.848/2.848, allocations: 476 MB / 0.7699 GB, free: 4.754 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.002094/0.002094, allocations: 68.48 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002934/0.3026, allocations: 1.525 MB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.304, allocations: 0.5344 MB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.304, allocations: 0 / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.02e-05/0.3041, allocations: 7.875 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.3042, allocations: 27.84 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.305, allocations: 316.8 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.3056, allocations: 487.4 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.3057, allocations: 3.984 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.3061, allocations: 279.6 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3064, allocations: 139.6 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3065, allocations: 28 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.3066, allocations: 24 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.3067, allocations: 115.7 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.307, allocations: 155.3 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.3076, allocations: 434.3 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3076, allocations: 4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3076, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.3076, allocations: 0 / 1.287 GB, free: 7.887 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.001414/0.309, allocations: 0.7969 MB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.309, allocations: 8.031 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.3091, allocations: 60.64 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.3097, allocations: 256.7 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.3097, allocations: 16.36 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.3098, allocations: 32.36 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.3108, allocations: 215.5 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3108, allocations: 192 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.3108, allocations: 7.922 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3108, allocations: 4 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.3116, allocations: 95.86 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.312, allocations: 281.1 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.313, allocations: 170.5 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.3137, allocations: 96.78 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3137, allocations: 4 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009424/0.3147, allocations: 222.4 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.3147, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002527/0.3172, allocations: 493 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.3173, allocations: 67.38 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.3177, allocations: 409.9 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/0.3178, allocations: 41.69 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.3179, allocations: 93.45 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.318, allocations: 43.67 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3182, allocations: 133.4 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3183, allocations: 326.8 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.3187, allocations: 191.3 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.3191, allocations: 242.6 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.3195, allocations: 269.2 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3195, allocations: 0 / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009431/0.3204, allocations: 0.553 MB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3205, allocations: 79.38 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3205, allocations: 0 / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3206, allocations: 11.88 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3207, allocations: 15.98 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3208, allocations: 7.984 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.3212, allocations: 64.03 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/0.3213, allocations: 63.92 kB / 1.292 GB, free: 2.277 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 (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.0002598/0.3216, allocations: 187.1 kB / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.3217, allocations: 43.7 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.654e-05/0.3218, allocations: 55.53 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3218, allocations: 0 / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.3218, allocations: 4 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3218, allocations: 0 / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.324, allocations: 0.6816 MB / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.324, allocations: 3.938 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.3241, allocations: 7.984 kB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3241, allocations: 0 / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.3241, allocations: 19.97 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3241, allocations: 3.938 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3241, allocations: 4 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3259, allocations: 482.4 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.3262, allocations: 133.5 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.3263, allocations: 12 kB / 1.294 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.3267, allocations: 35.95 kB / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3268, allocations: 11.98 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.3269, allocations: 55.97 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00033/0.3272, allocations: 295.1 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3272, allocations: 0 / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003824/0.3276, allocations: 64 kB / 1.294 GB, free: 156 kB / 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 (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.000168/0.3277, allocations: 117.5 kB / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.3291, allocations: 477.8 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3291, allocations: 4 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007493/0.3299, allocations: 111.8 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3302, allocations: 25.58 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3318, allocations: 0.5556 MB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.332, allocations: 159 kB / 1.295 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.864e-05/0.332, allocations: 13.08 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.3321, allocations: 19.38 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3321, allocations: 4 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.01082/0.3429, allocations: 6.153 MB / 1.302 GB, free: 8.383 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins/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: 9.800800813362002]