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.001337/0.001337, 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.0015/0.0015, allocations: 210.1 kB / 22.25 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.789 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.23/3.23, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.002041/0.002041, allocations: 65.98 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003026/0.3287, allocations: 1.516 MB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.33, allocations: 0.5306 MB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.3301, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.717e-05/0.3301, allocations: 7.875 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3303, allocations: 27.84 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008303/0.3311, allocations: 310.3 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.3317, allocations: 491.4 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3317, allocations: 7.984 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.3321, allocations: 271.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.3324, allocations: 137.1 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3325, allocations: 28 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.963e-05/0.3326, allocations: 24 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3328, allocations: 115.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.333, allocations: 163.2 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.3335, allocations: 430.3 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3335, allocations: 3.984 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3335, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.3335, allocations: 0 / 1.329 GB, free: 13.86 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.001321/0.3348, allocations: 0.799 MB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3348, allocations: 8.031 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.335, allocations: 52.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3355, allocations: 256.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.3355, allocations: 20.36 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.3356, allocations: 32.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009743/0.3366, allocations: 210 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3366, allocations: 4.125 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.3366, allocations: 7.938 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3366, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.3374, allocations: 110.8 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.3378, allocations: 277.1 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.3389, allocations: 166.5 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.3396, allocations: 100.8 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3396, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009536/0.3406, allocations: 235 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3406, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002524/0.3431, allocations: 485 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3431, allocations: 59.41 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.3436, allocations: 413.9 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.3436, allocations: 41.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.3437, allocations: 93.44 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.3438, allocations: 43.67 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.344, allocations: 129.5 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3441, allocations: 322.8 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.3445, allocations: 191.3 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.3449, allocations: 253.2 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.3453, allocations: 266.8 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3453, allocations: 0 / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009334/0.3462, allocations: 0.5528 MB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.3463, allocations: 79.38 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3463, allocations: 4 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3463, allocations: 3.938 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3465, allocations: 27.92 kB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.3465, allocations: 4 kB / 1.334 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.347, allocations: 55.78 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.3471, allocations: 68.03 kB / 1.335 GB, free: 8.246 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.0002404/0.3473, allocations: 194.2 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.3474, allocations: 39.72 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.3475, allocations: 47.61 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3475, allocations: 4 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3475, allocations: 0 / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3475, allocations: 0 / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.3497, allocations: 0.6739 MB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3497, allocations: 7.938 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.3498, allocations: 7.922 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3498, allocations: 4 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.3498, allocations: 19.92 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3498, allocations: 0 / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3498, allocations: 0 / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.3516, allocations: 489.3 kB / 1.336 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.3519, allocations: 133.9 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.352, allocations: 8 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.3525, allocations: 35.95 kB / 1.336 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3525, allocations: 15.97 kB / 1.336 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.3526, allocations: 55.98 kB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003538/0.3529, allocations: 291.1 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3529, allocations: 4 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003902/0.3533, allocations: 71.92 kB / 1.337 GB, free: 6.109 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.0001668/0.3535, allocations: 120.9 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.3549, allocations: 477.8 kB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3549, allocations: 4 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.3556, allocations: 111.9 kB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.356, allocations: 37.12 kB / 1.337 GB, free: 5.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.3575, allocations: 0.5544 MB / 1.338 GB, free: 4.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3577, allocations: 166.9 kB / 1.338 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.124e-05/0.3578, allocations: 13.08 kB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.3578, allocations: 11.44 kB / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.3578, allocations: 4 kB / 1.338 GB, free: 4.539 MB / 1.029 GB Notification: Performance of Templates: time 0.01077/0.3686, allocations: 6.15 MB / 1.344 GB, free: 14.32 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 -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/jenkins/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.758732801303267]