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.001717/0.001717, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002021/0.002021, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.429/1.429, allocations: 225.6 MB / 251 MB, free: 13.04 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.926/2.926, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.00245/0.00245, allocations: 68.12 kB / 1.109 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.787, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00277/0.7898, allocations: 1.53 MB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.7911, allocations: 0.5462 MB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.7911, allocations: 0 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.766e-05/0.7912, allocations: 19.86 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.794e-05/0.7913, allocations: 15.88 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.7921, allocations: 327.2 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.7927, allocations: 487.4 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.7927, allocations: 7.984 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.7931, allocations: 271.7 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.7934, allocations: 155.5 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.7934, allocations: 24 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.7935, allocations: 28 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.7937, allocations: 119.6 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.7939, allocations: 187 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.7943, allocations: 428.8 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7943, allocations: 7.922 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7943, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7943, allocations: 0 / 1.278 GB, free: 80 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.00125/0.7956, allocations: 0.7952 MB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.7956, allocations: 12.03 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.7957, allocations: 48.7 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.7961, allocations: 264.7 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.7962, allocations: 20.36 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.7963, allocations: 24.36 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.7972, allocations: 209.9 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7972, allocations: 4.188 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.7973, allocations: 11.94 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.7973, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.798, allocations: 103.9 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.7985, allocations: 356.4 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.7994, allocations: 166.5 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.8001, allocations: 96.78 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.8002, allocations: 8 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009253/0.8011, allocations: 227 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.8011, allocations: 0 / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002464/0.8036, allocations: 485 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.8036, allocations: 67.33 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.8041, allocations: 405.9 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.8041, allocations: 45.69 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.8042, allocations: 97.44 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.8043, allocations: 39.69 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.8045, allocations: 133.5 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.8046, allocations: 318.8 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.8049, allocations: 119.9 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.8052, allocations: 179.4 kB / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.8056, allocations: 275.8 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8056, allocations: 0 / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008453/0.8064, allocations: 496.6 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.8065, allocations: 91.31 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.8065, allocations: 0 / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.8066, allocations: 4 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.8067, allocations: 23.92 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8067, allocations: 4 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.8072, allocations: 67.95 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.8073, allocations: 59.98 kB / 1.283 GB, free: 10.61 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.0002332/0.8075, allocations: 197.7 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.8076, allocations: 43.7 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.8077, allocations: 47.61 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8077, allocations: 4 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.8077, allocations: 0 / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8077, allocations: 0 / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.8099, allocations: 0.7187 MB / 1.284 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8099, allocations: 4 kB / 1.284 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.8099, allocations: 7.984 kB / 1.284 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8099, allocations: 0 / 1.284 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.81, allocations: 15.98 kB / 1.284 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.81, allocations: 4 kB / 1.284 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.81, allocations: 0 / 1.284 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.8116, allocations: 475.4 kB / 1.285 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.8119, allocations: 137.5 kB / 1.285 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.812, allocations: 12 kB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.8124, allocations: 31.97 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.8125, allocations: 7.969 kB / 1.285 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.8125, allocations: 63.92 kB / 1.285 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003152/0.8128, allocations: 299.1 kB / 1.285 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8128, allocations: 0 / 1.285 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003801/0.8132, allocations: 63.98 kB / 1.285 GB, free: 8.43 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.0001499/0.8134, allocations: 113.5 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.8146, allocations: 411.7 kB / 1.286 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8146, allocations: 0 / 1.286 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.8154, allocations: 115.8 kB / 1.286 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.8157, allocations: 29.58 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.8172, allocations: 0.5554 MB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.8176, allocations: 0.7708 MB / 1.287 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.38e-05/0.8176, allocations: 13.08 kB / 1.287 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.8177, allocations: 11.44 kB / 1.287 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8177, allocations: 4 kB / 1.287 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of Templates: time 0.00938/0.8271, allocations: 5.107 MB / 1.292 GB, free: 1.117 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 -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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.667608392424881]