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.001928/0.001928, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002901/0.002901, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.77/2.77, allocations: 476.8 MB / 0.7714 GB, free: 4.281 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.00204/0.00204, allocations: 68.8 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003093/0.3015, allocations: 1.555 MB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3028, allocations: 0.5495 MB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.3029, allocations: 0 / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.897e-05/0.303, allocations: 7.875 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.3031, allocations: 31.84 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.304, allocations: 316.1 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00058/0.3045, allocations: 487.4 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.3046, allocations: 15.86 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.305, allocations: 275.7 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.3054, allocations: 147.7 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.3054, allocations: 28 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.3055, allocations: 28 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3057, allocations: 115.6 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.3058, allocations: 183.1 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.3063, allocations: 426.4 kB / 1.289 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3063, allocations: 4 kB / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3063, allocations: 0 / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.3063, allocations: 0 / 1.289 GB, free: 7.137 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.001346/0.3077, allocations: 0.8028 MB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3077, allocations: 12.03 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3078, allocations: 52.7 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.3083, allocations: 260.7 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.3083, allocations: 16.36 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/0.3084, allocations: 24.38 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.3094, allocations: 214 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3094, allocations: 4.125 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.3094, allocations: 11.94 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3094, allocations: 4 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.3101, allocations: 91.92 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.3106, allocations: 364.3 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.3115, allocations: 166.5 kB / 1.291 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006973/0.3122, allocations: 100.8 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3122, allocations: 4 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009409/0.3132, allocations: 227.1 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3132, allocations: 0 / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002393/0.3156, allocations: 488 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.3156, allocations: 67.38 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.3161, allocations: 409.9 kB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.3162, allocations: 41.69 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.3163, allocations: 97.39 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.3164, allocations: 47.62 kB / 1.292 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.3166, allocations: 129.4 kB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3167, allocations: 322.8 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.317, allocations: 115.9 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.3173, allocations: 175.1 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.3177, allocations: 267.7 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3177, allocations: 8 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008251/0.3185, allocations: 492.6 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.927e-05/0.3186, allocations: 97.17 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3186, allocations: 4 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3186, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.3188, allocations: 27.92 kB / 1.294 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3188, allocations: 4 kB / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.3193, allocations: 56.03 kB / 1.294 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.3194, allocations: 63.97 kB / 1.294 GB, free: 1.668 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.0002574/0.3196, allocations: 193.7 kB / 1.294 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.3197, allocations: 43.66 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.3197, allocations: 39.69 kB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3198, allocations: 4 kB / 1.294 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3198, allocations: 7.984 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3198, allocations: 4 kB / 1.294 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3219, allocations: 0.7122 MB / 1.295 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3219, allocations: 0 / 1.295 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.322, allocations: 11.94 kB / 1.295 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.322, allocations: 0 / 1.295 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.322, allocations: 19.97 kB / 1.295 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.322, allocations: 0 / 1.295 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.322, allocations: 0 / 1.295 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.3236, allocations: 486.3 kB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.324, allocations: 129.8 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.324, allocations: 8 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.3245, allocations: 31.97 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3246, allocations: 7.984 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/0.3246, allocations: 55.97 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000337/0.325, allocations: 303.1 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.325, allocations: 0 / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004115/0.3254, allocations: 67.98 kB / 1.296 GB, free: 15.5 MB / 0.9981 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.0001845/0.3256, allocations: 121.4 kB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.3268, allocations: 410.7 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3268, allocations: 4 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006984/0.3275, allocations: 103.9 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3279, allocations: 37.31 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3294, allocations: 0.5882 MB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.3299, allocations: 0.7747 MB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.3299, allocations: 19.42 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of SimCode: time 1.303e-06/0.3299, allocations: 0 / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.006595/0.3365, allocations: 3.719 MB / 1.301 GB, free: 9.59 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/jenkins1/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: 12.957033861021046]