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.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.001676/0.001676, allocations: 115.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.001709/0.001709, allocations: 193.6 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.527/1.527, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.863/2.863, 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.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: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.88 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.881, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003821/0.8849, allocations: 1.53 MB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.8864, allocations: 0.5423 MB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.8865, allocations: 0 / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.8866, allocations: 15.8 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.8867, allocations: 19.88 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.8877, allocations: 313.1 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007825/0.8885, allocations: 487.4 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.8886, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.8892, allocations: 279.6 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.8896, allocations: 151.4 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.8897, allocations: 28 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.8898, allocations: 24 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.8899, allocations: 119.6 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.8902, allocations: 187 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.8907, allocations: 421.1 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.8907, allocations: 7.922 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8907, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.8908, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 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.001708/0.8925, allocations: 0.8704 MB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.8925, allocations: 12.03 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.8927, allocations: 48.7 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.8932, allocations: 318.5 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.8933, allocations: 24.3 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.8934, allocations: 24.36 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.8944, allocations: 211.4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8945, allocations: 192 / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.8945, allocations: 15.92 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8945, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008249/0.8953, allocations: 99.92 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.8959, allocations: 393.2 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.8971, allocations: 166.4 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.8979, allocations: 104.8 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.8979, allocations: 3.984 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.899, allocations: 223.1 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.899, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002906/0.9019, allocations: 489 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.902, allocations: 67.34 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.9025, allocations: 409.9 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.9026, allocations: 41.64 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.9027, allocations: 97.44 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/0.9028, allocations: 43.67 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.9031, allocations: 133.4 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.9033, allocations: 318.8 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.9036, allocations: 119.9 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.9039, allocations: 173.9 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.9044, allocations: 283.2 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.9044, allocations: 0 / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001101/0.9055, allocations: 488.7 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.9056, allocations: 95.31 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.9056, allocations: 0 / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.9056, allocations: 4 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.9058, allocations: 28.09 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9058, allocations: 4 kB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.9064, allocations: 59.84 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.9065, allocations: 63.92 kB / 1.283 GB, free: 10.78 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.0002657/0.9068, allocations: 191.9 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.9069, allocations: 47.69 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.907, allocations: 43.75 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.907, allocations: 0 / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.907, allocations: 0 / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.907, allocations: 0 / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.9096, allocations: 0.7545 MB / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.9096, allocations: 0 / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.9096, allocations: 4 kB / 1.284 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.9096, allocations: 0 / 1.284 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.9097, allocations: 19.97 kB / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9097, allocations: 0 / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.9097, allocations: 0 / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.9116, allocations: 484.9 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.9119, allocations: 204.7 kB / 1.285 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.912, allocations: 8 kB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.9125, allocations: 35.97 kB / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.9126, allocations: 7.984 kB / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.9127, allocations: 55.97 kB / 1.285 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003693/0.913, allocations: 295.1 kB / 1.285 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.913, allocations: 0 / 1.285 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004298/0.9135, allocations: 71.98 kB / 1.285 GB, free: 8.492 MB / 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.0002581/0.9137, allocations: 121.5 kB / 1.285 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.9152, allocations: 416.1 kB / 1.286 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9152, allocations: 0 / 1.286 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008484/0.9161, allocations: 107.9 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.9165, allocations: 31.73 kB / 1.286 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.9183, allocations: 0.5666 MB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.9188, allocations: 0.7708 MB / 1.287 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.358e-05/0.9189, allocations: 13.09 kB / 1.287 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.919, allocations: 19.42 kB / 1.287 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of SimCode: time 7.62e-07/0.919, allocations: 0 / 1.287 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of Templates: time 0.01169/0.9307, allocations: 5.056 MB / 1.292 GB, free: 1.215 MB / 0.9825 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 -s cvode -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_2/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: 10.181394262239337]